DuplicateGroupingInList.yang
834 Bytes
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;
}
}
}
}