interface/{interface-type}/{interface-name}/delay-link-event

Configures, modifies, or retrieves a delay-link-event.

Resource URIs

URI Description
/rest/config/running/interface/(interface-type)/(interface-name)/delay-link-event Configures a delay-link-event. Supported interface type: Ethernet.
GET URIs Description
/rest/config/running/interface/(interface-type)/(interface-name)/delay-link-event Configures a delay-link-event. Supported interface type: Ethernet.
/rest/config/running/interface/(interface-type)/(interface-name)/delay-link-event/delay-link-event-type Delay link up event. Supported interface type: Ethernet.
PUT URIs Payload Description
/rest/config/running/interface/(interface-type)/(interface-name)/delay-link-event/delay-link-event-entry <delay-link-event-entry>15</delay-link-event-entry> Number of delay link event entry. Supported interface type: Ethernet.
DELETE URIs
/rest/config/running/interface/(interface-type)/(interface-name)/delay-link-event

Parameters

interface-type

Supported interface type: Ethernet only.

delay-link-event-entry
Specifies the delay time. The range is from 1 to 200.
delay-link-event-type
Specifies the delay link event type. Valid values are up (up event), down (down event), or both (up or down event).

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:80/rest/config/running/interface/ethernet/%221/1%22/delay-link-event

None

<delay-link-event xmlns="urn:brocade.com:mgmt:brocade-dle" xmlns:y="http://brocade.com/ns/rest" 
y:self="/rest/config/running/interface/Ethernet/%221/1%22/delay-link-event">
  <delay-link-event-entry>3</delay-link-event-entry>
  <delay-link-event-type>both</delay-link-event-type>
</delay-link-event>

URI

The following example uses PUT operation to update the delay time.

http://host:80/rest/config/running/interface/ethernet/%221/1%22/delay-link-event/delay-link-event-entry

<delay-link-event-entry>15</delay-link-event-entry>

None

URI

The following example uses DELETE operation to remove the delay-link-event configuration.

http://host:80/rest/config/running/interface/ethernet/%221/1%22/delay-link-event

None

None