This module defines configuration and operational state data for the LLDP protocol.
Version: 2020-05-12
module huawei-openconfig-lldp-deviations-OC-NE-X8X16 { yang-version 1; namespace "urn:huawei:yang:huawei-openconfig-lldp-deviations-OC-NE-X8X16"; prefix of-lldp-devs-OC-NE-X8X16; import openconfig-lldp { prefix oc-lldp; } import huawei-extension { prefix ext; } 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 "This module defines configuration and operational state data for the LLDP protocol."; revision "2020-05-12" { description "Initial revision."; reference "Huawei private."; } ext:deviation-ext "/oc-lldp:lldp/oc-lldp:config/oc-lldp:hello-timer" { ext:deviate-ext "add" { when "../enabled = 'true'"; } } ext:deviation-ext "/oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface" { ext:deviate-ext "add" { when "../../config/enabled = 'true'"; ext:generated-by "system" { description "The LLDP interface instances are generated automatically when LLDP is enabled."; } ext:operation-exclude "create|delete" { description "The LLDP interface instances cannot be created or deleted when LLDP is enabled."; } } } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:system-description { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:chassis-id { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:chassis-id-type { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:suppress-tlv-advertisement { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:state/oc-lldp:suppress-tlv-advertisement { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:state/oc-lldp:counters { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:hello-timer { deviate replace { type uint64 { range "5..32768"; } } deviate add { default "30"; } } deviation /oc-lldp:lldp/oc-lldp:state/oc-lldp:hello-timer { deviate replace { type uint64 { range "5..32768"; } } } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:enabled { deviate replace { default "false"; } } deviation /oc-lldp:lldp/oc-lldp:state/oc-lldp:enabled { deviate replace { default "false"; } } deviation /oc-lldp:lldp/oc-lldp:config/oc-lldp:system-name { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:state/oc-lldp:system-name { deviate replace { type string { length "1..246"; } } } deviation /oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:state/oc-lldp:counters/oc-lldp:frame-error-out { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:neighbors/oc-lldp:neighbor/oc-lldp:config { deviate not-supported; } deviation /oc-lldp:lldp/oc-lldp:interfaces/oc-lldp:interface/oc-lldp:neighbors/oc-lldp:neighbor/oc-lldp:custom-tlvs/oc-lldp:tlv/oc-lldp:state/oc-lldp:value { deviate replace { type string { length "1..4094"; } } } } // module huawei-openconfig-lldp-deviations-OC-NE-X8X16
© 2023 YumaWorks, Inc. All rights reserved.