Application peer oxygen route key 67/71067/2
authorTomas Markovic <tomas.markovic@pantheon.tech>
Wed, 18 Apr 2018 05:55:52 +0000 (07:55 +0200)
committerLuis Gomez <ecelgp@gmail.com>
Wed, 18 Apr 2018 16:14:37 +0000 (16:14 +0000)
Output was the same for both oxygen,
and fluorine versions.

Add fluorine output and change the default
output to match oxygen values.

Change-Id: Ic71a05a3d4e094f00b88adcae23ac027c202da17
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
csit/variables/bgpfunctional/bgppolicies/app_peer_rib.fluorine/data.json [new file with mode: 0644]
csit/variables/bgpfunctional/bgppolicies/app_peer_rib.fluorine/location.uri [new file with mode: 0644]
csit/variables/bgpfunctional/bgppolicies/app_peer_rib/data.json

diff --git a/csit/variables/bgpfunctional/bgppolicies/app_peer_rib.fluorine/data.json b/csit/variables/bgpfunctional/bgppolicies/app_peer_rib.fluorine/data.json
new file mode 100644 (file)
index 0000000..2145c18
--- /dev/null
@@ -0,0 +1,23 @@
+{
+    "bgp-inet:ipv4-routes": {
+        "ipv4-route": [
+            {
+                "attributes": {
+                    "as-path": {},
+                    "ipv4-next-hop": {
+                        "global": "10.11.1.1"
+                    },
+                    "local-pref": {
+                        "pref": 100
+                    },
+                    "origin": {
+                        "value": "igp"
+                    }
+                },
+                "path-id": 0,
+                "prefix": "10.0.0.17/32",
+                "route-key": "10.0.0.17/32"
+            }
+        ]
+    }
+}
diff --git a/csit/variables/bgpfunctional/bgppolicies/app_peer_rib.fluorine/location.uri b/csit/variables/bgpfunctional/bgppolicies/app_peer_rib.fluorine/location.uri
new file mode 100644 (file)
index 0000000..d60fc01
--- /dev/null
@@ -0,0 +1 @@
+restconf/config/bgp-rib:application-rib/$IP/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes
index 2145c18604d9e00f238fcf488d214ad53e180b3a..be247f1a10167b4c768692569cbd54903d63c812 100644 (file)
@@ -15,8 +15,7 @@
                     }
                 },
                 "path-id": 0,
-                "prefix": "10.0.0.17/32",
-                "route-key": "10.0.0.17/32"
+                "prefix": "10.0.0.17/32"
             }
         ]
     }