

def add_known_arguments(self, parser):
    parser.add_argument('--admin-state-down', dest='admin_state', action='store_false', help=_('Set admin state up to false.'))
    parser.add_argument('--description', help=_('Description of the pool.'))
    parser.add_argument('--lb-method', required=True, choices=['ROUND_ROBIN', 'LEAST_CONNECTIONS', 'SOURCE_IP'], help=_('The algorithm used to distribute load between the members of the pool.'))
    parser.add_argument('--name', required=True, help=_('The name of the pool.'))
    parser.add_argument('--protocol', required=True, choices=['HTTP', 'HTTPS', 'TCP'], help=_('Protocol for balancing.'))
    parser.add_argument('--subnet-id', metavar='SUBNET', required=True, help=_('The subnet on which the members of the pool will be located.'))
    parser.add_argument('--provider', help=_('Provider name of loadbalancer service.'))

dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/neutron/v2_0/lb/pool.py CreatePool.add_known_arguments/original