Lior Vernia has posted comments on this change.

Change subject: core: Add QoS member to Network and VdsNetworkInterface
......................................................................


Patch Set 15:

(2 comments)

....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/network/VdsNetworkInterface.java
Line 387:                 .append(getType())
Line 388:                 .append(", networkImplementationDetails=")
Line 389:                 .append(getNetworkImplementationDetails())
Line 390:                 .append(", qos=")
Line 391:                 .append(getQos())
True, added implementation and later patch, can move it up in the chain. At 
this point it doesn't really matter because as far as I know nothing tries to 
serialize these entities yet.
Line 392:                 .append(", labels=")
Line 393:                 .append(getLabels())
Line 394:                 .append("}");
Line 395:         return builder.toString();


....................................................
File 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/network/InterfaceDaoDbFacadeImpl.java
Line 123:                 .addValue("bridged", nic.isBridged())
Line 124:                 .addValue("labels", 
SerializationFactory.getSerializer().serialize(nic.getLabels()));
Line 125:     }
Line 126: 
Line 127:     private void persistQosChanges(VdsNetworkInterface entity) {
Discussed with mkolesni, let's see what he says.
Line 128:         NetworkQoSDao qosDao = DbFacade.getInstance().getQosDao();
Line 129:         Guid id = entity.getId();
Line 130:         NetworkQoS oldQos = qosDao.get(id);
Line 131:         NetworkQoS qos = entity.getQos();


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I63776837d41c620258fa53b9a1335b76a5971cea
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <lver...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Lior Vernia <lver...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
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