diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-22 20:19:12 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-22 20:19:12 -0500 |
commit | 8b1517010db0046db28c247d40e186961e202985 (patch) | |
tree | e7e93b9c1dc93e53dd20201814428884b4897b32 /devel | |
parent | f155e941ea2e27197b64effd7247d6bad2f7d8da (diff) | |
download | horizon-8b1517010db0046db28c247d40e186961e202985.tar.gz horizon-8b1517010db0046db28c247d40e186961e202985.tar.bz2 horizon-8b1517010db0046db28c247d40e186961e202985.tar.xz horizon-8b1517010db0046db28c247d40e186961e202985.zip |
devel: YANG: Add PPPoE stuff
Diffstat (limited to 'devel')
-rw-r--r-- | devel/image.yang | 34 |
1 files changed, 34 insertions, 0 deletions
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; |