This patch fixes the following error by pyang.
ip version is missing for extra dhcp attribute and add key statement.
> neutron.yang:42: error: the list at "neutron.yang:42 (at neutron-ports.yang:54)" needs at least one key because it is used as config
Change-Id: Ie2ae3661799fc2b7179f028c4a586a1593e23c69
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
list extra-dhcp-opts {
description "Extra DHCP options";
reference "http://developer.openstack.org/api-ref-networking-v2.html";
+ key "opt-name ip-version";
leaf opt-name {
type string;
}
leaf opt-value {
type string;
}
+ leaf ip-version {
+ type enumeration {
+ enum 4;
+ enum 6;
+ }
+ }
}
leaf device-owner {
type string;