Package org.apache.cloudstack.engine.datacenter.entity.api

Examples of org.apache.cloudstack.engine.datacenter.entity.api.HostEntityImpl


        return clusterEntity;
    }

    @Override
    public HostEntity registerHost(String hostUuid, String name, String owner, List<String> tags, Map<String, String> details) {
        HostEntityImpl hostEntity = new HostEntityImpl(hostUuid, manager);
        hostEntity.setOwner(owner);
        hostEntity.setName(name);
        hostEntity.setDetails(details);

        hostEntity.persist();
        return hostEntity;
    }
View Full Code Here


    }

    @Override
    public void deregisterHost(String uuid) {
        HostEntityImpl hostEntity = new HostEntityImpl(uuid, manager);
        hostEntity.disable();
    }
View Full Code Here

        return clusterEntity;
    }

    @Override
    public HostEntity registerHost(final String hostUuid, final String name, final String owner, final List<String> tags, final Map<String, String> details) {
        HostEntityImpl hostEntity = new HostEntityImpl(hostUuid, manager);
        hostEntity.setOwner(owner);
        hostEntity.setName(name);
        hostEntity.setDetails(details);

        hostEntity.persist();
        return hostEntity;
    }
View Full Code Here

    }

    @Override
    public void deregisterHost(final String uuid) {
        HostEntityImpl hostEntity = new HostEntityImpl(uuid, manager);
        hostEntity.disable();
    }
View Full Code Here

TOP

Related Classes of org.apache.cloudstack.engine.datacenter.entity.api.HostEntityImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.