Moti Asayag has posted comments on this change.
Change subject: engine: Adding VmGuestInfoInterface
......................................................................
Patch Set 1: (4 inline comments)
....................................................
File
backend/manager/dbscripts/upgrade/03_02_0050_add_vm_guest_agent_interfaces_table.sql
Line 1: CREATE OR REPLACE FUNCTION
__tmp_03_02_0050_add_vm_guest_agent_interfaces_table()
Done
Line 2: RETURNS void
Line 3: AS $function$
Line 4: BEGIN
Line 5: IF NOT EXISTS (SELECT * FROM information_schema.tables WHERE
table_name ILIKE 'vm_guest_agent_interfaces') THEN
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmGuestAgentInterface.java
Line 92: }
Line 93: if (obj == null) {
Line 94: return false;
Line 95: }
Line 96: if (getClass() != obj.getClass()) {
Done
Line 97: return false;
Line 98: }
Line 99: VmGuestAgentInterface other = (VmGuestAgentInterface) obj;
Line 100: if (getInterfaceName() == null) {
....................................................
File
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmGuestAgentInterfaceDaoDbFacadeImpl.java
Line 61: }
Line 62:
Line 63: private List<String> getListOfIpAddresses(String
ipAddressesAsString) {
Line 64: if (ipAddressesAsString == null) {
Line 65: return Collections.emptyList();
Done
Line 66: }
Line 67: return
Arrays.asList(StringUtils.split(ipAddressesAsString,DELIMITER));
Line 68: }
Line 69: }
....................................................
File
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmGuestAgentInterfaceDao.java
Line 16: * @param vmId
Line 17: * the VM's ID
Line 18: * @return the list of VmGuestAgentInterfaces
Line 19: */
Line 20: public List<VmGuestAgentInterface> getAllForVm(Guid vmId);
Done
Line 21:
Line 22: /**
Line 23: * Removes all the VmGuestAgentInterfaces of the given VM
Line 24: * @param vmId
--
To view, visit http://gerrit.ovirt.org/10098
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I0d25018f94c2b4d29c01be85a222460335603569
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Muli Salem <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches