Dan Kenigsberg has posted comments on this change. Change subject: hooks: Open vSwitch configurator ......................................................................
Patch Set 38: (1 comment) https://gerrit.ovirt.org/#/c/40312/38/vdsm_hooks/ovs/ovs_after_get_stats.py File vdsm_hooks/ovs/ovs_after_get_stats.py: Line 35: running_config = RunningConfig() Line 36: Line 37: for network, attrs in running_config.networks.items(): Line 38: if rget(attrs, ('custom', 'ovs')): Line 39: if attrs.get('vlan') is not None: 'vlan' in attrs would be more readable Line 40: continue Line 41: else: Line 42: interface = attrs.get('nic') or attrs.get('bonding') Line 43: ovs_networks_stats[network] = stats[interface] -- To view, visit https://gerrit.ovirt.org/40312 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id602b6cc87a663424d06c77d1847d2c2d60d289f Gerrit-PatchSet: 38 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Petr Horáček <[email protected]> Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Petr Horáček <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
