Interface BgpPeers
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<BgpPeers>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<BgpAfVpnInstanceConfig>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface BgpPeers extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpAfVpnInstanceConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<BgpPeers>
This class represents the following YANG schema fragment defined in module l3vpn
container bgpPeers { list bgpPeer { key peerAddr; leaf peerAddr { type inet:ip-address; } leaf groupName { type string { length 1..47; } } leaf remoteAs { type string { length 1..11; } } leaf description { type string { length 1..80; pattern ([^?]*); } } leaf soo { type string { length 3..21; } } leaf substituteAsEnable { type boolean; default false; } } }
The schema path to identify an instance is l3vpn/bgp-af-vpn-instance-config/bgpPeersTo create instances of this class use
BgpPeersBuilder
.- See Also:
BgpPeersBuilder
-
-
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 java.util.List<BgpPeer>
getBgpPeer()
BGP Peer configure classdefault java.lang.Class<BgpPeers>
implementedInterface()
default @NonNull java.util.List<BgpPeer>
nonnullBgpPeer()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<BgpPeers> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getBgpPeer
@Nullable java.util.List<BgpPeer> getBgpPeer()
BGP Peer configure class- Returns:
java.util.List
bgpPeer
, ornull
if not present
-
nonnullBgpPeer
default @NonNull java.util.List<BgpPeer> nonnullBgpPeer()
- Returns:
java.util.List
bgpPeer
, or an empty list if it is not present
-
-