Commit c89d7301 authored by Simon Redman's avatar Simon Redman

Correctly match header comments to methods

parent da36c35a
......@@ -29,7 +29,7 @@ IPV4_COMMAND = "ip -4 address list"
def parse_ipv4_networks(netgraph):
"""
For each ssh session, query the remote for its interfaces, then parse that for its IPv6 interface ID on each interface
For each ssh session, query the remote for its interfaces, then parse that for its IPv4 address
:param netgraph: topology map, annotated with logged-in ssh sessions
:return: mapping of hosts to map of interfaces to that interface's IPv6 interface address
......@@ -69,7 +69,7 @@ def parse_ipv4_networks(netgraph):
def parse_local_interface_addresses(netgraph):
"""
For each ssh session, query the remote for its interfaces, then parse that for its IPv4 address
For each ssh session, query the remote for its interfaces, then parse that for its IPv6 interface ID on each interface
:param netgraph: topology map, annotated with logged-in ssh sessions
:return: mapping of hosts to map of interfaces to that interface's IPv4 address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment