Mandatory fluorine argument.
Change-Id: I52f31b7170d6748b44b32030678e4b32da9189aa
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
}
},
"path-id": 0,
- "prefix": "10.0.0.17/32"
+ "prefix": "10.0.0.17/32",
+ "route-key": "10.0.0.17/32"
}
]
}
--- /dev/null
+restconf/config/bgp-rib:application-rib/$IP/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes
--- /dev/null
+<ipv4-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-inet">
+ <path-id>0</path-id>
+ <prefix>10.0.0.17/32</prefix>
+ <route-key>10.0.0.17/32</route-key>
+ <attributes>
+ <as-path/>
+ <origin>
+ <value>igp</value>
+ </origin>
+ <local-pref>
+ <pref>100</pref>
+ </local-pref>
+ <ipv4-next-hop>
+ <global>10.11.1.1</global>
+ </ipv4-next-hop>
+ </attributes>
+</ipv4-route>
<path-id>0</path-id>
<prefix>10.0.0.17/32</prefix>
<attributes>
- <as-path></as-path>
+ <as-path/>
<origin>
<value>igp</value>
</origin>
--- /dev/null
+{
+ "bgp-inet:ipv4-routes": {
+ "ipv4-route": [
+ {
+ "attributes": {
+ "as-path": {},
+ "communities": [
+ {
+ "as-number": 30741,
+ "semantics": 0
+ },
+ {
+ "as-number": 30741,
+ "semantics": 30741
+ }
+ ],
+ "ipv4-next-hop": {
+ "global": "11.0.255.254"
+ },
+ "local-pref": {
+ "pref": 100
+ },
+ "origin": {
+ "value": "igp"
+ }
+ },
+ "path-id": 0,
+ "prefix": "1.1.1.0/24",
+ "route-key": "1.1.1.0/24"
+ }
+ ]
+ }
+}
--- /dev/null
+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
--- /dev/null
+{
+ "bgp-inet:ipv4-routes": {
+ "ipv4-route": [
+ {
+ "attributes": {
+ "as-path": {},
+ "ipv4-next-hop": {
+ "global": "12.0.255.254"
+ },
+ "local-pref": {
+ "pref": 100
+ },
+ "origin": {
+ "value": "igp"
+ }
+ },
+ "path-id": 0,
+ "prefix": "2.1.1.0/24",
+ "route-key": "2.1.1.0/24"
+ },
+ {
+ "attributes": {
+ "as-path": {},
+ "ipv4-next-hop": {
+ "global": "12.1.255.254"
+ },
+ "local-pref": {
+ "pref": 100
+ },
+ "origin": {
+ "value": "igp"
+ }
+ },
+ "path-id": 0,
+ "prefix": "2.2.1.0/24",
+ "route-key": "2.2.1.0/24"
+ },
+ {
+ "attributes": {
+ "as-path": {},
+ "ipv4-next-hop": {
+ "global": "12.3.255.254"
+ },
+ "local-pref": {
+ "pref": 100
+ },
+ "origin": {
+ "value": "igp"
+ }
+ },
+ "path-id": 0,
+ "prefix": "2.3.1.0/24",
+ "route-key": "2.3.1.0/24"
+ }
+ ]
+ }
+}
--- /dev/null
+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
}
},
"path-id": 0,
- "prefix": "4.1.1.0/24"
+ "prefix": "4.1.1.0/24",
+ "route-key": "4.1.1.0/24"
}
]
}
--- /dev/null
+{
+ "bgp-inet:ipv4-routes": {
+ "ipv4-route": [
+ {
+ "attributes": {
+ "as-path": {},
+ "extended-communities": [
+ {
+ "route-target-extended-community": {
+ "global-administrator": 31740,
+ "local-administrator": "AAB7/A=="
+ },
+ "transitive": true
+ }
+ ],
+ "ipv4-next-hop": {
+ "global": "15.0.255.254"
+ },
+ "local-pref": {
+ "pref": 100
+ },
+ "origin": {
+ "value": "igp"
+ }
+ },
+ "path-id": 0,
+ "prefix": "5.1.1.0/24",
+ "route-key": "5.1.1.0/24"
+ }
+ ]
+ }
+}
--- /dev/null
+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