Moti Asayag has posted comments on this change.

Change subject: core: Block removing network when it's related to iSCSI bond.
......................................................................


Patch Set 3:

(2 comments)

http://gerrit.ovirt.org/#/c/30913/3/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/IscsiBondDaoTest.java
File 
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/IscsiBondDaoTest.java:

Line 118: 
Line 119:     @Test
Line 120:     public void testGetEmptyIscsiBondIdByNetworkId() {
Line 121:         List<IscsiBond> fetchedIscsiBonds = 
dao.getIscsiBondsByNetworkId(networkId);
Line 122:         assertEquals(0, fetchedIscsiBonds.size());
> I think those are quite the same, although I prefer to keep the assertEqual
in case the violation is not trivial you can add a message by 
Assert.assertTrue(String message, boolean condition)
Line 123:     }
Line 124: 
Line 125:     @Test
Line 126:     public void testGetEmptyIscsiBondIdByNotExistingNetworkId() {


http://gerrit.ovirt.org/#/c/30913/3/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
File 
frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties:

Line 580: TAGS_SPECIFIED_TAG_CANNOT_BE_THE_PARENT_OF_ITSELF=Operation canceled, 
recursive Tag hierarchy cannot be defined.
Line 581: VM_CANNOT_MOVE_TO_CLUSTER_IN_OTHER_STORAGE_POOL=VM can be moved only 
to a Cluster in the same Data Center.
Line 582: VM_CLUSTER_IS_NOT_VALID=Cannot ${action} ${type}. Cluster ID is not 
valid.
Line 583: NETWORK_CANNOT_REMOVE_MANAGEMENT_NETWORK=The Management Network 
('${NetworkName}') is mandatory and cannot be removed.
Line 584: NETWORK_CANNOT_REMOVE_ISCSI_BOND_NETWORK=The Network 
('${NetworkName}') could not be removed since it is part of the following iSCSI 
bonds:\n ${IscsiBonds}.\nPlease, remove the network first from those iSCSI 
bonds, and try again.
> I agree, but I think it is better to keep that for consistency and flexibil
I don't see which consistency is being maintained here. Having this entry will 
instruct the zanata to add translation for this resource as well and it will 
never be used.
Line 585: NETWORK_OLD_NETWORK_NOT_SPECIFIED=Previous network name is required.
Line 586: ACTION_TYPE_FAILED_DETECTED_ACTIVE_VMS=Cannot ${action} ${type}. 
Active VMs were detected.\n\
Line 587:       -Please ensure all VMs associated with this Storage Domain are 
stopped and in the Down state first.
Line 588: ACTION_TYPE_FAILED_HOST_NOT_EXIST=The provided Host does not exist.


-- 
To view, visit http://gerrit.ovirt.org/30913
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I68bd390175d42ee4e33773e12d6184a97a755eed
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Lior Vernia <lver...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to