Listing subnets

Similarly, the available subnets can be returned by iterating over the list returned by the subnets() function call:

def list_subnets(conn):
    for subnet in conn.network.subnets():
        print(subnet)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.178.243