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 <ghall@brocade.com>, Kiran Sreenivasa <kkoushik@brocade.com>";
- 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;
}
}