Edward Haas has posted comments on this change.

Change subject: net: IP address hostport split tool
......................................................................


Patch Set 4: Verified+1

(1 comment)

https://gerrit.ovirt.org/#/c/54312/4/lib/vdsm/network/ip/address.py
File lib/vdsm/network/ip/address.py:

Line 22: class HostportError(Exception):
Line 23:     pass
Line 24: 
Line 25: 
Line 26: def hostport_split(hostport):
> regarding the serious naming issue. how about
hostport_split is good for networking code. We do not need to split hosts there.

For others usages I'm ok with that, I used hostpath_split as an alias (line 47) 
to this one, but I can change it.
Line 27:     """
Line 28:     Given a hostport, in the format host:port, return the host and 
port.
Line 29:     The port part may be a path (for mount points).
Line 30:     For an IPv6 address host, it returns the address without the 
surrounding


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib246c78987f9707674a1966df91120d4189b41fc
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Edward Haas <[email protected]>
Gerrit-Reviewer: Freddy Rolland <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Ondřej Svoboda <[email protected]>
Gerrit-Reviewer: Petr Horáček <[email protected]>
Gerrit-Reviewer: gerrit-hooks <[email protected]>
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to