-
Notifications
You must be signed in to change notification settings - Fork 2
Pica8 OpenNAC
Jim Burns edited this page Sep 7, 2015
·
3 revisions
-
Configure Pica8 switch to use RESTCONF API (it is a prerequisite for OpenNAC API)
-
Now you need to configure OpenNAC parameters on the SDN Developer Lab
-
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').
- On the Devices table click Add Device
- 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 LOCAL-IP Local MAC LOCAL-MAC Gateway IP Address GW-IP Gateway Mask GW-MASK Gateway MAC GW-MAC PORTS PORTS WAN PORT WAN-PORT Datapath Id DPID
-
-
On an endpoint connected to the Pica8-enabled switch, print the route table and in the output, on the line with a destination of 'default' collect the IP Address for Gateway (call this GW-IP).
route
-
On an endpoint connected to the Pica8-enabled switch, obtain the MAC address for GW-IP using arp command (call this GW-MAC).
arp -a 10.0.2.2