X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=model%2Fsrc%2Fmain%2Fyang%2Fneutron-provider-ext.yang;h=38da3ce3d1d60371d54a8548712e6a1c7bb1779e;hb=HEAD;hp=af4d2485bd804464fc14a9ae5f8fc37a16db4fd0;hpb=61343d1ffe11a303bb3bec913b6cd244ba334a2f;p=neutron.git diff --git a/model/src/main/yang/neutron-provider-ext.yang b/model/src/main/yang/neutron-provider-ext.yang index af4d2485b..38da3ce3d 100644 --- a/model/src/main/yang/neutron-provider-ext.yang +++ b/model/src/main/yang/neutron-provider-ext.yang @@ -13,35 +13,30 @@ module neutron-provider-ext { prefix neutron-provider-ext; - import ietf-yang-types { prefix "yang"; } - // It requires rfc6991 (revision 2013-07-15), but odl don't have it, so this patch verify build will fail. - import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; } import neutron { prefix "neutron"; } import neutron-provider { prefix "provider"; } + import yang-ext { prefix "ext"; } organization "OpenDaylight Neutron Group"; contact "J. Gregory Hall , Kiran Sreenivasa "; - description "This YANG module defines provider model extensions that are used by Openstack - Ice House Neutron YANG modules."; + description "This YANG module defines Openstack Neutron provider extensions model"; - revision "2014-10-02" { + revision "2015-07-12" { description - "Initial version of provider model extensions used by OpenStack Ice House Neutron - models"; + "OpenDaylight Beryllium release"; } augment "/neutron:neutron/neutron:networks/neutron:network"{ - description " - This module augments the networks container in the neutron-networks - module with provider information. - "; - list providers { + description "This module augments the networks container + in the neutron-networks module with provider information."; + ext:augment-identifier "network-provider-extension"; + list segments { description "List of provider network(s) associated with this network."; - key segmentation-id; - uses provider:provider-attrs; + key segmentation-index; + uses provider:provider-attributes; } - uses provider:provider-attrs; + uses provider:provider-attributes; } }