Skip to content

sdnds-tw/Ryu-SDN-IP

Repository files navigation

Ryu SDN-IP

SDN-IP Ryu version

Original SDN-IP is one of project from ONOS.

Requirement


  • Ryu v4.1
  • networkx 1.11

Install


  1. Clone Ryu SDN-IP repo
$ git clone https://github.com/TakeshiTseng/Ryu-SDN-IP.git && cd Ryu-SDN-IP
  1. Install dependences
$ pip install -r requirements.txt
  1. 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"
    }
  ]
}
  1. Start Ryu SDN-IP applications:
$ ./bin/sdnip-mgr --observe-links sdnip.arp_proxy sdnip.fwd_bgp sdnip.sdn_ip

Reference:

SDN-IP wiki

TODO:

  • Internal link failure handling
  • Switch failure handling
  • Integrate with DragonKnight
  • Reconfigurable

About

SDN-IP project implemented by Ryu SDN framework.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages