NaaS: Remove some API test code

This commit is contained in:
Sheng Yang 2011-10-20 15:18:07 -07:00
parent 2ebb719aba
commit 21344e3c36
3 changed files with 0 additions and 3 deletions

View File

@ -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());

View File

@ -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());

View File

@ -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());