aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/virl/topologies/simple-ring.virl
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/virl/topologies/simple-ring.virl')
-rw-r--r--resources/tools/virl/topologies/simple-ring.virl17
1 files changed, 7 insertions, 10 deletions
diff --git a/resources/tools/virl/topologies/simple-ring.virl b/resources/tools/virl/topologies/simple-ring.virl
index 04babe5e99..82973aa745 100644
--- a/resources/tools/virl/topologies/simple-ring.virl
+++ b/resources/tools/virl/topologies/simple-ring.virl
@@ -67,9 +67,6 @@ write_files:
permissions: '0755'
content: |-
#!/bin/sh
- ifconfig eth1 up 10.0.0.6 netmask 255.255.255.252
- ifconfig eth2 up 10.0.0.14 netmask 255.255.255.252
-
grep -q nfs_server_scratch /var/lib/cloud/instance/user-data.txt || exit 1
grep -q nfs_server_common /var/lib/cloud/instance/user-data.txt || exit 1
nfs_server_scratch=$(grep -E '^nfs_server_scratch:' /var/lib/cloud/instance/user-data.txt | awk '{ print $2 }')
@@ -99,10 +96,10 @@ write_files:
</entry>
<entry key="Auto-generate config" type="Boolean">false</entry>
</extensions>
- <interface id="0" name="eth1" ipv4="10.0.0.6" netPrefixLenV4="30"/>
- <interface id="1" name="eth2" ipv4="10.0.0.14" netPrefixLenV4="30"/>
+ <interface id="0" name="eth1"/>
+ <interface id="1" name="eth2"/>
</node>
- <node name="sut1" type="SIMPLE" subtype="vPP" location="425,26" vmImage="server-java">
+ <node name="sut1" type="SIMPLE" subtype="vPP" location="425,26" vmImage="server-java">
<extensions>
<entry key="config" type="string">#cloud-config
bootcmd:
@@ -195,8 +192,8 @@ write_files:
exit 0&#xD;
</entry>
</extensions>
- <interface id="0" name="GigabitEthernet0/4/0" ipv4="10.0.0.9" netPrefixLenV4="30"/>
- <interface id="1" name="GigabitEthernet0/5/0" ipv4="10.0.0.5" netPrefixLenV4="30"/>
+ <interface id="0" name="GigabitEthernet0/4/0"/>
+ <interface id="1" name="GigabitEthernet0/5/0"/>
</node>
<node name="sut2" type="SIMPLE" subtype="vPP" location="748,26" vmImage="server-java">
<extensions>
@@ -291,8 +288,8 @@ write_files:
exit 0&#xD;
</entry>
</extensions>
- <interface id="0" name="GigabitEthernet0/4/0" ipv4="10.0.0.13" netPrefixLenV4="30"/>
- <interface id="1" name="GigabitEthernet0/5/0" ipv4="10.0.0.10" netPrefixLenV4="30"/>
+ <interface id="0" name="GigabitEthernet0/4/0"/>
+ <interface id="1" name="GigabitEthernet0/5/0"/>
</node>
<connection dst="/virl:topology/virl:node[1]/virl:interface[2]" src="/virl:topology/virl:node[3]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[2]/virl:interface[2]" src="/virl:topology/virl:node[1]/virl:interface[1]"/>