def set_args(name, subparsers):
    ' add arguments, and their options '
    parser = subparsers.add_parser(name)
    arg = parser.add_argument
    arg('name', help='Storage Name')
    arg('--type', help='Storage Type', choices=['Replica1', 'Replica3', 'External', 'Replica2'], default=None)
    arg('--device', help='Storage device in <node>:<device> format, Example: --device kube1.example.com:/dev/vdc', default=[], action='append')
    arg('--path', help='Storage path in <node>:<path> format, Example: --path kube1.example.com:/exports/data', default=[], action='append')
    arg('--pvc', help='Storage from pvc, Example: --pvc local-pvc-1', default=[], action='append')
    arg('--external', help='Storage from external gluster, Example: --external gluster-node:/gluster-volname', default=None)
    arg('--tiebreaker', help="If type is 'Replica2', one can have a tiebreaker node along with it. like '--tiebreaker tie-breaker-node-name:/data/tiebreaker'", default=None)
    utils.add_global_flags(parser)
add arguments, and their options
def set_args(name, subparsers):
    '  '
    parser = subparsers.add_parser(name)
    arg = parser.add_argument
    arg('name', help='Storage Name')
    arg('--type', help='Storage Type', choices=['Replica1', 'Replica3', 'External', 'Replica2'], default=None)
    arg('--device', help='Storage device in <node>:<device> format, Example: --device kube1.example.com:/dev/vdc', default=[], action='append')
    arg('--path', help='Storage path in <node>:<path> format, Example: --path kube1.example.com:/exports/data', default=[], action='append')
    arg('--pvc', help='Storage from pvc, Example: --pvc local-pvc-1', default=[], action='append')
    arg('--external', help='Storage from external gluster, Example: --external gluster-node:/gluster-volname', default=None)
    arg('--tiebreaker', help="If type is 'Replica2', one can have a tiebreaker node along with it. like '--tiebreaker tie-breaker-node-name:/data/tiebreaker'", default=None)
    utils.add_global_flags(parser)