SDN-IP Ryu version
Original SDN-IP is one of project from ONOS.
- Ryu v4.1
- networkx 1.11
- Clone Ryu SDN-IP repo
$ git clone https://github.com/TakeshiTseng/Ryu-SDN-IP.git && cd Ryu-SDN-IP
- Install dependences
$ pip install -r requirements.txt
- Create config file for Ryu SDN-IP
cp config.sample.json config.json
Configuration file example:
{
"local": {
"as_number": 65113, /* SDN-IP AS number */
"router_id": "192.168.1.10", /* SDN-IP router id(IP address) */
"listen_port": 2000, /* listen port */
"networks": [ /* local as network prefixes */
"192.168.10.0/24"
]
},
"speakers": [ /* Internal BGP speakers for SDN-IP */
{
"dpid": "00000000000000002", /* DP that speaker connected */
"port": 1, /* Port that speaker connected */
"speaker_ids" : [ /* Speaker ID from this connection point */
"192.168.1.11"
],
"mac": "00:00:00:00:01:01" /* Speaker mac address */
},
{
"dpid": "00000000000000004",
"port": 1,
"speaker_ids" : [
"192.168.1.12"
],
"mac": "00:00:00:00:02:01"
}
]
}
- Start Ryu SDN-IP applications:
$ ./bin/sdnip-mgr --observe-links sdnip.arp_proxy sdnip.fwd_bgp sdnip.sdn_ip
Reference:
TODO:
- Internal link failure handling
- Switch failure handling
- Integrate with DragonKnight
- Reconfigurable