This section provides the Representational State Transfer Configuration Protocol (RESTCONF) API sections for the I-SID CLI command.
To access the top-level interfaces resource within the openconfig-extreme-network-services YANG model, use the following URL:
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=<I-SID>
Use this API operation to do the following:
Create an I-SID with a given name and type (CVLAN = l2vsn, Switched UNI (S-UNI) = elan, Transparent Port UNI (T-UNI) = elan_transparent)
Associate a CVLAN, an S-UNI, and a T-UNI with an interface (VLAN, port, or LAG).
Add CVID and BPDU configuration on interfaces associated with an S-UNI I-SID.
Sample server response:
{ "extreme-network-service:network-service": [ { "id":"< service id>", "type": "<i-sid type: elan, elan_transparent, l2vsn>", "name":"<i-sid name>", "interfaces": { "interface": { "name":"<interface name>", "endpoints": { "endpoint" : { "interface-name": "<interface name>", "cvid":"<cvid>", "bpdu":"<bpdu>" } } } } } ] }
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" } ] }
To access the top-level interfaces resource within the openconfig-extreme-network-services YANG model, use the following URL:
https://$ip:8080/rest/restconf/data/extreme-network-service:network-services/network-service=<I-SID>
Use this API operation to do the following:
Reconfigure an I-SID name.
Associate an S-UNI and a T-UNI with another interface (VLAN, port, or LAG).
Note
The new CVID is added to the existing configuration.Sample server response:
{ " extreme-network-service:network-service": ] { "name":"<i-sid name>", "interfaces": { "interface": { "name":"<interface name>", "endpoints": { "endpoint" : { "interface-name": "<interface name>", "cvid":"<cvid>", "bpdu":"<bpdu>" } } } } } ] }
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" } ] }
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
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/network-service=%s
Use this API operation to do the following:
Remove an I-SID.
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/network-service=%s/interfaces/interface=%s
Use this API operation to do the following:
Remove interface (VLAN, port, or LAG) association with an I-SID.
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/network-service=%s/interfaces/interface=%s/endpoints/endpoint=%s
Use this API operation to do the following:
Remove endpoint for S-UNI and T-UNI.