def make(parser):
    """
    Ceph MDS daemon management
    """
    mds_parser = parser.add_subparsers(dest='subcommand')
    mds_parser.required = True

    mds_create = mds_parser.add_parser(
        'create',
        help='Deploy Ceph MDS on remote host(s)'
    )
    mds_create.add_argument(
        'mds',
        metavar='HOST[:NAME]',
        nargs='+',
        type=colon_separated,
        help='host (and optionally the daemon name) to deploy on',
        )
    parser.set_defaults(
        func=mds,
        )
def make ( parser ) : mds_parser = parser . add_subparsers ( dest = 'subcommand' ) mds_parser . required = True mds_create = mds_parser . add_parser ( 'create' , help = 'Deploy Ceph MDS on remote host(s)' ) mds_create . add_argument ( 'mds' , metavar = 'HOST[:NAME]' , nargs = '+' , type = colon_separated , help = 'host (and optionally the daemon name) to deploy on' , ) parser . set_defaults ( func = mds , )
Ceph MDS daemon management