Search in sources :

Example 1 with VmPassword

use of com.cloud.legacymodel.network.rules.VmPassword in project cosmic by MissionCriticalCloud.

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.legacymodel.network.rules.VmPassword) SavePasswordCommand(com.cloud.legacymodel.communication.command.SavePasswordCommand)

Aggregations

SavePasswordCommand (com.cloud.legacymodel.communication.command.SavePasswordCommand)1 VmPassword (com.cloud.legacymodel.network.rules.VmPassword)1