Hello,

We would like to remove the if:interfaces-state with a deviation as it will never contain any information. So we wanted to use

deviation /if:interfaces-state {
  deviate not-supported;
}

However after this we get an error as ietf-interfaces has a definition:
     /*
      * Legacy typedefs
      */

     typedef interface-state-ref {
       type leafref {
         path "/if:interfaces-state/if:interface/if:name";
       }
       status deprecated;
       description
         "This type is used by data models that need to reference
          the operationally present interfaces.";
     }

Here the path statement will point at a non-existent branch.

So is there a correct way to indicate we do not support /interface-state ?
regards Balazs 
-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: [email protected] 
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to