From e0a8f0a1a816d81567504e17b784499caff7d4a0 Mon Sep 17 00:00:00 2001 From: Tomas Markovic Date: Wed, 4 Apr 2018 14:27:26 +0200 Subject: [PATCH] BGPCEP-781: Add fluorine outputs Mandatory path-id argument is now visible in policies results. Change-Id: I781e85014a99fe0c3e67f624d955aba511d2b4c9 Signed-off-by: Tomas Markovic --- .../peer_3.fluorine/data.json | 51 +++++++++++++++++ .../peer_3.fluorine/location.uri | 1 + .../peer_6.fluorine/data.json | 57 +++++++++++++++++++ .../peer_6.fluorine/location.uri | 1 + 4 files changed, 110 insertions(+) create mode 100644 csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/data.json create mode 100644 csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/location.uri create mode 100644 csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/data.json create mode 100644 csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/location.uri diff --git a/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/data.json b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/data.json new file mode 100644 index 0000000000..5e43398b19 --- /dev/null +++ b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/data.json @@ -0,0 +1,51 @@ +{ + "bgp-vpn-ipv4:vpn-ipv4-routes": { + "vpn-route": [ + { + "attributes": { + "as-path": { + "segments": [ + { + "as-sequence": [ + 35000, + 60000, + 64000 + ] + } + ] + }, + "communities": [ + { + "as-number": 64000, + "semantics": 43 + } + ], + "extended-communities": [ + { + "route-target-extended-community": { + "global-administrator": 24563, + "local-administrator": "ByNLLg==" + }, + "transitive": true + } + ], + "ipv4-next-hop": { + "global": "104.36.0.254" + }, + "origin": { + "value": "igp" + } + }, + "label-stack": [ + { + "label-value": 256 + } + ], + "path-id": 0, + "prefix": "103.36.0.0/24", + "route-distinguisher": "0:3548:478513974", + "route-key": "WAAADdwchYs2ZyQA" + } + ] + } +} diff --git a/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/location.uri b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/location.uri new file mode 100644 index 0000000000..71bbc71e96 --- /dev/null +++ b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_3.fluorine/location.uri @@ -0,0 +1 @@ +restconf/operational/bgp-rib:bgp-rib/rib/example-bgp-rib/peer/bgp:%2F%2F$IP/effective-rib-in/tables/bgp-types:ipv4-address-family/bgp-types:mpls-labeled-vpn-subsequent-address-family/bgp-vpn-ipv4:vpn-ipv4-routes diff --git a/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/data.json b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/data.json new file mode 100644 index 0000000000..0d7e9bf6c1 --- /dev/null +++ b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/data.json @@ -0,0 +1,57 @@ +{ + "bgp-vpn-ipv6:vpn-ipv6-routes": { + "vpn-route": [ + { + "attributes": { + "as-path": { + "segments": [ + { + "as-sequence": [ + 25186, + 64512, + 65000 + ] + } + ] + }, + "communities": [ + { + "as-number": 65000, + "semantics": 33 + } + ], + "extended-communities": [ + { + "route-target-extended-community": { + "global-administrator": 10283, + "local-administrator": "BPlceA==" + }, + "transitive": true + } + ], + "ipv6-next-hop": { + "global": "::ffff" + }, + "local-pref": { + "pref": 100 + }, + "origin": { + "value": "igp" + }, + "originator-id": { + "originator": "57.35.2.240" + } + }, + "label-stack": [ + { + "label-value": 926 + } + ], + "path-id": 0, + "prefix": "2001:4b50:20c0::/48", + "route-distinguisher": "0:3215:583457597", + "route-key": "cAAADI8ixts9IAFLUCDA" + } + ] + } +} diff --git a/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/location.uri b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/location.uri new file mode 100644 index 0000000000..528a0d7eb0 --- /dev/null +++ b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_6.fluorine/location.uri @@ -0,0 +1 @@ +restconf/operational/bgp-rib:bgp-rib/rib/example-bgp-rib/peer/bgp:%2F%2F$IP/effective-rib-in/tables/bgp-types:ipv6-address-family/bgp-types:mpls-labeled-vpn-subsequent-address-family/bgp-vpn-ipv6:vpn-ipv6-routes -- 2.36.6