openconfig-bgp

This module describes a YANG model for BGP protocol configuration.It is a limited subset of all of the configuration parameters ...

  • Version: 2016-06-21

    openconfig-bgp@2016-06-21


    
      module openconfig-bgp {
    
        yang-version 1;
    
        namespace
          "http://openconfig.net/yang/bgp";
    
        prefix oc-bgp;
    
        import openconfig-extensions {
          prefix oc-ext;
        }
        import openconfig-routing-policy {
          prefix oc-rpol;
        }
    
        include openconfig-bgp-common;
        include openconfig-bgp-common-multiprotocol;
        include openconfig-bgp-common-structure;
        include openconfig-bgp-peer-group;
        include openconfig-bgp-neighbor;
        include openconfig-bgp-global;
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
        netopenconfig@googlegroups.com";
    
        description
          "This module describes a YANG model for BGP protocol
        configuration.It is a limited subset of all of the configuration
        parameters available in the variety of vendor implementations,
        hence it is expected that it would be augmented with vendor-
        specific configuration data as needed. Additional modules or
        submodules to handle other aspects of BGP configuration,
        including policy, VRFs, VPNs, and additional address families
        are also expected.
    
        This model supports the following BGP configuration level
        hierarchy:
    
          BGP
            |
            +-> [ global BGP configuration ]
              +-> AFI / SAFI global
            +-> peer group
              +-> [ peer group config ]
              +-> AFI / SAFI [ per-AFI overrides ]
            +-> neighbor
              +-> [ neighbor config ]
              +-> [ optional pointer to peer-group ]
              +-> AFI / SAFI [ per-AFI overrides ]";
    
        revision "2016-06-21" {
          description "OpenConfig BGP refactor";
          reference
            "2.1.1";
    
        }
    
        revision "2016-06-06" {
          description
            "OpenConfig public release";
          reference
            "2.1.0";
    
        }
    
        revision "2016-03-31" {
          description
            "OpenConfig public release";
          reference
            "2.0.1";
    
        }
    
        oc-ext:openconfig-version "2.1.1";
    
        grouping bgp-top {
          description
            "Top-level grouping for the BGP model data";
          container bgp {
            description
              "Top-level configuration and state for the BGP router";
            container global {
              description
                "Global configuration for the BGP router";
              uses bgp-global-base;
    
              uses oc-rpol:apply-policy-group;
            }  // container global
    
            container neighbors {
              description
                "Configuration for BGP neighbors";
              uses bgp-neighbor-list;
            }  // container neighbors
    
            container peer-groups {
              description
                "Configuration for BGP peer-groups";
              uses bgp-peer-group-list;
            }  // container peer-groups
          }  // container bgp
        }  // grouping bgp-top
    
        uses bgp-top;
      }  // module openconfig-bgp
    

© 2023 YumaWorks, Inc. All rights reserved.