Commit 2017d413 authored by piscione's avatar piscione
Browse files

Fixes on examples.

parent 8a59a1ae
Loading
Loading
Loading
Loading
Loading
+33 −16
Original line number Original line Diff line number Diff line
@@ -104,10 +104,18 @@
                          }
                          }
                        ],
                        ],
                        "action": "FORWARD_DECAPSULATED",
                        "action": "FORWARD_DECAPSULATED",
                        "dstInterface": {
                        "dstInterface": [
                          {
                            "dstInterface0": null,
                            "interfaceType": "IP",
                            "interfaceType": "IP",
                            "dstIpAddress": "20.1.1.1"
                            "dstIpAddress": "20.1.1.1"
                          },
                          },
                          {
                            "dstInterface1": null,
                            "interfaceType": "IP",
                            "dstIpAddress": "20.1.1.2"
                          }
                        ],
                        "state": "ACTIVE"
                        "state": "ACTIVE"
                      }
                      }
                    ]
                    ]
@@ -137,10 +145,13 @@
                          }
                          }
                        ],
                        ],
                        "action": "FORWARD_DECAPSULATED",
                        "action": "FORWARD_DECAPSULATED",
                        "dstInterface": {
                        "dstInterface": [
                          {
                            "dstInterface0": null,
                            "interfaceType": "IP",
                            "interfaceType": "IP",
                            "dstIpAddress": "20.1.1.1"
                            "dstIpAddress": "20.1.1.1"
                        },
                          }
                        ],
                        "state": "ACTIVE"
                        "state": "ACTIVE"
                      }
                      }
                    ]
                    ]
@@ -261,10 +272,13 @@
                        }
                        }
                      ],
                      ],
                      "action": "FORWARD_DECAPSULATED",
                      "action": "FORWARD_DECAPSULATED",
                      "dstInterface": {
                      "dstInterface": [
                        {
                          "dstInterface0": null,
                          "interfaceType": "IP",
                          "interfaceType": "IP",
                          "dstIpAddress": "20.1.1.1"
                          "dstIpAddress": "20.1.1.1"
                      },
                        }
                      ],
                      "state": "ACTIVE"
                      "state": "ACTIVE"
                    }
                    }
                  }
                  }
@@ -392,10 +406,13 @@
                        }
                        }
                      ],
                      ],
                      "action": "FORWARD_DECAPSULATED",
                      "action": "FORWARD_DECAPSULATED",
                      "dstInterface": {
                      "dstInterface": [
                        {
                          "dstInterface0": null,
                          "interfaceType": "IP",
                          "interfaceType": "IP",
                          "dstIpAddress": "20.1.1.1"
                          "dstIpAddress": "20.1.1.1"
                      },
                        }
                      ],
                      "state": "ACTIVE"
                      "state": "ACTIVE"
                    }
                    }
                  }
                  }
+15 −8
Original line number Original line Diff line number Diff line
@@ -66,8 +66,12 @@ paths:
                      - '80'
                      - '80'
                    action: FORWARD_DECAPSULATED
                    action: FORWARD_DECAPSULATED
                    dstInterface:
                    dstInterface:
                      - dstInterface0:
                        interfaceType: IP
                        interfaceType: IP
                        dstIpAddress: 20.1.1.1
                        dstIpAddress: 20.1.1.1
                      - dstInterface1:
                        interfaceType: IP
                        dstIpAddress: 20.1.1.2
                    state: ACTIVE
                    state: ACTIVE
                contentMediaType: application/json
                contentMediaType: application/json
              examples:
              examples:
@@ -87,6 +91,7 @@ paths:
                      - '80'
                      - '80'
                    action: FORWARD_DECAPSULATED
                    action: FORWARD_DECAPSULATED
                    dstInterface:
                    dstInterface:
                      - dstInterface0:
                        interfaceType: IP
                        interfaceType: IP
                        dstIpAddress: 20.1.1.1
                        dstIpAddress: 20.1.1.1
                    state: ACTIVE
                    state: ACTIVE
@@ -170,6 +175,7 @@ paths:
                      - '80'
                      - '80'
                    action: FORWARD_DECAPSULATED
                    action: FORWARD_DECAPSULATED
                    dstInterface:
                    dstInterface:
                      - dstInterface0:
                        interfaceType: IP
                        interfaceType: IP
                        dstIpAddress: 20.1.1.1
                        dstIpAddress: 20.1.1.1
                    state: ACTIVE
                    state: ACTIVE
@@ -258,6 +264,7 @@ paths:
                      - '80'
                      - '80'
                    action: FORWARD_DECAPSULATED
                    action: FORWARD_DECAPSULATED
                    dstInterface:
                    dstInterface:
                      - dstInterface0:
                        interfaceType: IP
                        interfaceType: IP
                        dstIpAddress: 20.1.1.1
                        dstIpAddress: 20.1.1.1
                    state: ACTIVE
                    state: ACTIVE