April 2018
Intermediate to advanced
280 pages
8h 37m
English
The OpenStack compute service (code-named NOVA) provides networks called nova networks, which can be consumed by the virtual machines. The connection object can refer the network class and invoke the networks() function to get a list of all the available nova networks.
The following function demonstrates this:
def list_networks(conn): print("List Networks:") for network in conn.network.networks(): print(network)