6 namespace "urn:ericsson:params:xml:ns:yang:ebgp";
10 // import some basic inet types
11 import ietf-inet-types { prefix inet; revision-date "2013-07-15"; }
21 "BGP configuration model for Ericsson's implementation of
24 revision "2015-09-01" {
28 typedef tcp-md5-signature-password-type {
33 "The shared secret used by TCP MD5 Signature Option. The length is
34 limited to 80 chars because A) it is identified by the RFC as current
35 practice and B) it is the maximum length accepted by Quagga
38 } // typedef tcp-md5-signature-password-type
41 grouping tcp-security-option-grouping {
42 description "TCP security options.";
43 choice tcp-security-option {
44 description "The tcp security option in use, if any.";
46 case tcp-md5-signature-option {
47 description "The connection uses TCP MD5 Signature Option.";
49 leaf tcp-md5-signature-password {
50 type tcp-md5-signature-password-type;
51 description "The shared secret used to sign the packets.";
52 } // leaf tcp-md5-signature-password
53 } // case tcp-md5-signature-option
55 } // choice tcp-security-option
56 } // grouping tcp-security-option-grouping
61 container config-server {
63 type inet:ipv4-address;
89 description "BGP keepalive timer value";
94 description "BGP hold time value";
99 container graceful-restart {
100 leaf stalepath-time {
118 type inet:ipv4-address;
125 uses tcp-security-option-grouping;
126 container ebgp-multihop {
132 path "/ericsson-bgp:bgp/neighbors/address";
136 container update-source {
138 type inet:ipv4-address;
142 path "/ericsson-bgp:bgp/neighbors/address";
146 list address-families {
158 path "/ericsson-bgp:bgp/neighbors/address";
176 description "Mac address of the advertised host.";
179 leaf bgp_control_plane_type{
180 description "Specifies the route type";
181 type bgp_control_plane_type;
185 type inet:ipv4-address;
191 description "Ethernet Tag Id to Identify a broadcast domain in an EVPN Instance";
195 description "Ethernet Segment Identifier.";
199 description "Encapsulation types supported as per RFC 5512.";
203 description "Gateway Mac Address for the advertised host.";
207 description "VxLAN Identifier.";
213 description "l2vni for EVPN RT2 route advertisement";
223 list address-families-vrf {
234 leaf-list import-rts {
237 leaf-list export-rts {
245 "This value represents the layer to which
246 a VRF entry belongs to in IP protocol.";
252 description "VRF represents a MAC-VRF.";
257 description "VRF represents an IP-VRF.";
262 typedef address_family
265 "This value represents the address family
266 a VRF entry supports";
272 description "VRF represents IPv4 VRF.";
277 description "VRF represents an IPv6-VRF.";
282 description "VRF represents a MAC-VRF.";
290 "Encapsulation types supported as per
291 RFC 5512 - The BGP Encapsulation Subsequent
292 Address Family Identifier (SAFI) and the
293 BGP Tunnel Encapsulation Attribute";
299 description "L2TPV3_OVER_IP";
309 description "IP_IN_IP";
324 typedef bgp_control_plane_type
327 "protocol type - used to know which route type is referred to";
333 description "PROTOCOL_LU";
338 description "PROTOCOL_L3VPN";
343 description "PROTOCOL_EVPN";
348 description "PROTOCOL_ANY";
356 "The type of the VPN Instance.
357 L3 indicates it is an L3VPN.
358 L2 indicates it is EVPN";
389 leaf multipath-enabled {
409 description "is BFD enabled";
417 description "mapping: DC-Gwy ip <> TEP ip";