def dc_net(s, opt): dc = dc_get(s, opt['<name>']) if not dc: return networks = dc.net() net_print_details(networks)
def host_net(s, opt): host = host_get(s, opt['<name>']) if not host: return networks = host.net() net_print_details(networks)
def cluster_net(s, opt): cluster = cluster_get(s, opt['<name>']) if not cluster: return networks = cluster.net() net_print_details(networks)