From c9d182f7da2b1018d14eac72fc4b1921d03f400b Mon Sep 17 00:00:00 2001 From: italobusi Date: Thu, 16 Oct 2025 14:25:24 +0200 Subject: [PATCH 1/2] Removed temporary file --- te-json-examples/json/prova.json | 62 -------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 te-json-examples/json/prova.json diff --git a/te-json-examples/json/prova.json b/te-json-examples/json/prova.json deleted file mode 100644 index 6ced97a..0000000 --- a/te-json-examples/json/prova.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "tunnel": [ - { - "name": "Example_LSP_Tunnel_A_2", - "admin-state": "ietf-te-types:tunnel-admin-state-up", - "encoding": "ietf-te-types:lsp-encoding-packet", - "source": { - "te-node-id": "192.0.2.1" - }, - "destination": { - "te-node-id": "192.0.2.4" - }, - "bidirectional": false, - "signaling-type": "ietf-te-types:path-setup-rsvp", - "primary-paths": { - "primary-path": [ - { - "name": "path1", - "path-computation-method": "ietf-te-types:path-locally-computed", - "path-scope": "ietf-te-types:path-scope-end-to-end", - "computed-paths-properties": { - "computed-path-properties": [ - { - "k-index": 1, - "path-properties": { - "path-route-objects": { - "path-route-object": [ - { - "index": 1, - "numbered-node-hop": { - "node-id": "192.0.2.2", - "hop-type": "strict" - } - }, - { - "index": 2, - "numbered-node-hop": { - "node-id": "192.0.2.4", - "hop-type": "strict" - } - } - ] - } - } - } - ] - }, - "lsps": { - "lsp": [ - { - "node": "192.0.2.1", - "lsp-id": 25356, - "tunnel-name": "Example_LSP_Tunnel_A_4_1" - } - ] - } - } - ] - } - } - ] -} From 5f4d5de3e241745f60f29118ba7c46f1bf187929 Mon Sep 17 00:00:00 2001 From: italobusi Date: Thu, 16 Oct 2025 14:46:52 +0200 Subject: [PATCH 2/2] Fixed JSON examples Removed path-scope from configuration data since it is a state-only attribute --- ...idual-path-constraints-tunnel-example.json | 1 - .../multi-domain-tunnel-example.json | 19 --------------- .../multi-paths-tunnel-example.json | 23 ++----------------- ...named-path-constraints-tunnel-example.json | 1 - 4 files changed, 2 insertions(+), 42 deletions(-) diff --git a/te-json-examples/individual-path-constraints-tunnel-example.json b/te-json-examples/individual-path-constraints-tunnel-example.json index 2926073..b699053 100644 --- a/te-json-examples/individual-path-constraints-tunnel-example.json +++ b/te-json-examples/individual-path-constraints-tunnel-example.json @@ -16,7 +16,6 @@ "primary-path": [ { "name": "path1", - "path-scope": "ietf-te-types:path-scope-end-to-end", "path-metric-bounds": { "path-metric-bound": [ { diff --git a/te-json-examples/multi-domain-tunnel-example.json b/te-json-examples/multi-domain-tunnel-example.json index 736c005..b1cbb4f 100644 --- a/te-json-examples/multi-domain-tunnel-example.json +++ b/te-json-examples/multi-domain-tunnel-example.json @@ -15,7 +15,6 @@ "primary-path": [ { "name": "primary-path-1", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": true, "explicit-route-objects": { "route-object-include-exclude": [ @@ -28,9 +27,6 @@ } ] }, - "primary-reverse-path": { - "path-scope": "ietf-te-types:path-scope-end-to-end" - }, "candidate-secondary-paths": { "candidate-secondary-path": [ { @@ -45,7 +41,6 @@ "secondary-path": [ { "name": "secondary-path-1", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -71,7 +66,6 @@ "primary-path": [ { "name": "primary-path-2", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": true, "explicit-route-objects": { "route-object-include-exclude": [ @@ -90,9 +84,6 @@ } } ] - }, - "primary-reverse-path": { - "path-scope": "ietf-te-types:path-scope-end-to-end" } } ] @@ -108,11 +99,7 @@ "primary-path": [ { "name": "primary-path-4", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": true, - "primary-reverse-path": { - "path-scope": "ietf-te-types:path-scope-end-to-end" - }, "candidate-secondary-paths": { "candidate-secondary-path": [ { @@ -127,7 +114,6 @@ "secondary-path": [ { "name": "secondary-path-4", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -163,7 +149,6 @@ "primary-path": [ { "name": "primary-path-3", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": true, "explicit-route-objects": { "route-object-include-exclude": [ @@ -176,9 +161,6 @@ } ] }, - "primary-reverse-path": { - "path-scope": "ietf-te-types:path-scope-end-to-end" - }, "candidate-secondary-paths": { "candidate-secondary-path": [ { @@ -193,7 +175,6 @@ "secondary-path": [ { "name": "secondary-path-3", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { diff --git a/te-json-examples/multi-paths-tunnel-example.json b/te-json-examples/multi-paths-tunnel-example.json index 54e3e8b..161ad58 100644 --- a/te-json-examples/multi-paths-tunnel-example.json +++ b/te-json-examples/multi-paths-tunnel-example.json @@ -16,7 +16,6 @@ "primary-path": [ { "name": "primary-1 (fwd)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": false, "explicit-route-objects": { "route-object-include-exclude": [ @@ -32,7 +31,6 @@ }, "primary-reverse-path": { "name": "primary-2 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -76,7 +74,6 @@ "secondary-path": [ { "name": "secondary-1 (fwd)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -98,7 +95,6 @@ }, { "name": "secondary-2 (fwd)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -124,7 +120,6 @@ "secondary-reverse-path": [ { "name": "secondary-3 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -146,7 +141,6 @@ }, { "name": "secondary-4 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -168,7 +162,6 @@ }, { "name": "secondary-5 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -205,7 +198,6 @@ "primary-path": [ { "name": "primary-1 (bidir)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": true, "explicit-route-objects": { "route-object-include-exclude": [ @@ -219,9 +211,6 @@ } ] }, - "primary-reverse-path": { - "path-scope": "ietf-te-types:path-scope-end-to-end" - }, "candidate-secondary-paths": { "candidate-secondary-path": [ { @@ -239,7 +228,6 @@ "secondary-path": [ { "name": "secondary-1 (bidir)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -261,7 +249,6 @@ }, { "name": "secondary-2 (bidir)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -298,7 +285,6 @@ "primary-path": [ { "name": "primary-1 (fwd)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "co-routed": true, "explicit-route-objects": { "route-object-include-exclude": [ @@ -314,7 +300,6 @@ }, "primary-reverse-path": { "name": "primary-2 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "candidate-secondary-reverse-paths": { "candidate-secondary-reverse-path": [ { @@ -343,7 +328,6 @@ "secondary-path": [ { "name": "secondary-1 (fwd)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -365,7 +349,6 @@ }, { "name": "secondary-2 (fwd)", - "path-scope": "ietf-te-types:path-scope-end-to-end", "explicit-route-objects": { "route-object-include-exclude": [ { @@ -390,12 +373,10 @@ "secondary-reverse-paths": { "secondary-reverse-path": [ { - "name": "secondary-3 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end" + "name": "secondary-3 (rev)" }, { - "name": "secondary-4 (rev)", - "path-scope": "ietf-te-types:path-scope-end-to-end" + "name": "secondary-4 (rev)" } ] } diff --git a/te-json-examples/named-path-constraints-tunnel-example.json b/te-json-examples/named-path-constraints-tunnel-example.json index d874739..f7a68cb 100644 --- a/te-json-examples/named-path-constraints-tunnel-example.json +++ b/te-json-examples/named-path-constraints-tunnel-example.json @@ -17,7 +17,6 @@ { "name": "Simple_LSP_1", "use-path-computation": true, - "path-scope": "ietf-te-types:path-scope-end-to-end", "named-path-constraint": "max-hop-3" } ]