blob: fe2c9dea863adcefc75b358928530f4188b3c7c5 [file] [log] [blame]
module czechlight-network {
yang-version 1.1;
namespace "http://czechlight.cesnet.cz/yang/czechlight-network";
prefix cla-network;
import ietf-interfaces {
prefix if;
}
import ietf-routing {
prefix rt;
}
import ietf-ip {
prefix ip;
}
import iana-if-type {
prefix ianaift;
}
revision 2021-02-22 {
description
"Initial version. Removes interface statistics in ietf-interfaces model, removes deprecated container
ietf-interfaces:interface-state and makes the nodes in ietf-interfaces model config false.";
}
// We don't support discontinuity time (yet)
deviation /if:interfaces/if:interface/if:statistics/if:discontinuity-time { deviate not-supported; }
// Remove deprecated ietf-interfaces-state and ietf-routing containers. Beware, rt:routing-state references if:interfaces-state.
deviation /rt:routing-state { deviate not-supported; }
deviation /if:interfaces-state { deviate not-supported; }
// As of now we implement the models to contain operational data only
deviation /if:interfaces { deviate add { config false; } }
deviation /rt:routing { deviate add { config false; } }
// IPv6 address autoconfiguration is not supported
deviation /if:interfaces/if:interface/ip:ipv6/ip:autoconf { deviate not-supported; }
}