From 8b1517010db0046db28c247d40e186961e202985 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 22 Jun 2020 20:19:12 -0500 Subject: devel: YANG: Add PPPoE stuff --- devel/image.yang | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/devel/image.yang b/devel/image.yang index 7a18418..cd0069c 100644 --- a/devel/image.yang +++ b/devel/image.yang @@ -23,6 +23,9 @@ module horizon-image { revision 2020-05-12 { description "Flatten packages node. Remove image-type leaf and generate action." } + revision 2020-06-22 { + description "Add PPPoE configuration support." + } typedef architecture { type enumeration { @@ -281,6 +284,37 @@ module horizon-image { } } } + container pppoe_links { + list pppoe { + key "interface"; + + leaf interface { + type string; + description "The interface used for this link."; + } + leaf mtu { + type uint16; + description "The MTU to negotiate for this link."; + } + leaf username { + type string; + description "The username for authenticating this link."; + } + leaf password { + type string; + description "The password/secret for authenticating this link."; + } + leaf lcp-echo-interval { + type uint8; + description "The number of seconds between LCP echo requests."; + } + leaf lcp-echo-failure { + type uint8; + description + "The number of echo request failures before this link is failed."; + } + } + } container nameservers { list nameserver { type string; -- cgit v1.2.3-60-g2f50