mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
NaaS: Remove some API test code
This commit is contained in:
parent
2ebb719aba
commit
21344e3c36
@ -259,7 +259,6 @@ public class DhcpElement extends AdapterBase implements DhcpElementService, Pass
|
||||
|
||||
@Override
|
||||
public boolean configure(ConfigureDhcpElementCmd cmd) {
|
||||
addElement(new Long(3), cmd.getUUID());
|
||||
VirtualRouterElementsVO element = _vrElementsDao.findByUUID(cmd.getUUID());
|
||||
if (element == null) {
|
||||
s_logger.trace("Can't find element with UUID " + cmd.getUUID());
|
||||
|
||||
@ -90,7 +90,6 @@ public class RedundantVirtualRouterElement extends VirtualRouterElement implemen
|
||||
|
||||
@Override
|
||||
public boolean configure(ConfigureRedundantVirtualRouterElementCmd cmd) {
|
||||
addElement(new Long(2), cmd.getUUID());
|
||||
VirtualRouterElementsVO element = _vrElementsDao.findByUUID(cmd.getUUID());
|
||||
if (element == null) {
|
||||
s_logger.trace("Can't find element with UUID " + cmd.getUUID());
|
||||
|
||||
@ -386,7 +386,6 @@ public class VirtualRouterElement extends DhcpElement implements VirtualRouterEl
|
||||
|
||||
@Override
|
||||
public boolean configure(ConfigureVirtualRouterElementCmd cmd) {
|
||||
addElement(new Long(1), cmd.getUUID());
|
||||
VirtualRouterElementsVO element = _vrElementsDao.findByUUID(cmd.getUUID());
|
||||
if (element == null) {
|
||||
s_logger.trace("Can't find element with UUID " + cmd.getUUID());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user