openconfig-bgp-common-structure

This sub-module contains groupings that are common across multiple BGP contexts and provide structure around other primitive gro...

  • Version: 2025-04-18

    openconfig-bgp-common-structure@2025-04-18


    
      submodule openconfig-bgp-common-structure {
    
        yang-version 1;
    
        belongs-to openconfig-bgp {
            prefix oc-bgp;
        }
    
        import openconfig-extensions {
          prefix oc-ext;
        }
    
        include openconfig-bgp-common-multiprotocol;
        include openconfig-bgp-common;
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
        netopenconfig@googlegroups.com";
    
        description
          "This sub-module contains groupings that are common across multiple BGP
        contexts and provide structure around other primitive groupings.";
    
        revision "2025-04-18" {
          description
            "Clarification to usage of link-bandwidth-ext-community
          container under BGP use-multiple-paths`.";
          reference
            "9.9.1";
    
        }
    
        revision "2025-03-30" {
          description
            "Add schema for auto-generated link-bandwidth extended community
          for learned routes.";
          reference
            "9.9.0";
    
        }
    
        revision "2024-09-06" {
          description
            "Restore NONE enum value for community-type.";
          reference
            "9.8.0";
    
        }
    
        revision "2023-12-28" {
          description
            "Clarification to last-prefix-limit-exceeded in description";
          reference
            "9.7.1";
    
        }
    
        revision "2023-12-28" {
          description
            "Add support for controling use of link-bandwidth extended
          community for BGP multipath.";
          reference
            "9.7.0";
    
        }
    
        revision "2023-11-02" {
          description
            "Fix revision '2023-03-31': send-community-type was added to the
           wrong grouping.
          Allow configuring send-community per AFI-SAFI at
           neighbor/peer-group.";
          reference
            "9.6.0";
    
        }
    
        revision "2023-11-01" {
          description
            "Add default apply policy to global and per afi-safi config.";
          reference
            "9.5.0";
    
        }
    
        revision "2023-06-27" {
          description
            "Clarify bgp remote-port description";
          reference
            "9.4.1";
    
        }
    
        revision "2023-04-01" {
          description
            "Add support for BGP large communities [rfc8092] in
          send-community.
          Leaf send-community was replaced by the leaf-list
          send-community-type to allow the combination of different
          community types";
          reference
            "9.4.0";
    
        }
    
        revision "2023-03-31" {
          description
            "Allow configuring send-community per AFI-SAFI at
           neighbor/peer-group.";
          reference
            "9.3.0";
    
        }
    
        revision "2022-12-12" {
          description
            "Removed the default of enabled leaf of AFI-SAFI
          at neighbor/peer-group to support BGP inheritance model.";
          reference
            "9.2.0";
    
        }
    
        revision "2022-05-21" {
          description
            "Added extended-next-hop-encoding leaf.";
          reference
            "9.1.0";
    
        }
    
        revision "2022-04-26" {
          description
            "Transition decimal64 types to uint16 for various BGP timers";
          reference
            "9.0.0";
    
        }
    
        revision "2022-03-21" {
          description "Add BGP port";
          reference
            "8.1.0";
    
        }
    
        revision "2021-12-01" {
          description
            "Add prefix-limit-received, add prefix-limit
          state nodes, change/relocate restart-timer";
          reference
            "8.0.0";
    
        }
    
        revision "2021-10-21" {
          description
            "Removal of top-level /bgp container";
          reference
            "7.0.0";
    
        }
    
        revision "2021-06-16" {
          description
            "Remove trailing whitespace";
          reference
            "6.1.1";
    
        }
    
        revision "2021-03-17" {
          description
            "Add bfd support without augmentation.";
          reference
            "6.1.0";
    
        }
    
        revision "2019-07-10" {
          description
            "Normalise timestamp units to nanoseconds.";
          reference
            "6.0.0";
    
        }
    
        revision "2019-05-28" {
          description
            "Clarify prefix counter descriptions, add received-pre-policy
          counter.";
          reference
            "5.2.0";
    
        }
    
        revision "2019-04-16" {
          description
            "Add BGP RIB to the top-level BGP container";
          reference
            "5.1.0";
    
        }
    
        revision "2018-11-21" {
          description
            "Add OpenConfig module metadata extensions.";
          reference
            "5.0.2";
    
        }
    
        revision "2018-08-20" {
          description
            "Correct description of AFI-SAFI enabled leaf.";
          reference
            "5.0.1";
    
        }
    
        revision "2018-04-11" {
          description
            "Correct naming of BGP maximum prefix warning percentage leaf.";
          reference
            "5.0.0";
    
        }
    
        revision "2018-03-20" {
          description "Added SR-TE policy SAFI";
          reference
            "4.1.0";
    
        }
    
        revision "2017-07-30" {
          description
            "Clarification of add-paths send-max leaf";
          reference
            "4.0.1";
    
        }
    
        revision "2017-07-10" {
          description
            "Add error notifications; moved add-paths config; add AS
          prepend policy features; removed unneeded config leaves";
          reference
            "4.0.0";
    
        }
    
        revision "2017-02-02" {
          description
            "Bugfix to remove remaining global-level policy data";
          reference
            "3.0.1";
    
        }
    
        revision "2017-01-26" {
          description
            "Add dynamic neighbor support, migrate to OpenConfig types";
          reference
            "3.0.0";
    
        }
    
        revision "2016-06-21" {
          description "OpenConfig BGP refactor";
          reference
            "2.1.1";
    
        }
    
        oc-ext:openconfig-version "9.9.1";
    
        grouping bgp-common-structure-neighbor-group-logging-options {
          description
            "Structural grouping used to include error handling configuration and
          state for both BGP neighbors and groups";
          container logging-options {
            description
              "Logging options for events related to the BGP neighbor or
            group";
            container config {
              description
                "Configuration parameters enabling or modifying logging
              for events relating to the BGPgroup";
              uses bgp-common-neighbor-group-logging-options-config;
            }  // container config
    
            container state {
              config false;
              description
                "State information relating to logging for the BGP neighbor
              or group";
              uses bgp-common-neighbor-group-logging-options-config;
            }  // container state
          }  // container logging-options
        }  // grouping bgp-common-structure-neighbor-group-logging-options
    
        grouping bgp-common-structure-neighbor-group-ebgp-multihop {
          description
            "Structural grouping used to include eBGP multihop configuration and
          state for both BGP neighbors and peer groups";
          container ebgp-multihop {
            description
              "eBGP multi-hop parameters for the BGPgroup";
            container config {
              description
                "Configuration parameters relating to eBGP multihop for the
              BGP group";
              uses bgp-common-neighbor-group-multihop-config;
            }  // container config
    
            container state {
              config false;
              description
                "State information for eBGP multihop, for the BGP neighbor
              or group";
              uses bgp-common-neighbor-group-multihop-config;
            }  // container state
          }  // container ebgp-multihop
        }  // grouping bgp-common-structure-neighbor-group-ebgp-multihop
    
        grouping bgp-common-structure-neighbor-group-route-reflector {
          description
            "Structural grouping used to include route reflector configuration and
          state for both BGP neighbors and peer groups";
          container route-reflector {
            description
              "Route reflector parameters for the BGPgroup";
            container config {
              description
                "Configuraton parameters relating to route reflection
              for the BGPgroup";
              uses bgp-common-neighbor-group-route-reflector-config;
            }  // container config
    
            container state {
              config false;
              description
                "State information relating to route reflection for the
              BGPgroup";
              uses bgp-common-neighbor-group-route-reflector-config;
            }  // container state
          }  // container route-reflector
        }  // grouping bgp-common-structure-neighbor-group-route-reflector
    
        grouping bgp-common-structure-neighbor-group-as-path-options {
          description
            "Structural grouping used to include AS_PATH manipulation configuration
          and state for both BGP neighbors and peer groups";
          container as-path-options {
            description
              "AS_PATH manipulation parameters for the BGP neighbor or
            group";
            container config {
              description
                "Configuration parameters relating to AS_PATH manipulation
              for the BGP peer or group";
              uses bgp-common-neighbor-group-as-path-options-config;
            }  // container config
    
            container state {
              config false;
              description
                "State information relating to the AS_PATH manipulation
              mechanisms for the BGP peer or group";
              uses bgp-common-neighbor-group-as-path-options-config;
            }  // container state
          }  // container as-path-options
        }  // grouping bgp-common-structure-neighbor-group-as-path-options
    
        grouping bgp-common-structure-neighbor-group-add-paths {
          description
            "Structural grouping used to include ADD-PATHs configuration and state
          for both BGP neighbors and peer groups";
          container add-paths {
            description
              "Parameters relating to the advertisement and receipt of
            multiple paths for a single NLRI (add-paths)";
            container config {
              description
                "Configuration parameters relating to ADD_PATHS";
              uses bgp-common-neighbor-group-add-paths-config;
            }  // container config
    
            container state {
              config false;
              description
                "State information associated with ADD_PATHS";
              uses bgp-common-neighbor-group-add-paths-config;
            }  // container state
          }  // container add-paths
        }  // grouping bgp-common-structure-neighbor-group-add-paths
    
        grouping bgp-common-structure-neighbor-group-auto-gen-link-bandwidth {
          description
            "Common grouping used for both groups and neighbors which
          provides configuration and state parameters relating to
          auto-generation of link-bandwidth extended-community
          attribute.";
          container import {
            description
              "Container used to provide configuration and state
            parameters related to auto-generation of link-bandwidth
            extended-community attribute for learned routes.
            Applies only for routes that do not have link-bandwidth
            extended-community.
            Any policy action related to link-bandwidth
            extended-community takes precedence over this
            configuration.
            This configuration when present, MUST be supported in
            context of single-hop EBGP neighbor (with and without
            TTL security enabled). Implementation may support it
            in other reasonable contexts. Implementation shall not
            silently ignore this configuration. If present in not
            supported context, implementation shall reject
            configuration.";
            container config {
              description
                "Container used to provide configuration
              parameters related to auto-generation of link-bandwidth
              extended-community attribute for learned routes.
              Applies only for routes that do not have link-bandwidth
              extended-community.";
              uses auto-gen-link-bandwidth-config;
            }  // container config
    
            container state {
              config false;
              description
                "Container used to provide state
              parameters related to auto-generation of link-bandwidth
              extended-community attribute for learned routes.
              Apply only for routes that do not have link-bandwidth
              extended-community.";
              uses auto-gen-link-bandwidth-config;
            }  // container state
          }  // container import
        }  // grouping bgp-common-structure-neighbor-group-auto-gen-link-bandwidth
    
        grouping bgp-common-structure-neighbor-group-auto-link-bandwidth {
          description
            "Parameters related to automatic generation link-bandwidth
          extended community base on underlaying interface speed.";
          container auto-link-bandwidth {
            description
              "Parameters related to automatic generation link-bandwidth
            extended community base on underlaying interface speed.";
            uses bgp-common-structure-neighbor-group-auto-gen-link-bandwidth;
          }  // container auto-link-bandwidth
        }  // grouping bgp-common-structure-neighbor-group-auto-link-bandwidth
      }  // submodule openconfig-bgp-common-structure
    

© 2024 YumaWorks, Inc. All rights reserved.