Multipath route-key config 71/70771/4
authorTomas Markovic <tomas.markovic@pantheon.tech>
Wed, 11 Apr 2018 11:10:20 +0000 (13:10 +0200)
committerLuis Gomez <ecelgp@gmail.com>
Fri, 13 Apr 2018 19:05:27 +0000 (19:05 +0000)
Addition of mandatory fluorine
argument, but invalid for old
versions of odl, as ipv4/6 and linkstate
route-key is not supported.

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

diff --git a/csit/variables/bgpfunctional/multipaths/route.fluorine/location.uri b/csit/variables/bgpfunctional/multipaths/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/multipaths/route.fluorine/post_data.xml b/csit/variables/bgpfunctional/multipaths/route.fluorine/post_data.xml
new file mode 100644 (file)
index 0000000..6174082
--- /dev/null
@@ -0,0 +1,26 @@
+  <ipv4-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-inet">
+   <prefix>1.1.1.1/32</prefix>
+   <path-id>$PATHID</path-id>
+   <route-key>1.1.1.1/32</route-key>
+   <attributes>
+    <ipv4-next-hop>
+     <global>$NEXTHOP</global>
+    </ipv4-next-hop>
+    <as-path/>
+    <multi-exit-disc>
+     <med>0</med>
+    </multi-exit-disc>
+    <local-pref>
+     <pref>$LOCALPREF</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>