Bug 5236: Fixed inappropriate node name in VTN configuration file. 12/34112/1
authorShigeru Yasuda <s-yasuda@da.jp.nec.com>
Thu, 4 Feb 2016 14:52:09 +0000 (23:52 +0900)
committerHideyuki Tai <Hideyuki.Tai@necam.com>
Fri, 5 Feb 2016 01:58:17 +0000 (01:58 +0000)
  * Use <vinterface> for virtual interface configuration.

Change-Id: Ie4656e3d5c26926fa1ac10334f506916709488f6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit 52c912fe34fba56739037ecb71acede2ecbbae34)

manager/implementation/src/main/java/org/opendaylight/vtn/manager/internal/vnode/xml/XmlAbstractBridge.java

index 37210d37357622a5f7258dfc6b88cf54902b89bf..238686fdd19658eafd7c06b7416ca9aee4cd643d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 NEC Corporation. All rights reserved.
+ * Copyright (c) 2015, 2016 NEC Corporation. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -35,7 +35,7 @@ public abstract class XmlAbstractBridge extends XmlVNode {
      * A list of virtual interfaces.
      */
     @XmlElementWrapper(name = "vinterfaces")
-    @XmlElement
+    @XmlElement(name = "vinterface")
     private List<XmlVInterface>  interfaces;
 
     /**