Skip to content

Other OpenNAC

Jim Burns edited this page Sep 7, 2015 · 3 revisions
  1. Configure switch to use RESTCONF API (it is a prerequisite for OpenNAC API)

  2. Make minimum set of physical connections on switch

    1. Connect at least one endpoint/host to the OpenFlow controlled ports.
    2. Connect a WAN connection (allowing endpoints to connect to devices outside their LAN) to one of the OpenFlow controlled ports.
    3. Ensure the switch can communicate to the SDN Developer Lab IP Address and OpenFlow Port. =
  3. Now you need to configure OpenNAC parameters on the SDN Developer Lab

    1. On SDN Developer Lab, you need to add the switch on the Devices table (if you already added the device then you do not need to add it again, just double check the values and then 'Reconnect Device').

      1. On the Devices table click Add Device
      2. Enter the values about your device from following table (see below table on how to obtain these values), when complete click save.
      Add Device Field Value To Enter
      Friendly Name Enter a string that will mean something to you. (e.g. MyHPSwitch)
      Local IPv4 Address This is the IP address your switch is using on its wan port to the internet.
      Local MAC This is the MAC address your switch is using on its wan port to the internet.
      Gateway IP Address This is the IP address of the gateway that your switch communicates through on the WAN port to get to the internet.
      Gateway Mask This is the IP mask defining the subnet on the LAN on which your switch communicates to the gateway.
      Gateway MAC This is the MAC address of the gateway that your switch communicates through on the WAN port to get to the internet.
      PORTS This is a list of port numbers (as defined within your switch and used by openflow rules) of the ports to which endpoints connect. This defines all the ports that will be controlled by ODL-S. All others will be left 'unmanaged' meaning ODL-S will let traffic pass through them.
      WAN PORT This is one port number (as defined within your switch and used by openflow rules) of the port out which your switch is able to communicate with the gateway.
      Datapath Id This is the datapath id that the switch reports to the OpenFlow controller. Check your switch vendor's documentation on how to obtain this. Datapath id is an OpenFlow element so you will likely find it in your switch's openflow documentation.
  4. Verify or reconnect switch

Clone this wiki locally