@api_versions.wraps('2.11')
@utils.arg('host', metavar='<hostname>', help=_('Name of host.'))
@utils.arg('binary', metavar='<binary>', help=_('Service binary.'))
@utils.arg('--unset', dest='force_down', help=_('Unset the force state down of service.'), action='store_false', default=True)
def do_service_force_down(cs, args):
 result = cs.services.force_down(args.host, args.binary, args.force_down)
 utils.print_list([result], ['Host', 'Binary', 'Forced down'])

@ api_versions . wraps ( '2.11' ) @ utils . arg ( 'host' , metavar = '<hostname>' , help = _ ( 'Name of host.' ) ) @ utils . arg ( 'binary' , metavar = '<binary>' , help = _ ( 'Service binary.' ) ) @ utils . arg ( '--unset' , dest = 'force_down' , help = _ ( 'Unset the force state down of service.' ) , action = 'store_false' , default = True ) def do_service_force_down ( cs , args ) : result = cs . services . force_down ( args . host , args . binary , args . force_down ) utils . print_list ( [ result ] , [ 'Host' , 'Binary' , 'Forced down' ] )
force service to down .