Route refresh config update 12/70712/4
authorTomas Markovic <tomas.markovic@pantheon.tech>
Tue, 10 Apr 2018 12:14:21 +0000 (14:14 +0200)
committerLuis Gomez <ecelgp@gmail.com>
Fri, 13 Apr 2018 19:05:04 +0000 (19:05 +0000)
Route-key parameter is now mandatory
when sending routes to bgp on fluorine.

Change-Id: I98ceb2dea7513bf883280ebeb994acfa09415375
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
csit/variables/bgpfunctional/route_refresh/route.fluorine/location.uri [new file with mode: 0644]
csit/variables/bgpfunctional/route_refresh/route.fluorine/post_data.xml [new file with mode: 0644]

diff --git a/csit/variables/bgpfunctional/route_refresh/route.fluorine/location.uri b/csit/variables/bgpfunctional/route_refresh/route.fluorine/location.uri
new file mode 100644 (file)
index 0000000..778b65c
--- /dev/null
@@ -0,0 +1 @@
+/restconf/config/bgp-rib:application-rib/$APP_RIB/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/
diff --git a/csit/variables/bgpfunctional/route_refresh/route.fluorine/post_data.xml b/csit/variables/bgpfunctional/route_refresh/route.fluorine/post_data.xml
new file mode 100644 (file)
index 0000000..b581352
--- /dev/null
@@ -0,0 +1,26 @@
+  <ipv4-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-inet">
+   <prefix>$PREFIX</prefix>
+   <path-id>0</path-id>
+   <route-key>$PREFIX</route-key>
+   <attributes>
+    <ipv4-next-hop>
+     <global>199.20.160.41</global>
+    </ipv4-next-hop>
+    <as-path/>
+    <multi-exit-disc>
+     <med>0</med>
+    </multi-exit-disc>
+    <local-pref>
+     <pref>100</pref>
+    </local-pref>
+    <originator-id>
+     <originator>41.41.41.41</originator>
+    </originator-id>
+    <origin>
+     <value>igp</value>
+    </origin>
+    <cluster-id>
+     <cluster>40.40.40.40</cluster>
+    </cluster-id>
+   </attributes>
+  </ipv4-route>