
183
Figure 58 Adding OpenFlow Switch
4. Update (PUT) the device using the following JSON document:
{"switch":{"mac_address":"00:00:00:00:00:01","ip_address":"192.168.1.1","friendly_name":"
OpenFlow switch 1", "active_state":"OFF"}} (as illustrated in Figure 59)