This module defines deviation statements for huawei-netstream module.
Version: 2019-11-06
module huawei-netstream-deviations-NE8000M8M14 { yang-version 1; namespace "urn:huawei:yang:huawei-netstream-deviations-NE8000M8M14"; prefix netstream-devs-NE8000M8M14; import huawei-netstream { prefix netstream; } import huawei-extension { prefix ext; } import huawei-ifm { prefix ifm; } import huawei-devm { prefix devm; } 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 deviation statements for huawei-netstream module."; revision "2019-11-06" { description "Initial revision."; reference "Huawei private."; } ext:deviation-ext "/netstream:netstream/netstream:flow-instances/netstream:flow-instance/netstream:export-version" { ext:deviate-ext "add" { ext:dynamic-default { ext:default-value "5" { when "../flow-type='ip-flow'"; description "The default value is 5 of version when flow type is IPv4."; } } } } typedef nsm-destination-board-deviations { type enumeration { enum "self" { value 0; description "To Self."; } } description "Description of destination board type."; } deviation /netstream:netstream/netstream:sampler-rate-lower-limits { deviate not-supported; } deviation /netstream:netstream/netstream:log-enable { deviate not-supported; } deviation /netstream:netstream/netstream:stream-log-infos { deviate not-supported; } deviation /devm:devm/devm:lpu-boards/devm:lpu-board/netstream:netstream { deviate not-supported; } deviation /ifm:ifm/ifm:interfaces/ifm:interface/netstream:netstream/netstream:mpls-exclude { deviate not-supported; } deviation /devm:devm/devm:mpu-boards/devm:mpu-board/netstream:netstream/netstream:sampler-modes/netstream:sampler-mode/netstream:sampler-mode { deviate replace { type nsm-destination-board-deviations; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/netstream:netstream/netstream:sampler-enables/netstream:sampler-enable { deviate add { must "../../../ifm:type='Ethernet' or ../../../ifm:type='GigabitEthernet' or ../../../ifm:type='Eth-Trunk' or ../../../ifm:type='100GE' or ../../../ifm:type='400GE' or ../../../ifm:type='40GE' or ../../../ifm:type='50GE' or ../../../ifm:type='50|100GE' or ../../../ifm:type='25GE' or ../../../ifm:type='ATM' or ../../../ifm:type='FlexE' or ../../../ifm:type='Serial' or ../../../ifm:type='Ip-Trunk' or ../../../ifm:type='Mp-group' or ../../../ifm:type='Pos' or ../../../ifm:type='Vbdif' or ../../../ifm:type='Vlanif' or (../../../ifm:type='Global-VE' and ../../../ifm:class='sub-interface') or (../../../ifm:type='Virtual-Ethernet' and ../../../ifm:class='sub-interface')"; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/netstream:netstream/netstream:sampler-rates/netstream:sampler-rate { deviate add { must "../../../ifm:type='Ethernet' or ../../../ifm:type='GigabitEthernet' or ../../../ifm:type='Eth-Trunk' or ../../../ifm:type='100GE' or ../../../ifm:type='400GE' or ../../../ifm:type='40GE' or ../../../ifm:type='50GE' or ../../../ifm:type='50|100GE' or ../../../ifm:type='25GE' or ../../../ifm:type='ATM' or ../../../ifm:type='FlexE' or ../../../ifm:type='Serial' or ../../../ifm:type='Ip-Trunk' or ../../../ifm:type='Mp-group' or ../../../ifm:type='Pos' or ../../../ifm:type='Vbdif' or ../../../ifm:type='Vlanif' or (../../../ifm:type='Global-VE' and ../../../ifm:class='sub-interface') or (../../../ifm:type='Virtual-Ethernet' and ../../../ifm:class='sub-interface')"; } } } // module huawei-netstream-deviations-NE8000M8M14
© 2023 YumaWorks, Inc. All rights reserved.