mirror of https://github.com/apache/cloudstack.git
NaaS: Set new added virtual router element enabled by default
This commit is contained in:
parent
aaf3b99228
commit
b85744859f
|
|
@ -405,6 +405,7 @@ public class VirtualRouterElement extends AdapterBase implements VirtualRouterEl
|
|||
return null;
|
||||
}
|
||||
element = new VirtualRouterProviderVO(nspId, null, VirtualRouterProviderType.VirtualRouterElement);
|
||||
element.setEnabled(true);
|
||||
_vrProviderDao.persist(element);
|
||||
return element;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue