Fix for multiple external fixedIPs under router-ext-gw-info 44/41544/2
authorAbhinav Gupta <abhinav.gupta@ericsson.com>
Fri, 8 Jul 2016 07:43:05 +0000 (13:13 +0530)
committerAbhinav Gupta <abhinav.gupta@ericsson.com>
Mon, 11 Jul 2016 06:06:54 +0000 (11:36 +0530)
Updated the key to use both subnetID and fixedIP to allow multiple
fixedIPs per subnet to be configured.

Bug ID: https://bugs.opendaylight.org/show_bug.cgi?id=5723

Change-Id: Ib0bd24229ed3891275eb5dc5d02c0afd52065d41
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
model/src/main/yang/neutron-L3.yang

index 997412bae898a0e144eee3d8df718ca36c2b9911..1a42dbf6dbb959a2ab9a8401675441f128a31a24 100644 (file)
@@ -123,7 +123,7 @@ module neutron-L3 {
                     }
                     list external-fixed-ips {
                         description "external fixed IPs for this router ";
-                        key subnet-id;
+                        key "subnet-id ip-address";
                         leaf subnet-id {
                             type yang:uuid;
                         }