Package com.cloud.agent.api

Examples of com.cloud.agent.api.ModifyVmNicConfigCommand


        }
        return nicposition;
    }

    protected void modifyNicVlan(String vmName, int vlanId, String macAddress) {
        ModifyVmNicConfigCommand modifynic = new ModifyVmNicConfigCommand(vmName, vlanId, macAddress);
        URI agentUri = null;
        try {
            String cmdName = ModifyVmNicConfigCommand.class.getName();
            agentUri =
                    new URI("https", null, _agentIp, _port,
View Full Code Here


            ModifyVmNicConfigAnswer ans = ((ModifyVmNicConfigAnswer)result[0]);
        }
    }

    protected void modifyNicVlan(String vmName, int vlanId, int pos, boolean enable, String switchLabelName) {
        ModifyVmNicConfigCommand modifyNic = new ModifyVmNicConfigCommand(vmName, vlanId, pos, enable);
        modifyNic.setSwitchLableName(switchLabelName);
        URI agentUri = null;
        try {
            String cmdName = ModifyVmNicConfigCommand.class.getName();
            agentUri =
                    new URI("https", null, _agentIp, _port,
View Full Code Here

TOP

Related Classes of com.cloud.agent.api.ModifyVmNicConfigCommand

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.