Create a VLAN

To create a VLAN:

Use the POST method to add the new VLAN configuration to the openconfig:vlans/vlan datasource.
Sample client request
POST /rest/restconf/data/openconfig-vlan:vlans/
    HTTP/1.1
    Host: 10.68.13.192
    Body:
       {
        "openconfig-vlan:vlan":[
        {
            "config": {
                "name": "vlan_10",
                "status": "ACTIVE",
                "tpid": "oc-vlan-types:TPID_0x8100",
                "vlan-id": 10
            }
        }
       ]
    } 

If the request is successful, the server responds with a 201 CREATED status message.