def do_ip_association_list(cs, args): """ List IP associations """ ip_associations = cs.ip_associations_python_novaclient_ext.list( args.instance_id) utils.print_list(ip_associations, ['ID', 'Address'])
def do_network_list(cs, args): """ List networks """ networks = cs.os_networksv2_python_novaclient_ext.list() utils.print_list(networks, ['ID', 'Label', 'CIDR'])