blob: a9d1b3b70e72111b10b9a55087a6c9e0676bc5ab [file] [log] [blame]
module Test {
yang-version 1;
namespace http://huawei.com;
prefix Ant;
import ietf-yang-types {
prefix "P";
}
list valid {
key address;
grouping endpoint {
description "grouping under test";
status current;
reference "RFC 6020";
leaf address {
type ip-address;
}
leaf port {
type port-number;
}
}
leaf address {
type ip;
}
grouping endpoint {
description "grouping under test";
status current;
reference "RFC 6020";
leaf address {
type ip-address;
}
leaf port {
type port-number;
}
}
}
}