patch
https://example.com/api/switches
Update a switch object using JSON patch(es) with its UUID.
The following patch ops are supported:
replace
The following patch paths are supported:
/description/name/exclude_from_dsm/fabric_uuid/role/hostname/auto_save_interval/skip_lldp_initialization/skip_ports_initialization/reserved_vlans_base/reserved_vlans/vlans/icmp_redirect_disable/software_state/profiles/configured/uplink_to_uplink
Notes:
- when
/fabric_uuidis given with any other path, the operation to apply thefabric_uuidchange will be applied last. reserved_vlans_baseandreserved_vlansmust be used together and not withfabric_uuidin the same requestreserved_vlans_basecan have the following possible values:0: there are no reserved vlans- Any single value in the range
2 - 4094
reserved_vlanscan have a max value of256- this determines the number of VLANs past the value ofreserved_vlans_basewhich will be reserved- e.g. a request with
reserved_vlans_base: 3000andreserved_vlans: 25will result in the reservation of VLANs3000through3025 /hostnameonly changes the FQDN/IP of the device that AFC communicates with, not the host name on the switch itself/profiles/configuredSwitch profile configuration based on the available profile, it requires switch reboot to activate the profile/software_statemay only be cleared - i.e. value = ''.