Configures a bridge domain.
URI | Description |
---|---|
<base_URI>/config/running/bridge-domain | Configures a bridge domain. |
GET URIs | Description |
---|---|
<base_URI>/config/running/bridge-domain | Retrieves a bridge domain configuration information. |
<base_URI>/config/running/bridge-domain /router-interface/%Ve%/disallow-oar-acdisallow-oar-ac | Allows multiple attachment circurit (AC) endpoints on a virtual router interface that is configured for a VPLS instance. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/vc-id | Retrieves information about a virtual circuit with the specified ID. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip}/load-balance | Retrieves load-balancing details. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip}/cos | Sets the cos value in the range 0 to 7. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/statistics | Configures statistics. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/pw-profile | Sets the Pw-profile name. The maximum size is 64. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/bpdu-drop-enable | Enables bpdu-drop functionality. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/local-switching | Configures local switching. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running | <bridge-domain><bridge-domain-id>{req_val}</bridge-domain-id><bridge-domain-type>{req_val}</bridge-domain-type></bridge-domain> | Configures a bridge domain. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} | <peer><peer-ip>{req_val}</peer-ip></peer> | Configures bridge domain peer. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/logical-interface | <ethernet><lif-bind-id>{req_val}</lif-bind-id></ethernet> | Configures logical interface. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/logical-interface | <port-channel><pc-lif-bind-id>{req_val}</pc-lif-bind-id></port-channel> | Configures logical interface as port-channel. |
<base_URI>/config/running/bridge-domain /router-interface/%Ve%/disallow-oar-acdisallow-oar-ac | Allows multiple attachment circuit (AC) endpoints on a virtual router interface that is configured for a VPLS instance. |
PUT URIs | Payload | Description |
---|---|---|
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/vc-id | <vc-id>{uint32}</vc-id> | Configures VC ID. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip}/load-balance | <load-balance /> | Configures load-balancing. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip}/cos | <cos>{string}</cos> | Sets the cos value in the range 0 to 7. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/statistics | <statistics /> | Configures statistics. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/pw-profile | <pw-profile>{common-def:name-string64}</pw-profile> | Sets the Pw-profile name. The maximum size is 64. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/bpdu-drop-enable | <bpdu-drop-enable /> | Enables bpdu-drop functionality. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/local-switching | <local-switching /> | Configures local switching. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} | <bridge-domain><vc-id>{uint32}</vc-id></bridge-domain> | Configures bridge domain. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip} | <peer><load-balance /></peer> | Configures load balancing. |
<base_URI>/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip} | <peer><cos>{string}</cos></peer> | Configures COS. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} | <bridge-domain><statistics /></bridge-domain> | Configures statistics. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} | <bridge-domain><pw-profile>{common-def:name-string64}</pw-profile></bridge-domain> | Configures PW profile. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} | <bridge-domain><bpdu-drop-enable /></bridge-domain> | Enables BPDU drop fucntioanlity. |
<base_URI>/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} | <bridge-domain><local-switching /></bridge-domain> | Enables local switching. |
DELETE URIs |
---|
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type} |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/vc-id |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip} |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip}/load-balance |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/peer/{peer-ip}/cos |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/statistics |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/logical-interface/ethernet/{lif-bind-id} |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/logical-interface/port-channel/{pc-lif-bind-id} |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/pw-profile |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/bpdu-drop-enable |
/rest/config/running/bridge-domain/{bridge-domain-id},{bridge-domain-type}/local-switching |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/conf ig/running/bridge-domain
None
<bridge-domain xmlns="urn:brocade.com:mgmt:brocade-bridge-domain" xmlns:y="http: //brocade.com/ns/rest" y:self="/rest/config/running/bridge-domain/1%2Cp2mp"> <bridge-domain-id>1</bridge-domain-id> <bridge-domain-type>p2mp</bridge-domain-type> <vc-id>200</vc-id> <peer y:self="/rest/config/running/bridge-domain/1%2Cp2mp/peer/10.10.10.10"> <peer-ip>10.10.10.10</peer-ip> <load-balance>true</load-balance> <lsp>lsp10 lsp15</lsp> </peer> <logical-interface y:self="/rest/config/running/bridge-domain/1%2Cp2mp/logical -interface"> </logical-interface> <pw-profile>to-dc-connect</pw-profile> <bpdu-drop-enable>true</bpdu-drop-enable> <local-switching>true</local-switching> </bridge-domain>
The following example uses the POST option to configure a bridge domain.
http://host:80/rest/conf ig/running/bridge-domain
<bridge-domain> <bridge-domain-id>1</bridge-domain-id> <bridge-domain-type>p2mp</bridge-domain-type> </bridge-domain>
None
The following example uses the DELETE option to remove a bridge domain.
http://host:80/rest/conf ig/running/bridge-domain
None
None