Thomas Vachuska | 8ca75a2 | 2017-08-24 16:12:59 -0700 | [diff] [blame] | 1 | submodule openconfig-bgp-common-structure { |
| 2 | |
| 3 | belongs-to openconfig-bgp { |
| 4 | prefix "oc-bgp"; |
| 5 | } |
| 6 | |
| 7 | import openconfig-extensions { prefix oc-ext; } |
| 8 | |
| 9 | include openconfig-bgp-common-multiprotocol; |
| 10 | include openconfig-bgp-common; |
| 11 | |
| 12 | // meta |
| 13 | organization |
| 14 | "OpenConfig working group"; |
| 15 | |
| 16 | contact |
| 17 | "OpenConfig working group |
| 18 | netopenconfig@googlegroups.com"; |
| 19 | |
| 20 | description |
| 21 | "This sub-module contains groupings that are common across multiple BGP |
| 22 | contexts and provide structure around other primitive groupings."; |
| 23 | |
| 24 | |
| 25 | oc-ext:openconfig-version "4.0.1"; |
| 26 | |
| 27 | revision "2017-07-30" { |
| 28 | description |
| 29 | "Clarification of add-paths send-max leaf"; |
| 30 | reference "4.0.1"; |
| 31 | } |
| 32 | |
| 33 | revision "2017-07-10" { |
| 34 | description |
| 35 | "Add error notifications; moved add-paths config; add AS |
| 36 | prepend policy features; removed unneeded config leaves"; |
| 37 | reference "4.0.0"; |
| 38 | } |
| 39 | |
| 40 | revision "2017-02-02" { |
| 41 | description |
| 42 | "Bugfix to remove remaining global-level policy data"; |
| 43 | reference "3.0.1"; |
| 44 | } |
| 45 | |
| 46 | revision "2017-01-26" { |
| 47 | description |
| 48 | "Add dynamic neighbor support, migrate to OpenConfig types"; |
| 49 | reference "3.0.0"; |
| 50 | } |
| 51 | |
| 52 | revision "2016-06-21" { |
| 53 | description |
| 54 | "OpenConfig BGP refactor"; |
| 55 | reference "2.1.1"; |
| 56 | } |
| 57 | |
| 58 | grouping bgp-common-structure-neighbor-group-logging-options { |
| 59 | description |
| 60 | "Structural grouping used to include error handling configuration and |
| 61 | state for both BGP neighbors and groups"; |
| 62 | |
| 63 | container logging-options { |
| 64 | description |
| 65 | "Logging options for events related to the BGP neighbor or |
| 66 | group"; |
| 67 | container config { |
| 68 | description |
| 69 | "Configuration parameters enabling or modifying logging |
| 70 | for events relating to the BGPgroup"; |
| 71 | uses bgp-common-neighbor-group-logging-options-config; |
| 72 | } |
| 73 | container state { |
| 74 | config false; |
| 75 | description |
| 76 | "State information relating to logging for the BGP neighbor |
| 77 | or group"; |
| 78 | uses bgp-common-neighbor-group-logging-options-config; |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | grouping bgp-common-structure-neighbor-group-ebgp-multihop { |
| 84 | description |
| 85 | "Structural grouping used to include eBGP multihop configuration and |
| 86 | state for both BGP neighbors and peer groups"; |
| 87 | |
| 88 | container ebgp-multihop { |
| 89 | description |
| 90 | "eBGP multi-hop parameters for the BGPgroup"; |
| 91 | container config { |
| 92 | description |
| 93 | "Configuration parameters relating to eBGP multihop for the |
| 94 | BGP group"; |
| 95 | uses bgp-common-neighbor-group-multihop-config; |
| 96 | } |
| 97 | container state { |
| 98 | config false; |
| 99 | description |
| 100 | "State information for eBGP multihop, for the BGP neighbor |
| 101 | or group"; |
| 102 | uses bgp-common-neighbor-group-multihop-config; |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | grouping bgp-common-structure-neighbor-group-route-reflector { |
| 108 | description |
| 109 | "Structural grouping used to include route reflector configuration and |
| 110 | state for both BGP neighbors and peer groups"; |
| 111 | |
| 112 | container route-reflector { |
| 113 | description |
| 114 | "Route reflector parameters for the BGPgroup"; |
| 115 | container config { |
| 116 | description |
| 117 | "Configuraton parameters relating to route reflection |
| 118 | for the BGPgroup"; |
| 119 | uses bgp-common-neighbor-group-route-reflector-config; |
| 120 | } |
| 121 | container state { |
| 122 | config false; |
| 123 | description |
| 124 | "State information relating to route reflection for the |
| 125 | BGPgroup"; |
| 126 | uses bgp-common-neighbor-group-route-reflector-config; |
| 127 | } |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | grouping bgp-common-structure-neighbor-group-as-path-options { |
| 132 | description |
| 133 | "Structural grouping used to include AS_PATH manipulation configuration |
| 134 | and state for both BGP neighbors and peer groups"; |
| 135 | |
| 136 | container as-path-options { |
| 137 | description |
| 138 | "AS_PATH manipulation parameters for the BGP neighbor or |
| 139 | group"; |
| 140 | container config { |
| 141 | description |
| 142 | "Configuration parameters relating to AS_PATH manipulation |
| 143 | for the BGP peer or group"; |
| 144 | uses bgp-common-neighbor-group-as-path-options-config; |
| 145 | } |
| 146 | container state { |
| 147 | config false; |
| 148 | description |
| 149 | "State information relating to the AS_PATH manipulation |
| 150 | mechanisms for the BGP peer or group"; |
| 151 | uses bgp-common-neighbor-group-as-path-options-config; |
| 152 | } |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | grouping bgp-common-structure-neighbor-group-add-paths { |
| 157 | description |
| 158 | "Structural grouping used to include ADD-PATHs configuration and state |
| 159 | for both BGP neighbors and peer groups"; |
| 160 | |
| 161 | container add-paths { |
| 162 | description |
| 163 | "Parameters relating to the advertisement and receipt of |
| 164 | multiple paths for a single NLRI (add-paths)"; |
| 165 | container config { |
| 166 | description |
| 167 | "Configuration parameters relating to ADD_PATHS"; |
| 168 | uses bgp-common-neighbor-group-add-paths-config; |
| 169 | } |
| 170 | container state { |
| 171 | config false; |
| 172 | description |
| 173 | "State information associated with ADD_PATHS"; |
| 174 | uses bgp-common-neighbor-group-add-paths-config; |
| 175 | } |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | } |