Class RoutingProtocolsImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.RoutingProtocolsImpl
All Implemented Interfaces:
RoutingProtocols

public class RoutingProtocolsImpl extends Object implements RoutingProtocols
  • Constructor Details

    • RoutingProtocolsImpl

      public RoutingProtocolsImpl()
  • Method Details

    • list

      public PaginatedList<RoutingProtocol> list(String connectionId)
      Description copied from interface: RoutingProtocols
      Lists all routing protocols configured on the specified connection.
      Specified by:
      list in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      Returns:
      a paginated list of routing protocols for the connection
    • getByUuid

      public RoutingProtocol getByUuid(String connectionId, String uuid)
      Description copied from interface: RoutingProtocols
      Retrieves a single routing protocol by its unique identifier on the specified connection.
      Specified by:
      getByUuid in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      uuid - the unique identifier of the routing protocol
      Returns:
      the routing protocol matching the given UUID
    • define

      Description copied from interface: RoutingProtocols
      Begins the fluent builder for creating a new routing protocol. Call methods on the returned builder to configure the protocol, then call create().
      Specified by:
      define in interface RoutingProtocols
      Returns:
      a builder for configuring the new routing protocol
    • replace

      public RoutingProtocol replace(String connectionId, String uuid, RoutingProtocolOperator.RoutingProtocolBuilder builder)
      Description copied from interface: RoutingProtocols
      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.
      Specified by:
      replace in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      uuid - the unique identifier of the routing protocol to replace
      builder - a configured routing protocol builder (as returned by RoutingProtocols.define())
      Returns:
      the replaced routing protocol
    • createBulk

      public List<RoutingProtocol> createBulk(String connectionId, List<RoutingProtocolOperator.RoutingProtocolBuilder> builders)
      Description copied from interface: RoutingProtocols
      Creates multiple routing protocols on a connection in a single bulk request.
      Specified by:
      createBulk in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      builders - the configured routing protocol builders (each as returned by RoutingProtocols.define())
      Returns:
      the list of created routing protocols
    • getBgpActions

      public List<BGPAction> getBgpActions(String connectionId, String routingProtocolId)
      Description copied from interface: RoutingProtocols
      Lists the BGP clear/reset actions issued against a routing protocol on a connection.
      Specified by:
      getBgpActions in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      routingProtocolId - the unique identifier of the routing protocol
      Returns:
      the list of BGP actions
    • createBgpAction

      public BGPAction createBgpAction(String connectionId, String routingProtocolId, BGPActionType type)
      Description copied from interface: RoutingProtocols
      Issues a BGP clear/reset action against a routing protocol on a connection.
      Specified by:
      createBgpAction in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      routingProtocolId - the unique identifier of the routing protocol
      type - the BGP action type (clear/reset, IPv4/IPv6, inbound)
      Returns:
      the created BGP action
    • getBgpAction

      public BGPAction getBgpAction(String connectionId, String routingProtocolId, String actionId)
      Description copied from interface: RoutingProtocols
      Retrieves a single BGP clear/reset action by its identifier.
      Specified by:
      getBgpAction in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      routingProtocolId - the unique identifier of the routing protocol
      actionId - the unique identifier of the BGP action
      Returns:
      the BGP action
    • getChanges

      public List<Change> getChanges(String connectionId, String routingProtocolId)
      Description copied from interface: RoutingProtocols
      Lists the changes recorded against a routing protocol on a connection.
      Specified by:
      getChanges in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      routingProtocolId - the unique identifier of the routing protocol
      Returns:
      the list of routing protocol changes
    • getChange

      public Change getChange(String connectionId, String routingProtocolId, String changeId)
      Description copied from interface: RoutingProtocols
      Retrieves a single routing protocol change by its identifier.
      Specified by:
      getChange in interface RoutingProtocols
      Parameters:
      connectionId - the unique identifier of the connection
      routingProtocolId - the unique identifier of the routing protocol
      changeId - the unique identifier of the change
      Returns:
      the routing protocol change