dao/client/shell.py
def rack_update(self, args):
        """Update rack record in the DB"""
        gateway = str(netaddr.IPAddress(args.gw)) if args.gw else None
        self._print_result(
            args, self._call('rack_update',
                             rack_name=args.rack,
                             env=args.env,
                             gw=gateway,
                             net_map=args.net_map,
                             worker_name=args.worker,
                             reset_worker=args.reset_worker,
                             meta=dict(i.split('=') for i in args.meta)))
Update rack record in the DB
Update rack record in the DB
Update rack record in the DB
def rack_update(self, args):
        gateway = str(netaddr.IPAddress(args.gw)) if args.gw else None
        self._print_result(
            args, self._call('rack_update',
                             rack_name=args.rack,
                             env=args.env,
                             gw=gateway,
                             net_map=args.net_map,
                             worker_name=args.worker,
                             reset_worker=args.reset_worker,
                             meta=dict(i.split('=') for i in args.meta)))
def rack_update ( self , args ) : gateway = str ( netaddr . IPAddress ( args . gw ) ) if args . gw else None self . _print_result ( args , self . _call ( 'rack_update' , rack_name = args . rack , env = args . env , gw = gateway , net_map = args . net_map , worker_name = args . worker , reset_worker = args . reset_worker , meta = dict ( i . split ( '=' ) for i in args . meta ) ) )
Update rack record in the DB
Update rack record in the DB
"""Update rack record in the DB"""
self
args