Updating topology script for demo 09/01
Change-Id: If47b3d89ad20220d1e34ea5de7e421162ce88e8e
diff --git a/mininet/Chart.yaml b/mininet/Chart.yaml
index d380e2e..f56624f 100644
--- a/mininet/Chart.yaml
+++ b/mininet/Chart.yaml
@@ -18,4 +18,4 @@
appVersion: 1.1.0
description: A Helm chart for Mininet
name: mininet
-version: 1.2.2
+version: 1.2.3-dev
diff --git a/mininet/toposcripts/topo-singleleaf.py b/mininet/toposcripts/topo-singleleaf.py
index 2ceeb36..3c14dee 100755
--- a/mininet/toposcripts/topo-singleleaf.py
+++ b/mininet/toposcripts/topo-singleleaf.py
@@ -32,13 +32,26 @@
ip='172.16.1.1/24', gw='172.16.1.254')
h1b = self.addHost('h1b', cls=IPv4Host, mac="00:00:00:00:00:1B",
ip='172.16.1.2/24', gw='172.16.1.254')
+ hVa = self.addHost('hVa', cls=IPv4Host, mac="AA:BB:CC:DD:EE:FE",
+ ip='172.16.1.101/24', gw='172.16.1.254')
+ hVb = self.addHost('hVb', cls=TaggedIPv4Host, mac="AA:BB:CC:DD:EE:FF",
+ ip='172.16.1.102/24', gw='172.16.1.254', vlan=15)
+ hVc = self.addHost('hVc', cls=IPv4Host, mac="AA:BB:CC:DD:EE:EE",
+ ip='172.16.1.103/24', gw='172.16.1.254')
+ hVd = self.addHost('hVd', cls=TaggedIPv4Host, mac="AA:BB:CC:DD:EE:EF",
+ ip='172.16.1.104/24', gw='172.16.1.254', vlan=15)
self.addLink(h1a, leaf1) # port 1
self.addLink(h1b, leaf1) # port 2
+ self.addLink(hVa, leaf1) # port 3
+ self.addLink(hVb, leaf1) # port 4
+ self.addLink(hVc, leaf1) # port 5
+ self.addLink(hVd, leaf1) # port 6
def main():
net = Mininet(topo=TutorialTopo(), controller=None)
net.start()
+ net.staticArp()
CLI(net)
net.stop()