Management VLAN

Configures, modifies, and retrieves management VLAN configurations. The URI to configure data for management VLAN is:

/network-instances/network-instance/default-vrf/vlans/vlan/20/config/management_vlan_container/management_vlan

Supported HTTP Operations

POST method

URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan/70/config/management_vlan_container
Request body: For enable

{
    "icx-openconfig-mgmt-vlan-aug:management_vlan": true
}
Response body: None

PATCH method

URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan/20/config/management_vlan_container/management_vlan
Request body: For enable

{
    "icx-openconfig-mgmt-vlan-aug:management_vlan": true
}

For disable

{
    "icx-openconfig-mgmt-vlan-aug:management_vlan": false
}
Response body: None

GET method

URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans
Request body: None

Response body: {
                "vlan-id": 20,
                "config": {
                    "vlan-id": 20,
                    "icx-openconfig-mgmt-vlan-aug:management_vlan_container": {
                        "management_vlan": true
                    }
                },
                "state": {}
            },

GET method

URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan/20/config/management_vlan_container/management_vlan
Request body: None
Response body: {
    "icx-openconfig-mgmt-vlan-aug:management_vlan": true
}

PUT method

URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan/30/config/management_vlan_container/management_vlan
Request body: {
    "icx-openconfig-mgmt-vlan-aug:management_vlan": true
}    
Response body: None   

DELETE

URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan/30/config/management_vlan_container/management_vlan   
Request body: None    
Response body: None