RouteFilterRule.UpdateStages.WithBgpCommunities Interface

public static interface RouteFilterRule.UpdateStages.WithBgpCommunities

The stage of the route filter rule description allowing bgp service communities to be specified.

Method Summary

Modifier and Type Method and Description
abstract Update withBgpCommunities(String[] communities)

The collection for bgp community values to filter on.

abstract Update withBgpCommunity(String community)

The bgp community values to filter on.

abstract Update withoutBgpCommunity(String community)

Remove the bgp community value to filter on.

Method Details

withBgpCommunities

public abstract RouteFilterRule.Update withBgpCommunities(String[] communities)

The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. Note: this method will overwrite existing communities.

Parameters:

communities - service communities

Returns:

the next stage of the update

withBgpCommunity

public abstract RouteFilterRule.Update withBgpCommunity(String community)

The bgp community values to filter on. e.g. '12076:5010'. This method has additive effect.

Parameters:

community - service community

Returns:

the next stage of the update

withoutBgpCommunity

public abstract RouteFilterRule.Update withoutBgpCommunity(String community)

Remove the bgp community value to filter on. e.g. '12076:5010'

Parameters:

community - service community

Returns:

the next stage of the update

Applies to