This module defines deviation statements for huawei-multicast-forward module.
Version: 2021-05-07
module huawei-multicast-forward-deviations-OC-NE-X8X16 { yang-version 1; namespace "urn:huawei:yang:huawei-multicast-forward-deviations-OC-NE-X8X16"; prefix multicast-forward-devs-OC-NE-X8X16; import huawei-multicast-forward { prefix multicast-forward; } import huawei-bd { prefix bd; } import huawei-l2vpn { prefix l2vpn; } import huawei-vlan { prefix vlan; } import huawei-igmp-mld-snooping { prefix ims; } 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-multicast-forward module."; revision "2021-05-07" { description "Initial revision."; reference "Huawei private."; } deviation /multicast-forward:multicast-forward/multicast-forward:global/multicast-forward:reliability-enhance-enable { deviate not-supported; } deviation /multicast-forward:multicast-forward/multicast-forward:global/multicast-forward:fragment-enable { deviate not-supported; } deviation /multicast-forward:multicast-forward/multicast-forward:random-detect { deviate not-supported; } deviation /multicast-forward:multicast-forward/multicast-forward:spatial-multicast/multicast-forward:ipv4-multicast-bandwidths/multicast-forward:ipv4-multicast-bandwidth/multicast-forward:bandwidth { deviate replace { type uint64 { range "1..40000000"; } } } deviation /multicast-forward:multicast-forward/multicast-forward:spatial-multicast/multicast-forward:vlan-multicast-bandwidths/multicast-forward:vlan-multicast-bandwidth/multicast-forward:bandwidth { deviate replace { type uint64 { range "1..40000000"; } } } deviation /multicast-forward:multicast-forward/multicast-forward:spatial-multicast/multicast-forward:vsi-multicast-bandwidths/multicast-forward:vsi-multicast-bandwidth/multicast-forward:vsi-name { deviate replace { type leafref { path "/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance/l2vpn:name"; } } deviate add { must "((/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/l2vpn:work-mode != 'bd-mode') and (/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/l2vpn:work-mode != 'b-vsi') and (/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/l2vpn:work-mode != 'i-vsi') and (/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/l2vpn:work-mode != 'i-vsi-p2p') and (/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/l2vpn:work-mode != 'i-vsi-b-evpn-interworking') and (/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/l2vpn:p2p-vsi != 'true'))"; } deviate add { must "(/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/ims:igmp-snooping/ims:global/ims:enable = 'true')"; } } deviation /multicast-forward:multicast-forward/multicast-forward:spatial-multicast/multicast-forward:vsi-multicast-bandwidths/multicast-forward:vsi-multicast-bandwidth/multicast-forward:bandwidth { deviate replace { type uint64 { range "1..40000000"; } } } deviation /multicast-forward:multicast-forward/multicast-forward:spatial-multicast/multicast-forward:mpls-bandwidths/multicast-forward:mpls-bandwidth/multicast-forward:bandwidth { deviate replace { type uint64 { range "1..40000000"; } } } deviation /multicast-forward:multicast-forward/multicast-forward:l2-egress-statistics/multicast-forward:vlan-enables/multicast-forward:vlan-enable/multicast-forward:vlan-id { deviate add { must "(/vlan:vlan/vlan:vlans/vlan:vlan[vlan:id=current()]/ims:igmp-snooping/ims:global/ims:enable = 'true')"; } } deviation /multicast-forward:multicast-forward/multicast-forward:l2-egress-statistics/multicast-forward:vsi-enables/multicast-forward:vsi-enable/multicast-forward:vsi-name { deviate replace { type leafref { path "/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance/l2vpn:name"; } } deviate add { must "(/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance[l2vpn:name=current()][l2vpn:type='vpls']/l2vpn:vpls/ims:igmp-snooping/ims:global/ims:enable = 'true')"; } } deviation /multicast-forward:multicast-forward/multicast-forward:l2-egress-statistics/multicast-forward:bd-enables/multicast-forward:bd-enable/multicast-forward:bd-id { deviate replace { type leafref { path "/bd:bd/bd:instances/bd:instance/bd:id"; } } deviate add { must "(/bd:bd/bd:instances/bd:instance[bd:id=current()]/ims:igmp-snooping/ims:global/ims:enable = 'true')"; } } deviation /multicast-forward:multicast-forward/multicast-forward:l2-egress-statistics/multicast-forward:vsi-statistics/multicast-forward:vsi-statistic/multicast-forward:vsi-name { deviate replace { type leafref { path "/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance/l2vpn:name"; } } } deviation /multicast-forward:multicast-forward/multicast-forward:l2-egress-statistics/multicast-forward:bd-statistics/multicast-forward:bd-statistic/multicast-forward:bd-id { deviate replace { type leafref { path "/bd:bd/bd:instances/bd:instance/bd:id"; } } } deviation /multicast-forward:reset-vsi-egress-statistics/multicast-forward:input/multicast-forward:vsi-name { deviate replace { type leafref { path "/l2vpn:l2vpn/l2vpn:instances/l2vpn:instance/l2vpn:name"; } } } deviation /multicast-forward:reset-bd-egress-statistics/multicast-forward:input/multicast-forward:bd-id { deviate replace { type leafref { path "/bd:bd/bd:instances/bd:instance/bd:id"; } } } } // module huawei-multicast-forward-deviations-OC-NE-X8X16
© 2023 YumaWorks, Inc. All rights reserved.