RESTCONF API for I-SID CLI Command

This section provides the Representational State Transfer Configuration Protocol (RESTCONF) API sections for the I-SID CLI command.

POST

Create a CVLAN by associating the VLAN to an I-SID:

{
    "extreme-network-service:network-service": 
    [
    {
         "id": "2", 
         "interfaces":
        {
            "interface": 
         [
          {
            "name": "VLAN-2"
          }
        ]
      }, 
      "name": "isid2", 
      "type": "l2vsn"
    }
   ]
}

Create a T-UNI by associating the MLT to an I-SID:

{
    "extreme-network-service:network-service": 
    [
    {
         "id": "3", 
         "interfaces":
        {
            "interface": 
         [
          {
            "name": "MLT-3"
          }
        ]
      }, 
      "name": "isid3", 
      "type": "elantransparent"
    }
   ]
}

Create an S-UNI I-SID with a VLAN:

{
    "extreme-network-service:network-service": 
    [
    {
         "id": "6", 
         "interfaces":
        {
            "interface": 
         [
          {
            "name": "VLAN-3"
          }
        ]
      }, 
      "name": "isid6", 
      "type": "elan"
    }
   ]
}

Add a CVID and an MLT to the S-UNI:

{
    "extreme-network-service:network-service": 
    [
    {
         "id": "6", 
         "interfaces":
        {
            "interface": 
         [
          {
            "endpoints"
          }
              {
               "endpoint" : 
                 {
                  "bpdu":"true"
                  "cvid":"4096",
                  "interface-name": "MLT-7",
                  }
              }, 
              "name": "MLT-7", 
             }
         },
        "name": isid6666",
        "type": "elan"
      }
   ]
}

PATCH

Associate a T-UNI I-SID with a port interface:

{
   "extreme-network-service:network-service": 
    [
    {
         "id": “3", 
         "interfaces": 
        {
             "interface":
          [
          {
             "name": “1/5"
          }
          ]
       }, 
         "name": "ISID-3", 
         "type": "elanTransparent"
      }
]

Associate an S-UNI I-SID with a port interface and a CVID:

{   
   "extreme-network-service:network-service": 
    [ 
    { 
         "id": "6", 
         "interfaces": 
        {
            "interface":
            {
                "endpoints": 
                 {
                     "endpoint": 
                      {
                         "bpdu": "true", 
                         "cvid": “1", 
                         "interface-name": “1/6" 
                      }  
         }, 
            "name": “1/6" 
         } 
       }, 
            "name": "isid6666", 
            "type": "elan" 
       }
    ] 
}            

GET

To access the top-level interfaces resource within the openconfig-extreme-network-services YANG model, use the following URLs:

https://$ip:8080/rest/restconf/data/extreme-network-service:network-services
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=%s
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=%s/interfaces
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=%s/interfaces/interface=%s
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=%s/interfaces/interface=%s/endpoints
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=%s/interfaces/interface=%s/endpoints/endpoint=%s

DELETE