Interface OdlBgpPeerAcceptorConfigData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface OdlBgpPeerAcceptorConfigData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module contains the base YANG definitions for BGP Peer Acceptor Configuration. Copyright (c)2016 Cisco Systems, Inc. All rights reserved.; This program and the accompanying materials are made available under the terms of Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

    This class represents the following YANG schema fragment defined in module odl-bgp-peer-acceptor-config

     module odl-bgp-peer-acceptor-config {
       yang-version 1;
       namespace urn:opendaylight:params:xml:ns:yang:odl-bgp-peer-acceptor-config;
       prefix bgp-peer-acceptor-config;
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       revision 2020-01-20 {
       }
       revision 2016-10-03 {
       }
       list bgp-peer-acceptor-config {
         key config-name;
         leaf config-name {
           type string;
         }
         leaf binding-address {
           type inet:ip-address-no-zone;
           default 0.0.0.0;
         }
         leaf binding-port {
           type inet:port-number;
           default 179;
         }
       }
     }
     
    • Method Detail

      • getBgpPeerAcceptorConfig

        @Nullable Map<BgpPeerAcceptorConfigKey,​BgpPeerAcceptorConfig> getBgpPeerAcceptorConfig()
        Return bgpPeerAcceptorConfig, or null if it is not present.
        Returns:
        Map<BgpPeerAcceptorConfigKey, BgpPeerAcceptorConfig> bgpPeerAcceptorConfig, or null if it is not present.
      • nonnullBgpPeerAcceptorConfig

        default @NonNull Map<BgpPeerAcceptorConfigKey,​BgpPeerAcceptorConfig> nonnullBgpPeerAcceptorConfig()
        Return bgpPeerAcceptorConfig, or an empty list if it is not present.
        Returns:
        Map<BgpPeerAcceptorConfigKey, BgpPeerAcceptorConfig> bgpPeerAcceptorConfig, or an empty list if it is not present.