pyang: missing key in neutron port attribute 17/23617/2
authorIsaku Yamahata <isaku.yamahata@intel.com>
Tue, 30 Jun 2015 19:12:51 +0000 (12:12 -0700)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 2 Jul 2015 20:02:01 +0000 (13:02 -0700)
commitb0abf7ea5863828f594327a09d54fcbaa9c348b5
tree0b906867bbefad6c4f9a51f51e32f988511962bf
parentea04fb6bff73bfcf952049481ea7eabaf3be2b3b
pyang: missing key in neutron port attribute

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>
model/src/main/yang/neutron-ports.yang