June 2017
Intermediate to advanced
446 pages
10h 10m
English
Ryu can run a BGP application with the --bgp-app-config-file option, which can be taken in as input by the ryu/serivces/protocols/bgp/applications.py module:
$ sudo ryu-manager --verbose --bgp-app-config-file <config_file> ryu/services/protocols/bgp/application.py
There is a sample configuration file located in the same directory for reference:
$ less ryu/services/protocols/bgp/bgp_sample_conf.py
In our configuration file, Chapter11_6.py, we will start with a simple configuration file that establishes the BGP neighbor relationship and provides an SSH console:
BGP = { 'local_as': 65000, 'router_id': '172.16.1.174', 'neighbors': [ { 'address': '172.16.1.175', 'remote_as': 1, 'enable_ipv4': True, 'enable_ipv6': True, 'enable_vpnv4' ...Read now
Unlock full access