blob: c10ba2b96f4da7b7ebc90c8c8aeeb1f4ce0643cc [file] [log] [blame]
module SelfResolutionWhenLeafrefInModuleReferToInvalidNode {
yang-version 1;
namespace "urn:ietf:params:xml:ns:yang:ietf-network";
prefix nd;
container networks {
description
"Serves as top-level container for a list of networks.";
leaf network-id {
type uint8;
description
"Identifies a network.";
}
}
leaf network-ref {
type leafref {
path "/define/network-id";
}
}
}