@utils.arg('server', metavar='<server>', help=_('Name or ID of a server for which the network cache should be refreshed from neutron (Admin only).'))
def do_refresh_network(cs, args):
 server = _find_server(cs, args.server)
 cs.server_external_events.create([{'server_uuid': server.id, 'name': 'network-changed'}])

@ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of a server for which the network cache should be refreshed from neutron (Admin only).' ) ) def do_refresh_network ( cs , args ) : server = _find_server ( cs , args . server ) cs . server_external_events . create ( [ { 'server_uuid' : server . id , 'name' : 'network-changed' } ] )
refresh server network information .