Tomáš Pecka | dac27d4 | 2021-02-22 13:20:05 +0100 | [diff] [blame] | 1 | module czechlight-network { |
| 2 | yang-version 1.1; |
| 3 | namespace "http://czechlight.cesnet.cz/yang/czechlight-network"; |
| 4 | prefix cla-network; |
| 5 | |
| 6 | import ietf-interfaces { |
| 7 | prefix if; |
| 8 | } |
| 9 | |
| 10 | import ietf-ip { |
| 11 | prefix ip; |
| 12 | } |
| 13 | |
| 14 | import iana-if-type { |
| 15 | prefix ianaift; |
| 16 | } |
| 17 | |
| 18 | revision 2021-02-22 { |
| 19 | description |
| 20 | "Initial version. Removes interface statistics in ietf-interfaces model, removes deprecated container |
| 21 | ietf-interfaces:interface-state and makes the nodes in ietf-interfaces model config false."; |
| 22 | } |
| 23 | |
| 24 | // We don't support interface statistics (yet) |
| 25 | deviation /if:interfaces/if:interface/if:statistics { deviate not-supported; } |
| 26 | |
| 27 | // Remove deprecated interfaces-state container |
| 28 | deviation /if:interfaces-state { deviate not-supported; } |
| 29 | |
| 30 | // As of now we implement the model to contain operational data only |
| 31 | deviation /if:interfaces { deviate add { config false; } } |
Tomáš Pecka | 14e663e | 2021-03-08 13:35:33 +0100 | [diff] [blame] | 32 | |
| 33 | // IPv6 address autoconfiguration is not supported |
| 34 | deviation /if:interfaces/if:interface/ip:ipv6/ip:autoconf { deviate not-supported; } |
Tomáš Pecka | dac27d4 | 2021-02-22 13:20:05 +0100 | [diff] [blame] | 35 | } |