Fixed a minor bug (replace VLAN enum with string to Configuration map) in the Bridge...
[controller.git] / opendaylight / northbound / networkconfiguration / bridgedomain / src / main / java / org / opendaylight / controller / networkconfig / bridgedomain / northbound / BridgeDomainNorthbound.java
index 36819f6222553772d621e9258a65f3d7676fcf44..6b785b80700b417351bcfcee063cee69f9c2e22c 100644 (file)
@@ -319,7 +319,7 @@ public class BridgeDomainNorthbound {
 
        Node node = Node.fromString(nodeType, nodeId);
        Map<ConfigConstants, Object> configs = new HashMap<ConfigConstants, Object>();
-       configs.put(ConfigConstants.TYPE, ConfigConstants.VLAN);
+       configs.put(ConfigConstants.TYPE, ConfigConstants.VLAN.name());
        configs.put(ConfigConstants.VLAN, vlan);
 
        Status status = null;