PPP net.
Version: 2019-04-11
module huawei-ppp-net { yang-version 1; namespace "urn:huawei:yang:huawei-ppp-net"; prefix ppp-net; import huawei-ifm { prefix ifm; } import huawei-devm { prefix devm; } import ietf-inet-types { prefix inet; } import huawei-extension { prefix ext; } import huawei-pub-type { prefix pub-type; } import ietf-yang-types { prefix yang; } organization "Huawei Technologies Co., Ltd."; contact "Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com"; description "PPP net."; revision "2019-04-11" { description "Initial revision."; reference "Huawei private."; } ext:task-name "ppp"; typedef ppp-damp-level-type { type enumeration { enum "light" { value 0; description "Light weight."; } enum "middle" { value 1; description "Middle weight."; } enum "heavy" { value 2; description "Heavy weight."; } enum "manual" { value 3; description "Manually configure the parameters."; } } description "PPP damp level type is light/middle/heavy/manual."; } typedef ppp-net-mru-negotiation-type { type enumeration { enum "ipv4" { value 0; description "IPv4 MRU negotiation on PPP MRU."; } enum "ipv6" { value 1; description "IPv6 MRU negotiation on PPP MRU."; } } description "PPP LCP MRU negotiation type."; } typedef ppp-enable { type enumeration { enum "disable" { value 0; description "Disabling."; } enum "enable" { value 1; description "Enabling."; } } description "Description of enable type."; } typedef ppp-net-link-type { type enumeration { enum "lcp" { value 0; description "LCP."; } enum "ipcp" { value 1; description "IPCP."; } } description "Link Type."; } typedef ppp-net-fsm-state { type enumeration { enum "initial" { value 0; description "Initial."; } enum "starting" { value 1; description "Starting."; } enum "closed" { value 2; description "Closed."; } enum "stopped" { value 3; description "Stopped."; } enum "closing" { value 4; description "Closing."; } enum "stopping" { value 5; description "Stopping."; } enum "request-sent" { value 6; description "Request sent."; } enum "ack-received" { value 7; description "Ack-received."; } enum "ack-sent" { value 8; description "Ack-sent."; } enum "opened" { value 9; description "Opened."; } enum "none" { value 10; description "None."; } } description "PPP fsm state."; } typedef mp-fragment-size { type enumeration { enum "fragment-128" { value 0; description "Fragment size 128 bytes."; } enum "fragment-256" { value 1; description "Fragment size 256 bytes."; } enum "fragment-512" { value 2; description "Fragment size 512 bytes."; } enum "no-fragment" { value 3; description "No fragment."; } enum "fragment-64" { value 4; description "Fragment size 64 bytes."; } } description "MP fragment size."; } typedef mp-member-physical-state { type enumeration { enum "down" { value 0; description "The interface is in the down state."; } enum "up" { value 1; description "The interface is in the up state."; } enum "admin-shutdown" { value 2; description "The interface is in the admin shutdown state."; } } description "MP group member physical state."; } typedef mp-member-protocol-state { type enumeration { enum "down" { value 0; description "The interface is in the down state."; } enum "up" { value 1; description "The interface is in the up state."; } enum "damping" { value 2; description "The interface is in the damping state."; } } description "MP group member protocol state."; } container ppp-net { description "PPP net."; container ppp-dampening { ext:generated-by "system" { ext:can-be-deleted; description "The PPP dampening whose level is light is generated by system automatically."; } presence "PPP protocol status damping enable."; description "Enable/disable type of PPP damp. If dampen-level is set to manual, the settings of the other parameters need to meet the following requirement: suppress-value/1000 <= (reuse-value/1000) * 2^ (max-suppress-time/half-life-period)."; leaf dampen-level { type ppp-damp-level-type; default "light"; description "PPP protocol status damping level."; } leaf half-life-period { when "../dampen-level='manual'"; type uint8 { range "1..60"; } units "s"; mandatory true; description "PPP protocol status damping half life time (seconds)"; } leaf suppress-value { when "../dampen-level='manual'"; type uint16 { range "1..20000"; } must "../suppress-value >= ../reuse-value"; mandatory true; description "1000 times of PPP protocol status damping suppress threshold."; } leaf reuse-value { when "../dampen-level='manual'"; type uint16 { range "1..20000"; } must "../suppress-value >= ../reuse-value"; mandatory true; description "1000 times of PPP protocol status damping reuse threshold."; } leaf max-suppress-time { when "../dampen-level='manual'"; type uint8 { range "1..255"; } units "s"; mandatory true; description "PPP protocol status damping max suppress time."; } } // container ppp-dampening container load-balance-identify-pppoe { description "Configure load balance identify PPPoE."; leaf load-balance-enable { type boolean; default "false"; description "Enable/disable a device to identify the IP."; } } // container load-balance-identify-pppoe } // container ppp-net } // module huawei-ppp-net
© 2023 YumaWorks, Inc. All rights reserved.