Search in sources :

Example 1 with VmPassword

use of com.cloud.agent.resource.virtualnetwork.model.VmPassword in project cloudstack by apache.

the class SavePasswordConfigItem method generateConfig.

@Override
public List<ConfigItem> generateConfig(final NetworkElementCommand cmd) {
    final SavePasswordCommand command = (SavePasswordCommand) cmd;
    final VmPassword vmPassword = new VmPassword(command.getVmIpAddress(), command.getPassword());
    return generateConfigItems(vmPassword);
}
Also used : VmPassword(com.cloud.agent.resource.virtualnetwork.model.VmPassword) SavePasswordCommand(com.cloud.agent.api.routing.SavePasswordCommand)

Aggregations

SavePasswordCommand (com.cloud.agent.api.routing.SavePasswordCommand)1 VmPassword (com.cloud.agent.resource.virtualnetwork.model.VmPassword)1