Class RoutingProtocolOperator.RoutingProtocolBuilder
java.lang.Object
com.eqixiac.equinix.fabric.model.json.creators.RoutingProtocolOperator.RoutingProtocolBuilder
- Enclosing class:
RoutingProtocolOperator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Connection connection) ofType(RoutingProtocolType type) withAsOverrideEnabled(Boolean asOverrideEnabled) Enables or disables AS number override on a BGP routing protocol.withBgpAuthKey(String bgpAuthKey) Sets the BGP authorization key (MD5 peering password) for a BGP routing protocol.withBGPIpv4(String customerPeerIp, String equinixPeerIp, Boolean enabled) withBGPIpv4Options(Long outboundASPrependCount, Long inboundMED, Long outboundMED, Long routesMax) Sets the optional BGP IPv4 route-policy attributes.withBGPIpv6(String customerPeerIp, String equinixPeerIp, Boolean enabled) withBGPIpv6Options(Long outboundASPrependCount, Long inboundMED, Long outboundMED, Long routesMax) Sets the optional BGP IPv6 route-policy attributes.withCustomerAsn(Long customerAsn) withDirectIpv4(String equinixIfaceIp) withDirectIpv6(String equinixIfaceIp)
-
Constructor Details
-
RoutingProtocolBuilder
protected RoutingProtocolBuilder()
-
-
Method Details
-
ofType
-
withName
-
withBGPIpv4
public RoutingProtocolOperator.RoutingProtocolBuilder withBGPIpv4(String customerPeerIp, String equinixPeerIp, Boolean enabled) -
withBGPIpv6
public RoutingProtocolOperator.RoutingProtocolBuilder withBGPIpv6(String customerPeerIp, String equinixPeerIp, Boolean enabled) -
withBGPIpv4Options
public RoutingProtocolOperator.RoutingProtocolBuilder withBGPIpv4Options(Long outboundASPrependCount, Long inboundMED, Long outboundMED, Long routesMax) Sets the optional BGP IPv4 route-policy attributes.- Parameters:
outboundASPrependCount- AS path prepend count (0-5)inboundMED- inbound Multi Exit Discriminator attributeoutboundMED- outbound Multi Exit Discriminator attributeroutesMax- maximum learnt prefixes limit- Returns:
- this builder
-
withBGPIpv6Options
public RoutingProtocolOperator.RoutingProtocolBuilder withBGPIpv6Options(Long outboundASPrependCount, Long inboundMED, Long outboundMED, Long routesMax) Sets the optional BGP IPv6 route-policy attributes.- Parameters:
outboundASPrependCount- AS path prepend count (0-5)inboundMED- inbound Multi Exit Discriminator attributeoutboundMED- outbound Multi Exit Discriminator attributeroutesMax- maximum learnt prefixes limit- Returns:
- this builder
-
withDirectIpv4
-
withDirectIpv6
-
withBFD
-
withCustomerAsn
-
withBgpAuthKey
Sets the BGP authorization key (MD5 peering password) for a BGP routing protocol.- Parameters:
bgpAuthKey- the BGP authorization key- Returns:
- this builder
-
withAsOverrideEnabled
public RoutingProtocolOperator.RoutingProtocolBuilder withAsOverrideEnabled(Boolean asOverrideEnabled) Enables or disables AS number override on a BGP routing protocol.- Parameters:
asOverrideEnabled- whether to enable AS number override- Returns:
- this builder
-
create
-
create
-