Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Code Block | ||
---|---|---|
| ||
# Basic VPLS topology export ONOS_NIC=192.168.56.* export OCI="192.168.56.101" export OC1="192.168.56.101" export OC2="192.168.56.102" export OCNOC3="192.168.56.103" export ONOS_APPS=drivers,openflow,vpls export ONOS_GROUP=sdn export ONOS_SCENARIOS=$ONOS/tools/test/scenarios export ONOS_TOPO=vpls export ONOS_USER=sdn export ONOS_USE_SSH=true export ONOS_WEB_PASS=rocks export ONOS_WEB_USER=onos |
...
VPLS name | VLAN Id | Interface Name | OF Switch DPID | OF Port Number | ||
VPLS1 | 10100 | vpls1h1h1 | 0000000000000001 | 1 | ||
VPLS1 | 10200 | vpls1h2h2 | 0000000000000004 | 1 | ||
VPLS1 | 20 | vpls1h3 | -1 (no VLAN) | h5 | 0000000000000005 | 1 |
VPLS1 | -1 (no VLAN) | h6 | 0000000000000006 | 00000000000000031 | ||
VPLS2 | 30300 | vpls2h1h4 | 0000000000000004 | 2 | ||
VPLS2 | 40400 | vpls2h2 | 0000000000000002 | 1 |
...
Code Block | ||
---|---|---|
| ||
{ "ports": { "of:0000000000000001/1": { "interfaces": [ { "name": "vpls1h1h1", "vlan": "10100" } ] }, "of:00000000000000040000000000000002/1": { "interfaces": [ { "name": "vpls1h2h2", "vlan": "10200" } ] }, "of:00000000000000040000000000000003/21": { "interfaces": [ { "name": "vpls2h1h3", "vlan": "30300" } ] }, "of:00000000000000030000000000000004/1": { "interfaces": [ { "name": "vpls1h3h4", "vlan": "20400" } ] }, "of:00000000000000020000000000000005/1": { "interfaces": [ { "name": "vpls2h2h5", "vlan": "40" } ] }, }, "appsof:0000000000000006/1" : { "org.onosproject.vplsinterfaces" : {[ "vpls" : { "vplsNetworksname" : ["h6" } { ] } }, "nameapps" : "VPLS1",{ "org.onosproject.vpls" : { "vpls" : { "interfacesvplsList" : ["vpls1h1", "vpls1h2", "vpls1h3"], { "encapsulationname" : "VLAN" ###### Encapsulation can be set optionally to VLAN,MPLS or left to NONE VPLS1", "interfaces" : ["h1", "h2", "h5", "h6"] }, { "name" : "VPLS2", "interfaces" : ["vpls2h1h3", "vpls2h2h4"], "encapsulation" : "vlan" } ] } } } } |
The same result can be achieved at run-time, using the interface configuration and VPLS CLI commands as follows (see section "CLI syntax" for more details):
...