wiki:HowTo/CreateOVSTopology

Version 1 (modified by nriga@bbn.com, 8 years ago) (diff)

--

Draw your Topology

This are instructions for Flack to setup your topology.

  • Draw your topology like you will normally do
  • For every switch that you want to be an OVS switch
    • Add a XEN VM node from an IG or PG site
    • In the properties of the OVS XEN VM choose as an image the image that says `Ubuntu 12.04 OVS for ProtoGENI (Niky)"
  • If your controller is part of your topology make sure that the controller has a public IP address
    • In the properties of the controller node press the link tab (the one that looks like a chain) check the box that says Routable Control IP (emulab only). This will ensure that your node has a public IP.

Assign IPs

Once you have drawn your topology you might want to consider assigning IPs to your nodes so that there is less manual steps you need to do after your resources are reserved.

  1. Remove IPs from the OVS interfaces. The XEN VMs that are going to be OVS switches do not need to have IPs configured in their interfaces so it is probably easier if you remove them at reservation time.
    • for each OVS switch press the i button and go to the links tab (the one that looks like a chain)
    • set the IPs to 0.0.0.0
  2. Decide which hosts should be on the same IP subnet and manually assign their IP addresses

Modify the rspec

You will need to make some manually modifications to your rspec, so:

  • Save the rspec to a file (VIew-> Preview Request Document and Save to File)
  • Open the file with your favorite editor and add the following lines on every link that involves and OVS host

OVS commands once the topology is up