rfc8960v2.txt | rfc8960.txt | |||
---|---|---|---|---|
skipping to change at line 1052 ¶ | skipping to change at line 1052 ¶ | |||
January 2015, <https://www.rfc-editor.org/info/rfc7424>. | January 2015, <https://www.rfc-editor.org/info/rfc7424>. | |||
[RFC7951] Lhotka, L., "JSON Encoding of Data Modeled with YANG", | [RFC7951] Lhotka, L., "JSON Encoding of Data Modeled with YANG", | |||
RFC 7951, DOI 10.17487/RFC7951, August 2016, | RFC 7951, DOI 10.17487/RFC7951, August 2016, | |||
<https://www.rfc-editor.org/info/rfc7951>. | <https://www.rfc-editor.org/info/rfc7951>. | |||
Appendix A. Data Tree Instance Example | Appendix A. Data Tree Instance Example | |||
A simple network setup is shown in Figure 5. R1 runs the IS-IS | A simple network setup is shown in Figure 5. R1 runs the IS-IS | |||
routing protocol and learns about the reachability of two IPv4 | routing protocol and learns about the reachability of two IPv4 | |||
prefixes (P1: 198.51.100.1/32 and P2: 198.51.100.1/32) and two IPv6 | prefixes (P1: 198.51.100.1/32 and P2: 198.51.100.2/32) and two IPv6 | |||
prefixes (P3: 2001:db8:0:10::1/64 and P4: 2001:db8:0:10::1/64). We | prefixes (P3: 2001:db8:0:10::1/128 and P4: 2001:db8:0:10::2/128). We | |||
also assume that R1 learns about local and remote MPLS label bindings | also assume that R1 learns about local and remote MPLS label bindings | |||
for each prefix using IS-IS (e.g., using Segment Routing (SR) | for each prefix using IS-IS (e.g., using Segment Routing (SR) | |||
extensions). | extensions). | |||
State on R1: | State on R1: | |||
============ | ============ | |||
IPv4 Prefix MPLS Label | IPv4 Prefix MPLS Label | |||
P1: 198.51.100.1/32 16001 | P1: 198.51.100.1/32 16001 | |||
P2: 198.51.100.2/32 16002 | P2: 198.51.100.2/32 16002 | |||
IPv6 Prefix MPLS Label | IPv6 Prefix MPLS Label | |||
P3: 2001:db8:0:10::1/64 16003 | P3: 2001:db8:0:10::1/128 16003 | |||
P4: 2001:db8:0:10::2/64 16004 | P4: 2001:db8:0:10::2/128 16004 | |||
RSVP MPLS LSPv4-Tunnel: | RSVP MPLS LSPv4-Tunnel: | |||
Source: 198.51.100.3 | Source: 198.51.100.3 | |||
Destination: 198.51.100.4 | Destination: 198.51.100.4 | |||
Tunnel-ID: 10 | Tunnel-ID: 10 | |||
LSP-ID: 1 | LSP-ID: 1 | |||
192.0.2.5/30 | 192.0.2.5/30 | |||
2001:db8:0:1::1/64 | 2001:db8:0:1::1/64 | |||
eth0 | eth0 | |||
+--- | +--- | |||
skipping to change at line 1117 ¶ | skipping to change at line 1117 ¶ | |||
{ | { | |||
"id":1, | "id":1, | |||
"label":16001, | "label":16001, | |||
"ttl":255 | "ttl":255 | |||
} | } | |||
] | ] | |||
}, | }, | |||
"ietf-ipv4-unicast-routing:next-hop-address": | "ietf-ipv4-unicast-routing:next-hop-address": | |||
"192.0.2.5" | "192.0.2.5" | |||
}, | }, | |||
"source-protocol":"isis:isis", | "source-protocol":"ietf-isis:isis", | |||
"ietf-mpls:mpls-enabled":true, | "ietf-mpls:mpls-enabled":true, | |||
"ietf-mpls:mpls-local-label":16001, | "ietf-mpls:mpls-local-label":16001, | |||
"ietf-ipv4-unicast-routing:destination-prefix": | "ietf-ipv4-unicast-routing:destination-prefix": | |||
"198.51.100.1/32", | "198.51.100.1/32", | |||
"ietf-mpls:route-context":"SID-IDX:1" | "ietf-mpls:route-context":"SID-IDX:1" | |||
}, | }, | |||
{ | { | |||
"next-hop":{ | "next-hop":{ | |||
"next-hop-list":{ | "next-hop-list":{ | |||
"next-hop":[ | "next-hop":[ | |||
skipping to change at line 1165 ¶ | skipping to change at line 1165 ¶ | |||
"ttl":255 | "ttl":255 | |||
} | } | |||
] | ] | |||
}, | }, | |||
"ietf-ipv4-unicast-routing:address": | "ietf-ipv4-unicast-routing:address": | |||
"192.0.2.13" | "192.0.2.13" | |||
} | } | |||
] | ] | |||
} | } | |||
}, | }, | |||
"source-protocol":"isis:isis", | "source-protocol":"ietf-isis:isis", | |||
"ietf-mpls:mpls-enabled":true, | "ietf-mpls:mpls-enabled":true, | |||
"ietf-mpls:mpls-local-label":16002, | "ietf-mpls:mpls-local-label":16002, | |||
"ietf-ipv4-unicast-routing:destination-prefix": | "ietf-ipv4-unicast-routing:destination-prefix": | |||
"198.51.100.2/32", | "198.51.100.2/32", | |||
"ietf-mpls:route-context":"SID-IDX:2" | "ietf-mpls:route-context":"SID-IDX:2" | |||
} | } | |||
] | ] | |||
} | } | |||
}, | }, | |||
{ | { | |||
skipping to change at line 1196 ¶ | skipping to change at line 1196 ¶ | |||
{ | { | |||
"id":1, | "id":1, | |||
"label":16003, | "label":16003, | |||
"ttl":255 | "ttl":255 | |||
} | } | |||
] | ] | |||
}, | }, | |||
"ietf-ipv6-unicast-routing:next-hop-address": | "ietf-ipv6-unicast-routing:next-hop-address": | |||
"2001:db8:0:1::1" | "2001:db8:0:1::1" | |||
}, | }, | |||
"source-protocol":"isis:isis", | "source-protocol":"ietf-isis:isis", | |||
"ietf-mpls:mpls-enabled":true, | "ietf-mpls:mpls-enabled":true, | |||
"ietf-mpls:mpls-local-label":16001, | "ietf-mpls:mpls-local-label":16003, | |||
"ietf-ipv6-unicast-routing:destination-prefix": | "ietf-ipv6-unicast-routing:destination-prefix": | |||
"2001:db8:0:10::1/6", | "2001:db8:0:10::1/128", | |||
"ietf-mpls:route-context":"SID-IDX:1" | "ietf-mpls:route-context":"SID-IDX:3" | |||
}, | }, | |||
{ | { | |||
"next-hop":{ | "next-hop":{ | |||
"next-hop-list":{ | "next-hop-list":{ | |||
"next-hop":[ | "next-hop":[ | |||
{ | { | |||
"outgoing-interface":"eth0", | "outgoing-interface":"eth0", | |||
"ietf-mpls:index":"1", | "ietf-mpls:index":"1", | |||
"ietf-mpls:backup-index":"2", | "ietf-mpls:backup-index":"2", | |||
"ietf-mpls:role":"primary-and-backup", | "ietf-mpls:role":"primary-and-backup", | |||
skipping to change at line 1244 ¶ | skipping to change at line 1244 ¶ | |||
"ttl":255 | "ttl":255 | |||
} | } | |||
] | ] | |||
}, | }, | |||
"ietf-ipv6-unicast-routing:address": | "ietf-ipv6-unicast-routing:address": | |||
"2001:db8:0:2::1" | "2001:db8:0:2::1" | |||
} | } | |||
] | ] | |||
} | } | |||
}, | }, | |||
"source-protocol":"isis:isis", | "source-protocol":"ietf-isis:isis", | |||
"ietf-mpls:mpls-enabled":true, | "ietf-mpls:mpls-enabled":true, | |||
"ietf-mpls:mpls-local-label":16004, | "ietf-mpls:mpls-local-label":16004, | |||
"ietf-ipv6-unicast-routing:destination-prefix": | "ietf-ipv6-unicast-routing:destination-prefix": | |||
"2001:db8:0:10::2/64", | "2001:db8:0:10::2/128", | |||
"ietf-mpls:route-context":"SID-IDX:2" | "ietf-mpls:route-context":"SID-IDX:4" | |||
} | } | |||
] | ] | |||
} | } | |||
}, | }, | |||
{ | { | |||
"name":"RIB-MPLS", | "name":"RIB-MPLS", | |||
"address-family":"ietf-mpls:mpls:mpls", | "address-family":"ietf-mpls:mpls:mpls", | |||
"routes":{ | "routes":{ | |||
"route":[ | "route":[ | |||
{ | { | |||
skipping to change at line 1274 ¶ | skipping to change at line 1274 ¶ | |||
{ | { | |||
"id":1, | "id":1, | |||
"label":24002, | "label":24002, | |||
"ttl":255 | "ttl":255 | |||
} | } | |||
] | ] | |||
}, | }, | |||
"ietf-ipv4-unicast-routing:next-hop-address": | "ietf-ipv4-unicast-routing:next-hop-address": | |||
"192.0.2.5" | "192.0.2.5" | |||
}, | }, | |||
"source-protocol":"rsvp:rsvp", | "source-protocol":"ietf-rsvp:rsvp", | |||
"ietf-mpls:mpls-enabled":true, | "ietf-mpls:mpls-enabled":true, | |||
"ietf-mpls:mpls-local-label":24001, | "ietf-mpls:mpls-local-label":24001, | |||
"ietf-mpls:destination-prefix":"24001", | "ietf-mpls:destination-prefix":"24001", | |||
"ietf-mpls:route-context": | "ietf-mpls:route-context": | |||
"RSVP Src:198.51.100.3,Dst:198.51.100.4,T:10,L:1" | "RSVP Src:198.51.100.3,Dst:198.51.100.4,T:10,L:1" | |||
} | } | |||
} | ] | |||
} | } | |||
} | } | |||
] | ] | |||
}, | }, | |||
"ietf-mpls:mpls":{ | "ietf-mpls:mpls":{ | |||
"mpls-label-blocks":{ | "mpls-label-blocks":{ | |||
"mpls-label-block":[ | "mpls-label-block":[ | |||
{ | { | |||
"index":"mpls-srgb-label-block", | "index":"mpls-srgb-label-block", | |||
"start-label":16000, | "start-label":16000, | |||
"end-label":16500, | "end-label":16500, | |||
"block-allocation-mode": | "block-allocation-mode": | |||
"mpls:label-block-alloc-mode-manager" | "ietf-mpls:label-block-alloc-mode-manager" | |||
} | } | |||
] | ] | |||
}, | }, | |||
"interfaces":{ | "interfaces":{ | |||
"interface":[ | "interface":[ | |||
{ | { | |||
"name":"eth0", | "name":"eth0", | |||
"mpls-enabled":true, | "mpls-enabled":true, | |||
"maximum-labeled-packet":1488 | "maximum-labeled-packet":1488 | |||
}, | }, | |||
End of changes. 13 change blocks. | ||||
20 lines changed or deleted | 20 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |