aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-06-06 12:16:12 +0000
committerPeter Mikus <pmikus@cisco.com>2019-06-09 05:42:14 +0000
commit233eeb3e9c9fb8d3c300d745fab8112a19d981db (patch)
treef771db4a828ab45ec2843c8bd7fa199e902724fe /resources/templates
parent80e06faea73f1574cdb932c25211162121fabd26 (diff)
CSIT-1521 Convert NestedVM testcase into KernelVM
Change-Id: Ic493253dc29dad4fc7e6541e4b839ca5898a6a40 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vm/vpp_chain_ip4_noarp.exec10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/templates/vm/vpp_chain_ip4_noarp.exec b/resources/templates/vm/vpp_chain_ip4_noarp.exec
new file mode 100644
index 0000000000..80e9cd8643
--- /dev/null
+++ b/resources/templates/vm/vpp_chain_ip4_noarp.exec
@@ -0,0 +1,10 @@
+set interface ip address GigabitEthernet0/6/0 1.1.1.1/30
+set interface state GigabitEthernet0/6/0 up
+
+set interface ip address GigabitEthernet0/7/0 1.1.2.1/30
+set interface state GigabitEthernet0/7/0 up
+
+ip route add 10.0.0.0/8 via 1.1.1.2 GigabitEthernet0/6/0
+ip route add 20.0.0.0/8 via 1.1.2.2 GigabitEthernet0/7/0
+
+show version