Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120
Interface BgpNeighbor
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,MatchSetOptionsRestrictedGroup
- All Known Subinterfaces:
FromNeighbor,ToNeighbor
@Generated("mdsal-binding-generator") public interface BgpNeighbor extends org.opendaylight.yangtools.yang.binding.DataObject, MatchSetOptionsRestrictedGroup
This class represents the following YANG schema fragment defined in module odl-bgp-policy
grouping bgp-neighbor { leaf neighbor-set { type leafref { path /rpol:routing-policy/rpol:defined-sets/rpol:neighbor-sets/rpol:neighbor-set/rpol:neighbor-set-name; } } uses rpol:match-set-options-restricted-group; }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetNeighborSet()Return neighborSet, ornullif it is not present.Class<? extends BgpNeighbor>implementedInterface()default @NonNull StringrequireNeighborSet()Return neighborSet, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.MatchSetOptionsRestrictedGroup
getMatchSetOptions, requireMatchSetOptions
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighbor> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceMatchSetOptionsRestrictedGroup
-
getNeighborSet
String getNeighborSet()
Return neighborSet, ornullif it is not present.References a defined neighbor set- Returns:
StringneighborSet, ornullif it is not present.
-
requireNeighborSet
default @NonNull String requireNeighborSet()
Return neighborSet, guaranteed to be non-null.References a defined neighbor set- Returns:
StringneighborSet, guaranteed to be non-null.- Throws:
NoSuchElementException- if neighborSet is not present
-
-