From febf6c632d6527f7e6e1b60a48afcca309ce4372 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 21 Sep 2023 19:39:54 +0200 Subject: [PATCH] confd: simplify not-supported - drop origin since targeted at v23.09 - drop ipv6 temporary address deviations, fixed in #139 Signed-off-by: Joachim Wiberg --- src/confd/yang/infix-ip@2023-09-14.yang | 67 +------------------------ 1 file changed, 2 insertions(+), 65 deletions(-) diff --git a/src/confd/yang/infix-ip@2023-09-14.yang b/src/confd/yang/infix-ip@2023-09-14.yang index ae5db0ec..2cbd816b 100644 --- a/src/confd/yang/infix-ip@2023-09-14.yang +++ b/src/confd/yang/infix-ip@2023-09-14.yang @@ -54,78 +54,15 @@ module infix-ip { deviate not-supported; } - deviation "/if:interfaces/if:interface/ip:ipv4/ip:address/ip:origin" { - deviate not-supported; - } - - deviation "/if:interfaces/if:interface/ip:ipv4/ip:neighbor/ip:origin" { - deviate not-supported; - } - - deviation "/if:interfaces/if:interface/ip:ipv6/ip:address/ip:origin" { + deviation "/if:interfaces/if:interface/ip:ipv4/ip:neighbor" { deviate not-supported; } deviation "/if:interfaces/if:interface/ip:ipv6/ip:address/ip:status" { deviate not-supported; } - - deviation "/if:interfaces/if:interface/ip:ipv6/ip:neighbor/ip:origin" { - deviate not-supported; - } - - deviation "/if:interfaces/if:interface/ip:ipv6/ip:neighbor/ip:is-router" { - deviate not-supported; - } - deviation "/if:interfaces/if:interface/ip:ipv6/ip:neighbor/ip:state" { + deviation "/if:interfaces/if:interface/ip:ipv6/ip:neighbor" { deviate not-supported; } - - deviation "/if:interfaces/if:interface/ip:ipv6/ip:autoconf/ip:create-temporary-addresses" { - deviate not-supported; - } - - deviation "/if:interfaces/if:interface/ip:ipv6/ip:autoconf/ip:temporary-valid-lifetime" { - deviate not-supported; - } - - deviation "/if:interfaces/if:interface/ip:ipv6/ip:autoconf/ip:temporary-preferred-lifetime" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv4/ip:forwarding" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv4/ip:address/ip:subnet/ip:netmask" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv4/ip:address/ip:origin" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv4/ip:neighbor" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv6/ip:forwarding" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv6/ip:mtu" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv6/ip:address" { - deviate not-supported; - } - - deviation "/if:interfaces-state/if:interface/ip:ipv6/ip:neighbor" { - deviate not-supported; - } - } - -