aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-08-18 09:57:26 +0000
committerPeter Mikus <pmikus@cisco.com>2020-08-18 10:18:00 +0000
commit42d1016e92cf2b8ba4e493d878c475de325a447a (patch)
tree5359bc5fee023773c74d7a9e8e0148ba9202ea1a /resources/templates
parent5c43c46d08dbc9e73422e947420096d075b269cf (diff)
Framework: Qemu alignments
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I20098fca8fb513accef3edc9a72bfd3c56bf9be2
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h1024_p63_s64512.exec19
-rw-r--r--resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h16384_p63_s1032192.exec19
-rw-r--r--resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h4096_p63_s258048.exec19
-rw-r--r--resources/templates/vm/vpp_2vfpt_ethip4ipsec1tnl_plen30.exec17
-rw-r--r--resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec17
-rw-r--r--resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec17
-rw-r--r--resources/templates/vm/vpp_2vfpt_ip4scale200k_plen30.exec17
-rw-r--r--resources/templates/vm/vpp_2vfpt_ip4scale20k_plen30.exec17
-rw-r--r--resources/templates/vm/vpp_2vfpt_ip4scale2k_plen30.exec17
9 files changed, 159 insertions, 0 deletions
diff --git a/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h1024_p63_s64512.exec b/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h1024_p63_s64512.exec
new file mode 100644
index 0000000000..3d00a60de2
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h1024_p63_s64512.exec
@@ -0,0 +1,19 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+ip route add $route2 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+$nat
+
+show logging
+
+show version \ No newline at end of file
diff --git a/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h16384_p63_s1032192.exec b/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h16384_p63_s1032192.exec
new file mode 100644
index 0000000000..3d00a60de2
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h16384_p63_s1032192.exec
@@ -0,0 +1,19 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+ip route add $route2 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+$nat
+
+show logging
+
+show version \ No newline at end of file
diff --git a/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h4096_p63_s258048.exec b/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h4096_p63_s258048.exec
new file mode 100644
index 0000000000..3d00a60de2
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h4096_p63_s258048.exec
@@ -0,0 +1,19 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+ip route add $route2 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+$nat
+
+show logging
+
+show version \ No newline at end of file
diff --git a/resources/templates/vm/vpp_2vfpt_ethip4ipsec1tnl_plen30.exec b/resources/templates/vm/vpp_2vfpt_ethip4ipsec1tnl_plen30.exec
new file mode 100644
index 0000000000..54cf42898f
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ethip4ipsec1tnl_plen30.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+$ipsec
+
+show logging
+
+show version
diff --git a/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec b/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec
new file mode 100644
index 0000000000..54cf42898f
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+$ipsec
+
+show logging
+
+show version
diff --git a/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec b/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec
new file mode 100644
index 0000000000..7563309a68
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+ip route add $route2 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+show logging
+
+show version
diff --git a/resources/templates/vm/vpp_2vfpt_ip4scale200k_plen30.exec b/resources/templates/vm/vpp_2vfpt_ip4scale200k_plen30.exec
new file mode 100644
index 0000000000..1afa8c338f
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ip4scale200k_plen30.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 count 100000 via $nexthop1 $routeif1
+ip route add $route2 count 100000 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+show logging
+
+show version
diff --git a/resources/templates/vm/vpp_2vfpt_ip4scale20k_plen30.exec b/resources/templates/vm/vpp_2vfpt_ip4scale20k_plen30.exec
new file mode 100644
index 0000000000..8087fdb31e
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ip4scale20k_plen30.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 count 10000 via $nexthop1 $routeif1
+ip route add $route2 count 10000 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+show logging
+
+show version
diff --git a/resources/templates/vm/vpp_2vfpt_ip4scale2k_plen30.exec b/resources/templates/vm/vpp_2vfpt_ip4scale2k_plen30.exec
new file mode 100644
index 0000000000..480abc50fc
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ip4scale2k_plen30.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 count 1000 via $nexthop1 $routeif1
+ip route add $route2 count 1000 via $nexthop2 $routeif2
+
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+show logging
+
+show version