From 18561adfde80d6665e24262d70d18f916e2662e5 Mon Sep 17 00:00:00 2001 From: YohanPipereau Date: Mon, 15 Jul 2019 15:37:46 +0200 Subject: vom: migration from scvpp to vom Change-Id: I79609f0bee9b8307da0d9bf704babe8ba06dba4d Signed-off-by: YohanPipereau Co-authored-by: Pavel Kotucek Co-authored-by: Andrej Kozemcak --- samples/ietf-interfaces/create-if.json | 11 +++++++++++ samples/ietf-nat/create-instance.xml | 11 +++++++++++ samples/ietf-nat/create-mapping.xml | 19 +++++++++++++++++++ samples/openconfig-interfaces/create-if.json | 13 +++++++++++++ .../openconfig-local-routing/create-prefix-entry.json | 11 +++++++++++ 5 files changed, 65 insertions(+) create mode 100644 samples/ietf-interfaces/create-if.json create mode 100644 samples/ietf-nat/create-instance.xml create mode 100644 samples/ietf-nat/create-mapping.xml create mode 100644 samples/openconfig-interfaces/create-if.json create mode 100644 samples/openconfig-local-routing/create-prefix-entry.json (limited to 'samples') diff --git a/samples/ietf-interfaces/create-if.json b/samples/ietf-interfaces/create-if.json new file mode 100644 index 0000000..02c5371 --- /dev/null +++ b/samples/ietf-interfaces/create-if.json @@ -0,0 +1,11 @@ +{ + "ietf-interfaces:interfaces": { + "interface": [ + { + "name": "GigabitEthernet0/8/0", + "type": "iana-if-type:ethernetCsmacd", + "enabled": true + } + ] + } +} diff --git a/samples/ietf-nat/create-instance.xml b/samples/ietf-nat/create-instance.xml new file mode 100644 index 0000000..e14b0dd --- /dev/null +++ b/samples/ietf-nat/create-instance.xml @@ -0,0 +1,11 @@ + + + + 1 + + 5 + + + + + diff --git a/samples/ietf-nat/create-mapping.xml b/samples/ietf-nat/create-mapping.xml new file mode 100644 index 0000000..63cfca8 --- /dev/null +++ b/samples/ietf-nat/create-mapping.xml @@ -0,0 +1,19 @@ + + + + 1 + + 5 + + + + 1 + static + 10.0.0.2/32 + 192.168.1.2/32 + + + + + + diff --git a/samples/openconfig-interfaces/create-if.json b/samples/openconfig-interfaces/create-if.json new file mode 100644 index 0000000..695c03f --- /dev/null +++ b/samples/openconfig-interfaces/create-if.json @@ -0,0 +1,13 @@ +{ + "openconfig-interfaces:interfaces": { + "interface": [ + { + "name": "GigabitEthernet0/8/0", + "config": { + "type": "iana-if-type:ethernetCsmacd", + "enabled": true + } + } + ] + } +} diff --git a/samples/openconfig-local-routing/create-prefix-entry.json b/samples/openconfig-local-routing/create-prefix-entry.json new file mode 100644 index 0000000..372c873 --- /dev/null +++ b/samples/openconfig-local-routing/create-prefix-entry.json @@ -0,0 +1,11 @@ +{ + "openconfig-local-routing:local-routes": { + "static-routes": { + "static": [ + { + "prefix": "8.0.0.0/8" + } + ] + } + } +} -- cgit 1.2.3-korg