Ondřej Svoboda has posted comments on this change.

Change subject: netinfo: rework reporting of DHCPv4/6 on network devices
......................................................................


Patch Set 6:

(1 comment)

https://gerrit.ovirt.org/#/c/46430/6/lib/vdsm/netinfo.py
File lib/vdsm/netinfo.py:

Line 594:     """
Line 595:     updated_networking = {}
Line 596:     underlying_device = network_info['iface']
Line 597: 
Line 598:     for devices in ('bridges', 'vlans', 'bondings', 'nics'):
> can an underlying_device be found in networking['bridges'] ? oh, I now see 
I am inclined to call only NICs "interfaces" and to call 
bridges/vlans/bondings/nics collectively "network devices".

In this sense, the top device representing a network (whatever type it is) is 
termed here "underlying". leased/dhcp is accurate, but too specific in my view. 
I want its name to mean "this is the topmost device in a hierarchy", not "this 
has a DHCP lease on it".
Line 599:         dev_info = networking[devices].get(underlying_device)
Line 600:         if dev_info:
Line 601:             cfg = {}
Line 602:             updated_networking[devices] = {


-- 
To view, visit https://gerrit.ovirt.org/46430
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaffdc836f8f64ecdc0a7e37ef50c228032f99696
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <[email protected]>
Gerrit-Reviewer: Ido Barkan <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondřej Svoboda <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to