From 952ea1bd54b46711c2780bb0df4996648515e637 Mon Sep 17 00:00:00 2001 From: Tomas Markovic Date: Fri, 6 Apr 2018 09:35:52 +0200 Subject: [PATCH] Bgp policy add AS number Due to developement on fluorine, we add this Autonomous System number to output of odl. Change-Id: If7cadf1f7f281d5fe9b0305f06e36bba49433e03 Signed-off-by: Tomas Markovic --- .../peer_3.fluorine/data.json | 3 +- .../peer_4.fluorine/data.json | 37 +++++++++++++++++++ .../peer_4.fluorine/location.uri | 1 + 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.fluorine/data.json create mode 100644 csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.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 index 5e43398b19..4cdf51d550 100644 --- 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 @@ -9,7 +9,8 @@ "as-sequence": [ 35000, 60000, - 64000 + 64000, + 64496 ] } ] diff --git a/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.fluorine/data.json b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.fluorine/data.json new file mode 100644 index 0000000000..fd1483a32d --- /dev/null +++ b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.fluorine/data.json @@ -0,0 +1,37 @@ +{ + "bgp-inet:ipv4-routes": { + "ipv4-route": [ + { + "attributes": { + "as-path": { + "segments": [ + { + "as-sequence": [ + 64496 + ] + } + ] + }, + "communities": [ + { + "as-number": 30740, + "semantics": 0 + }, + { + "as-number": 30740, + "semantics": 30740 + } + ], + "ipv4-next-hop": { + "global": "14.0.255.254" + }, + "origin": { + "value": "igp" + } + }, + "path-id": 0, + "prefix": "4.1.1.0/24" + } + ] + } +} diff --git a/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.fluorine/location.uri b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.fluorine/location.uri new file mode 100644 index 0000000000..16928e529f --- /dev/null +++ b/csit/variables/bgpfunctional/bgppolicies/effective_rib_in/peer_4.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:unicast-subsequent-address-family/bgp-inet:ipv4-routes -- 2.36.6