Interface RoutingProtocols
- All Known Implementing Classes:
RoutingProtocolsImpl
public interface RoutingProtocols
Client interface for managing routing protocols on Equinix Fabric connections.
Routing protocols (BGP, Direct) control how routes are exchanged over a connection.
-
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.
-
Method Details
-
list
Lists all routing protocols configured on the specified connection.- Parameters:
connectionId- the unique identifier of the connection- Returns:
- a paginated list of routing protocols for the connection
-
getByUuid
Retrieves a single routing protocol by its unique identifier on the specified connection.- Parameters:
connectionId- the unique identifier of the connectionuuid- the unique identifier of the routing protocol- Returns:
- the routing protocol matching the given UUID
-
define
Begins the fluent builder for creating a new routing protocol. Call methods on the returned builder to configure the protocol, then callcreate().- Returns:
- a builder for configuring the new routing protocol
-
replace
RoutingProtocol 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. Unlike a PATCH, the supplied configuration replaces the routing protocol in its entirety.- Parameters:
connectionId- the unique identifier of the connectionuuid- the unique identifier of the routing protocol to replacebuilder- a configured routing protocol builder (as returned bydefine())- Returns:
- the replaced routing protocol
-
createBulk
List<RoutingProtocol> createBulk(String connectionId, List<RoutingProtocolOperator.RoutingProtocolBuilder> builders) Creates multiple routing protocols on a connection in a single bulk request.- Parameters:
connectionId- the unique identifier of the connectionbuilders- the configured routing protocol builders (each as returned bydefine())- Returns:
- the list of created routing protocols
-
getBgpActions
Lists the BGP clear/reset actions issued against a routing protocol on a connection.- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocol- Returns:
- the list of BGP actions
-
createBgpAction
Issues a BGP clear/reset action against a routing protocol on a connection.- 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
Retrieves a single BGP clear/reset action by its identifier.- 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
Lists the changes recorded against a routing protocol on a connection.- Parameters:
connectionId- the unique identifier of the connectionroutingProtocolId- the unique identifier of the routing protocol- Returns:
- the list of routing protocol changes
-
getChange
Retrieves a single routing protocol change by its identifier.- 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
-