Global VRRP configuration.
Version: 2020-03-19
module huawei-vrrp-deviations-NE8000M8M14 { yang-version 1; namespace "urn:huawei:yang:huawei-vrrp-deviations-NE8000M8M14"; prefix vrrp-devs-NE8000M8M14; import huawei-vrrp { prefix vrrp; } import huawei-ifm { prefix ifm; } import huawei-ip { prefix ip; } import huawei-efm { prefix efm; } 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 "Global VRRP configuration."; revision "2020-03-19" { description "Initial revision."; reference "Huawei private."; } deviation /vrrp:vrrp/vrrp:global/vrrp:vrrp-session-car { deviate not-supported; } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv4/vrrp:vrrp/vrrp:groups/vrrp:group/vrrp:track-ip-routes/vrrp:track-ip-route/vrrp:track-mode { deviate not-supported; } deviation /vrrp:vrrp/vrrp:global/vrrp:vrrp6-session-car { deviate not-supported; } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv6/vrrp:vrrp6/vrrp:group6s/vrrp:group6/vrrp:adver-interval { deviate add { must '((../adver-interval)=100 or (../adver-interval)=200 or (../adver-interval)=500 or ((../adver-interval)>=1000 and (../adver-interval) mod 10 = 0))'; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv4/vrrp:vrrp/vrrp:groups/vrrp:group/vrrp:adver-interval { deviate add { must '((../adver-interval)=100 or (../adver-interval)=200 or (../adver-interval)=500 or ((../adver-interval)>=1000 and (../adver-interval) mod 1000 = 0))'; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv6/vrrp:vrrp6/vrrp:group6s/vrrp:group6/vrrp:vgmp-role { deviate not-supported; } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv4/vrrp:vrrp/vrrp:groups/vrrp:group/vrrp:virtual-ips/vrrp:virtual-ip/vrrp:mask { deviate not-supported; } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv4/vrrp:vrrp/vrrp:groups/vrrp:group/vrrp:virtual-ips/vrrp:virtual-ip/vrrp:vgmp-role { deviate not-supported; } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv6/vrrp:vrrp6/vrrp:group6s/vrrp:group6/vrrp:adver-interval { deviate replace { type uint32 { range "100..40950"; } } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv6/vrrp:vrrp6/vrrp:group6s/vrrp:group6 { deviate add { must "((count(track-bfds/track-bfd[bfd-type='normal'])<=8) and (count(track-bfds/track-bfd[bfd-type='link'])<=8) and (count(track-bfds/track-bfd[bfd-type='peer'])<=1)) or not(track-bfds/track-bfd)"; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv6/vrrp:vrrp6/vrrp:group6s/vrrp:group6/vrrp:preempt/vrrp:delay-time { deviate replace { type uint16 { range "0..10800"; } } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv4/vrrp:vrrp/vrrp:groups/vrrp:group/vrrp:track-3ahs/vrrp:track-3ah { deviate replace { max-elements 1; } } deviation /ifm:ifm/ifm:interfaces/ifm:interface/ip:ipv4/vrrp:vrrp/vrrp:groups/vrrp:group/vrrp:track-3ahs/vrrp:track-3ah/vrrp:track-if-name { deviate add { must "/ifm:ifm/ifm:interfaces/ifm:interface[ifm:name=current()]/efm:efm/efm:session/efm:state='enable'"; } } } // module huawei-vrrp-deviations-NE8000M8M14
© 2023 YumaWorks, Inc. All rights reserved.