Class RoutingProtocolsImpl
java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.RoutingProtocolsImpl
- All Implemented Interfaces:
RoutingProtocols
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBgpAction(String connectionId, String routingProtocolId, BGPActionType type) Issues a BGP clear/reset action against a routing protocol on a connection.createBulk(String connectionId, List<RoutingProtocolOperator.RoutingProtocolBuilder> builders) Creates multiple routing protocols on a connection in a single bulk request.define()Begins the fluent builder for creating a new routing protocol.getBgpAction(String connectionId, String routingProtocolId, String actionId) Retrieves a single BGP clear/reset action by its identifier.getBgpActions(String connectionId, String routingProtocolId) Lists the BGP clear/reset actions issued against a routing protocol on a connection.Retrieves a single routing protocol by its unique identifier on the specified connection.Retrieves a single routing protocol change by its identifier.getChanges(String connectionId, String routingProtocolId) Lists the changes recorded against a routing protocol on a connection.Lists all routing protocols configured on the specified connection.replace(String connectionId, String uuid, RoutingProtocolOperator.RoutingProtocolBuilder builder) Replaces (full update via PUT) an existing routing protocol with the configuration described by the supplied builder.
-
Constructor Details
-
RoutingProtocolsImpl
public RoutingProtocolsImpl()
-
-
Method Details
-
list
Description copied from interface:RoutingProtocolsLists all routing protocols configured on the specified connection.- Specified by:
listin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connection- Returns:
- a paginated list of routing protocols for the connection
-
getByUuid
Description copied from interface:RoutingProtocolsRetrieves a single routing protocol by its unique identifier on the specified connection.- Specified by:
getByUuidin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionuuid- the unique identifier of the routing protocol- Returns:
- the routing protocol matching the given UUID
-
define
Description copied from interface:RoutingProtocolsBegins the fluent builder for creating a new routing protocol. Call methods on the returned builder to configure the protocol, then callcreate().- Specified by:
definein interfaceRoutingProtocols- Returns:
- a builder for configuring the new routing protocol
-
replace
public RoutingProtocol replace(String connectionId, String uuid, RoutingProtocolOperator.RoutingProtocolBuilder builder) Description copied from interface:RoutingProtocolsReplaces (full update via PUT) an existing routing protocol with the configuration described by the supplied builder. Unlike a PATCH, the supplied configuration replaces the routing protocol in its entirety.- Specified by:
replacein interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionuuid- the unique identifier of the routing protocol to replacebuilder- a configured routing protocol builder (as returned byRoutingProtocols.define())- Returns:
- the replaced routing protocol
-
createBulk
public List<RoutingProtocol> createBulk(String connectionId, List<RoutingProtocolOperator.RoutingProtocolBuilder> builders) Description copied from interface:RoutingProtocolsCreates multiple routing protocols on a connection in a single bulk request.- Specified by:
createBulkin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionbuilders- the configured routing protocol builders (each as returned byRoutingProtocols.define())- Returns:
- the list of created routing protocols
-
getBgpActions
Description copied from interface:RoutingProtocolsLists the BGP clear/reset actions issued against a routing protocol on a connection.- Specified by:
getBgpActionsin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocol- Returns:
- the list of BGP actions
-
createBgpAction
Description copied from interface:RoutingProtocolsIssues a BGP clear/reset action against a routing protocol on a connection.- Specified by:
createBgpActionin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocoltype- the BGP action type (clear/reset, IPv4/IPv6, inbound)- Returns:
- the created BGP action
-
getBgpAction
Description copied from interface:RoutingProtocolsRetrieves a single BGP clear/reset action by its identifier.- Specified by:
getBgpActionin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocolactionId- the unique identifier of the BGP action- Returns:
- the BGP action
-
getChanges
Description copied from interface:RoutingProtocolsLists the changes recorded against a routing protocol on a connection.- Specified by:
getChangesin interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocol- Returns:
- the list of routing protocol changes
-
getChange
Description copied from interface:RoutingProtocolsRetrieves a single routing protocol change by its identifier.- Specified by:
getChangein interfaceRoutingProtocols- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocolchangeId- the unique identifier of the change- Returns:
- the routing protocol change
-