Mininet

How to Change Switch Configuration through Opendaylight controller(GUI)

三世轮回 提交于 2021-02-10 14:48:21
问题 I am new to SDN, Environment- I have 2 VMs(VM Ware) running on my Windows 10(laptop). One is Mininet and another is Opendaylight(in Ubuntu). I made a simple topology through mininet and connected it to the controller and I can see the topology in Opendaylight Controller. Topology: 3 switches, 4 hosts and 1 controller.Please click here to see topology Question- I know that through controller we can manage the switches, change the configuration, etc. so exactly we can do that through GUI of the

ONOS安装和运行

喜夏-厌秋 提交于 2021-01-06 11:34:19
1.安装Karaf,MVN(新版MVN不是必须了) http://archive.apache.org/dist/karaf/3.0.8/apache-karaf-3.0.8.tar.gz http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz mkdir ~/Applications tar -zxvf apache-karaf-3.0.8.tar.gz -C ~/Applications/ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ~/Applications/ 2.安装install Oracle Java 8 及MVN 1. Download and Extract JDK package, such as jdk-8u131-linux-x64.tar.gz, and you can see new directory /home/yourname/jdk1.8.0_131 2. Add two environment variables into ~/.bashrc or /etc/profile: export JAVA_HOME=/home/yourname/jdk1.8.0_131 export

ODL XML code! mininet switch flow not showing up

本秂侑毒 提交于 2020-12-15 06:42:36
问题 I have written a python + XML code that pushes flow in to mininet switch (s2) through ODL controller. code is been executed perfectly as it responding <Respone 200> XML code response after running but when I check the mininet switch it doesn't show the specific tables where as other tables flow (0 & 3) are showing, the highlighted once. flow display of mininet switch The purpose of this XML code is to check destination IPV4 address, than change the destination and source MAC address and than

Mininet简单性能测试

我只是一个虾纸丫 提交于 2020-07-28 07:36:21
建一个简单的模型,使用一个单交换机,然后链接n个主机形成拓扑,然后对每个链路设置带宽,延迟时间,和丢包率。 这里就选择建一个单交换机和六个主机的作为例子。 创建py脚本生成拓扑:写一个类生成一个单交换机和六个主机的拓扑,并且给每个主机和交换机之间的连接赋予100m的带宽,5ms的延迟和1%的丢包率。然后通过pingall函数测试连接,iperf函数测试主机间的带宽, 1 from mininet.topo import Topo 2 from mininet.net import Mininet 3 from mininet.node import CPULimitedHost 4 from mininet.link import TCLink 5 from mininet.util import dumpNodeConnections 6 from mininet.log import setLogLevel 7 8 9 class SingleSwitchTopo(Topo): 10 def __init__ (self, n=2, ** opts): 11 Topo. __init__ (self, ** opts) 12 switch = self.addSwitch( ' s1 ' ) 13 for h in range(n): 14 # Each host gets

Mininet简单性能测试

笑着哭i 提交于 2020-07-28 04:30:39
建一个简单的模型,使用一个单交换机,然后链接n个主机形成拓扑,然后对每个链路设置带宽,延迟时间,和丢包率。 这里就选择建一个单交换机和六个主机的作为例子。 创建py脚本生成拓扑:写一个类生成一个单交换机和六个主机的拓扑,并且给每个主机和交换机之间的连接赋予100m的带宽,5ms的延迟和1%的丢包率。然后通过pingall函数测试连接,iperf函数测试主机间的带宽, 1 from mininet.topo import Topo 2 from mininet.net import Mininet 3 from mininet.node import CPULimitedHost 4 from mininet.link import TCLink 5 from mininet.util import dumpNodeConnections 6 from mininet.log import setLogLevel 7 8 9 class SingleSwitchTopo(Topo): 10 def __init__ (self, n=2, ** opts): 11 Topo. __init__ (self, ** opts) 12 switch = self.addSwitch( ' s1 ' ) 13 for h in range(n): 14 # Each host gets

Unable to Use ping6 in mininet

淺唱寂寞╮ 提交于 2020-05-15 17:16:06
问题 I am running a Python script on mininet (virtual machine), which looks like this: def main(): setLogLevel('info') net = Mininet(switch=LinuxBridge, controller=None) h1 = net.addHost('h1', ip=None) h2 = net.addHost('h2', ip=None) s0 = net.addSwitch('s0') s1 = net.addSwitch('s1') s2 = net.addSwitch('s2') r1 = net.addHost('r1', ip=None) r1.cmd('sysctl -w net.ipv6.conf.all.forwarding=1') r2 = net.addHost('r2', ip=None) r2.cmd('sysctl -w net.ipv6.conf.all.forwarding=1') net.addLink(h1, s1) net