You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
We describe how to configure, run, and test the OpenstackSwitching application. If you did not set up your environment including openstack and onos, we strongly recommend to set up your environment following the page: How to set up environment from scratch.
1. Configure OpenstackSwitching application: network-cfg.json
{
"apps" : {
"org.onosproject.openstackswitching" : {
"openstackswitching" : {
"do_not_push_flows" : "false",
"neutron_server" : "http://OPENSTACK_CONROL_NODE_IP:9696/v2.0/",
"keystone_server" : "http://OPENSTACK_CONROL_NODE_IP:5000/v2.0/",
"user_name" : "admin",
"password" : "nova"
}
},
"org.onosproject.dhcp" : {
"dhcp" : {
"ip": "10.0.0.1",
"mac": "1a:2b:3c:4e:5e:6f",
"subnet": "255.0.0.0",
"broadcast": "10.255.255.255",
"router": "10.0.0.1",
"domain": "10.0.0.1",
"ttl": "63",
"lease": "300",
"renew": "150",
"rebind": "200",
"delay": "3",
"timeout": "150",
"startip": "10.0.0.110",
"endip": "10.0.0.130"
}
},
"org.onosproject.cordvtn" : {
"cordvtn" : {
"nodes" : [
{
"hostname" : "compute-01",
"ovsdbIp" : "COMPUTE_NODE_IP"
"ovsdbPort" : "6640",
"bridgeId" : "of:0000000000000001"
},
{
"hostname" : "compute-02",
"ovsdbIp" : "COMPUTE_NODE_IP",
"ovsdbPort" : "6640",
"bridgeId" : "of:0000000000000002"
},
{
"hostname" : "network",
"ovsdbIp" : "OPENSTACK_CONTROL_NODE_IP",
"ovsdbPort" : "6640",
"bridgeId" : "of:0000000000000003"
}
]
}
}
}
}
We need to configure the OpenstackSwitching application using the standard ONOS Network Configuration framework, network-cfg.json file.
| App field | Field name | Description |
|---|
org.onosproject.openstackswitching | do_not_push_flows | "true": the app does not push any flows and works as the Openstack interface. "false" |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |