Interface AsPathSet
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<AsPathSet>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<AsPathSets>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<AsPathSetKey>
public interface AsPathSet extends org.opendaylight.yangtools.yang.binding.ChildOf<AsPathSets>, org.opendaylight.yangtools.yang.binding.Augmentable<AsPathSet>, org.opendaylight.yangtools.yang.binding.Identifiable<AsPathSetKey>
Definitions for AS path setsThis class represents the following YANG schema fragment defined in module openconfig-bgp-policy
list as-path-set { key as-path-set-name; leaf as-path-set-name { type string; } leaf-list as-path-set-member { type inet:as-number; } }
The schema path to identify an instance is openconfig-bgp-policy/routing-policy/defined-sets/(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-defined-sets/as-path-sets/as-path-setTo create instances of this class use
AsPathSetBuilder
.- See Also:
AsPathSetBuilder
,AsPathSetKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
getAsPathSetMember()
AS path expression -- list of ASes in the setString
getAsPathSetName()
name of the AS path set -- this is used to reference the set in match conditionsdefault Class<AsPathSet>
implementedInterface()
AsPathSetKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<AsPathSet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAsPathSetName
String getAsPathSetName()
name of the AS path set -- this is used to reference the set in match conditions- Returns:
java.lang.String
asPathSetName
, ornull
if not present
-
getAsPathSetMember
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber> getAsPathSetMember()
AS path expression -- list of ASes in the set- Returns:
java.util.List
asPathSetMember
, ornull
if not present
-
key
AsPathSetKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AsPathSetKey>
-
-