bridge-domain

Configures a bridge domain.

Resource URIs

URI Description
/restconf/data/brocade-bridge-domain:bridge-domain Configures a bridge domain.
GET URIs Description
/restconf/data/brocade-bridge-domain:bridge-domain Retrieves a bridge domain configuration information.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/vc-id-num Retrieves information about a virtual circuit with the specified ID.
/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/peer=%peer-ip%/load-balance Retrieves load-balancing details.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/peer=%peer-ip%/cos Sets the cos value in the range 0 to 7.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/statistics Configures statistics.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/pw-profile-name Sets the Pw-profile name. The maximum size is 64.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/bpdu-drop-enable Enables bpdu-drop functionality.
/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/local-switching Configures local switching.
POST URIs Payload Description
/restconf/data/brocade-bridge-domain:bridge-domain <bridge-domain><bridge-domain-id>{req_val}</bridge-domain-id><bridge-domain-type>{req_val}</bridge-domain-type></bridge-domain> Configures a bridge domain.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type% <peer><peer-ip>{req_val}</peer-ip></peer> Configures bridge domain peer.
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/logical-interface <ethernet><lif-bind-id>{req_val}</lif-bind-id></ethernet> Configures logical interface.
restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/logical-interface/port-channel=%pc-lif-bind-id% <port-channel><pc-lif-bind-id>{req_val}</pc-lif-bind-id></port-channel> Configures logical interface as port-channel.
DELETE URIs
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/vc-id-num
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/description
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/peer=%peer-ip%
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/statistics
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/router-interface=%router-ve%
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/router-interface=%router-ve%/disallow-oar-ac
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/logical-interface
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/logical-interface/ethernet=%lif-bind-id%
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/logical-interface/port-channel=%pc-lif-bind-id%
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/pw-profile-name
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/bpdu-drop-enable
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/local-switching
/restconf/data/brocade-bridge-domain:bridge-domain=%bridge-domain-id%,%bridge-domain-type%/mac-address

Parameters

bridge-domain-id
The bridge domain ID.
bridge-domain-type
The bridge domain type.
peer
Specifies the peer.
peer-ip
The peer IP address.
load-balance
Specifies load balancing.
lsp
Specifies the LSP.
logical-interface
Specifies the logical interface.
pw-profile
Specifies the PW-profile.
bpdu-drop-enable
Specifies the BPDU drop enable feature.
local-switching
Specifies local switching.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http:/host:443/restconf/data/brocade-bridge-domain:bridge-domain

None

<bridge-domain xmlns="urn:brocade.com:mgmt:brocade-bridge-domain">
	<bridge-domain-id>%req_val%</bridge-domain-id>
	<bridge-domain-type>%req_val%</bridge-domain-type>
</bridge-domain>

URI

The following example uses the POST option to configure a bridge domain.

http:/host:443/restconf/data/brocade-bridge-domain:bridge-domain

<bridge-domain xmlns="urn:brocade.com:mgmt:brocade-bridge-domain">
				<bridge-domain-id>%req_val%</bridge-domain-id>
				<bridge-domain-type>%req_val%</bridge-domain-type>
				<description/>
			</bridge-domain>

None

URI

The following example uses the DELETE option to remove a bridge domain.

http:/host:443/restconf/data/brocade-bridge-domain:bridge-domain

None

None