Link state pass through configuration.
Version: 2020-03-09
module huawei-lpt { yang-version 1; namespace "urn:huawei:yang:huawei-lpt"; prefix lpt; import huawei-extension { prefix ext; } import huawei-l2vpn { prefix l2vpn; } import ietf-inet-types { prefix inet; } 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 "Link state pass through configuration."; revision "2020-03-09" { description "Modify description."; reference "Huawei private."; } revision "2019-12-29" { description "Initial revision."; reference "Huawei private."; } ext:task-name "lpt"; typedef port-state { type enumeration { enum "up" { value 1; description "Port state is open."; } enum "down" { value 0; description "Port state is closed."; } } description "Port state."; } typedef fsm-state { type enumeration { enum "init" { value 0; description "Fsm state is init."; } enum "normal" { value 3; description "Fsm state is Normal."; } enum "network-fault" { value 2; description "Fsm state is network fault."; } enum "user-fault" { value 1; description "Fsm state is user fault."; } enum "resume-wait" { value 4; description "Fsm state is wait resume."; } enum "user-resume" { value 5; description "Fsm state is user resume."; } } description "Lpt Fsm State."; } typedef vc-type { type enumeration { enum "ethernet" { value 5; description "The vc type is ETHERNET."; } enum "vlan" { value 4; description "The vc type is VLAN."; } } description "Vc type."; } typedef net-carrier-type { type enumeration { enum "pw" { value 0; description "The UNI leaf type is PW."; } enum "qinq-link" { value 1; description "The UNI leaf type is QINQ."; } } description "The network side carrier type."; } typedef notification-mode-type { type enumeration { enum "lpt-mode" { value 0; description "LPT packet mode for fault transfer."; } enum "csf-mode" { value 1; description "CSF packet mode for fault transfer."; } } description "Packet mode for fault transfer."; } typedef oam-type { type enumeration { enum "lpt-oam" { value 1; description "LPT oam detection."; } enum "pw-oam" { value 2; description "PW oam detection."; } } description "Network side fault detection mode."; } } // module huawei-lpt
© 2023 YumaWorks, Inc. All rights reserved.