Dynamic Host Configuration Protocol.
Version: 2019-04-29
module huawei-dhcp-deviations-OC-NE-X8X16 { yang-version 1; namespace "urn:huawei:yang:huawei-dhcp-deviations-OC-NE-X8X16"; prefix dhcp-devs-OC-NE-X8X16; import huawei-dhcp { prefix dhcp; } import huawei-ifm { prefix ifm; } import huawei-vlan { prefix vlan; } import huawei-bd { prefix bd; } 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 "Dynamic Host Configuration Protocol."; revision "2019-04-29" { description "Initial revision."; reference "Huawei private."; } typedef option82-format-deviations { type enumeration { enum "user-defined" { value 3; description "DHCP option82 user-defined format."; } enum "type1" { value 5; description "DHCP option82 type1 format."; } enum "type2" { value 6; description "DHCP option82 type2 format."; } enum "self-define" { value 7; description "DHCP option82 self-define format."; } enum "cn-telecom" { value 9; description "DHCP option82 cn-telecom format."; } enum "cn-telecom-inherit" { value 12; description "DHCP option82 cn-telecom-inherit format."; } } description "Type of dhcp-opt82-format."; } typedef dhcp-svr-sub-option-mode-deviations { type enumeration { enum "ascii-mode" { value 0; description "Ascii Mode."; } enum "ip-mode" { value 2; description "IP Mode."; } } description "Type of dhcp-svr-sub-option-mode."; } typedef ip-pool-address-reset-type-deviations { type enumeration { enum "conflict" { value 2; description "Conflict."; } } description "Type of ip-pool-address-reset."; } deviation /dhcp:dhcp/dhcp:relay/dhcp:global/dhcp:source-ip { deviate not-supported; } deviation /bd:bd/bd:instances/bd:instance/dhcp:dhcp-snooping-bd/dhcp:basic-attribute/dhcp:nni-trust-enable { deviate not-supported; } deviation /dhcp:dhcp/dhcp:server/dhcp:global-ip-pools/dhcp:global-ip-pool/dhcp:ip-pool-name { deviate replace { type string { length "1..128"; } } } deviation /dhcp:dhcp/dhcp:common/dhcp:global/dhcp:enable { deviate replace { default "true"; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/dhcp:dhcp-if/dhcp:option82-formats/dhcp:option82-format/dhcp:option82-format { deviate replace { type option82-format-deviations; } } deviation /vlan:vlan/vlan:vlans/vlan:vlan/dhcp:dhcp-vlan/dhcp:interface-option82-formats/dhcp:interface-option82-format/dhcp:option82-format { deviate replace { type option82-format-deviations; } } deviation /dhcp:dhcp/dhcp:server/dhcp:global-ip-pools/dhcp:global-ip-pool/dhcp:domain-name { deviate replace { type string { length "1..50"; } } } deviation /dhcp:dhcp/dhcp:server/dhcp:global-ip-pools/dhcp:global-ip-pool/dhcp:static-binds/dhcp:static-bind { deviate replace { max-elements 2000; } } } // module huawei-dhcp-deviations-OC-NE-X8X16
© 2023 YumaWorks, Inc. All rights reserved.