Moti Asayag has posted comments on this change.

Change subject: core: dont fail on empty ranges
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/35391/1/backend/manager/tools/src/main/java/org/ovirt/engine/core/config/entity/helper/MacAddressPoolRangesValueHelper.java
File 
backend/manager/tools/src/main/java/org/ovirt/engine/core/config/entity/helper/MacAddressPoolRangesValueHelper.java:

Line 25:     @Override
Line 26:     public ValidationResult validate(ConfigKey key, String value) {
Line 27: 
Line 28:         if (StringUtils.isBlank(value)) {
Line 29:             return new ValidationResult(true);
> How are you making the call that it's not legitimate for a user to implemen
since ovirt doesn't support a pluggable mac address mechanism. Then the user 
have to implement it in an awkward way via scripts only, rather provide his own 
implementation.

such solution is restricted to api only, and does not fit any ui usages. does 
all of userportal uesrs should be familiar with the sequence of adding a vnic 
to the system ?

The only case which i might think is for Gluster only ovirt installation (if 
there is such) which might not care about serving vms.
Line 30:         }
Line 31: 
Line 32:         try {
Line 33:             List<String[]> rangesBoundaries = 
MacAddressRangeUtils.rangeStringToStringBoundaries(value);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I314ff9e62d7515eae334c461a67ce609ca188359
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Martin Mucha <mmu...@redhat.com>
Gerrit-Reviewer: Lior Vernia <lver...@redhat.com>
Gerrit-Reviewer: Martin Mucha <mmu...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@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