Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Would you like to give VPLS a try, but it's too hard and long bringing up an entire network with hosts sending in packets on different VLANs? The mininet (python) file attached gives you an example of how to simulate a similar network. Just modify the file, creating the topology you like and letting Mininet point to your controller IP address.

...

CLI syntax

...

VPLS allows to define networks and attach or unattach interfaces to them, also by command-line. There is also the option of cleaning all the state of the application for a clean start. Details on the CLI operations are detailed below:

Operations on networks

Code Block
titleOperations on networks
# Adds a new network
onos> vpls-add $VPLS_NETWORK

...


# Removes an existing network
onos> vpls-del $VPLS_NETWORK
# Shows the list of networks
onos> vpls-list
     VPLS2
     VPLS1
# Shows the list of attached interfaces (for a given network) or all the list of networks and interfaces in each of them (if no network is provided)
onos> vpls-show [$VPLS_NETWORK]
     VPLS2: interface=[vpls2h1, vpls2h2]
     VPLS1: interface=[vpls1h1, vpls1h2, vpls1h3]
Code Block
titleOperations on interfaces
# Adds an existing interface (in netcfg) to an existing network
onos> vpls-add-iface $VPLS_NETWORK $INTERFACE_NAME
# Removes an existing interface from an existing network
onos> vpls-del-iface $VPLS_NETWORK $INTERFACE_NAME


onos> vpls-remove $VPLS_NETWORK          # Adds a new network

...

Issues and Troubleshooting

...