<commit_before>"""Provider Configuration"""
from oslo_config import cfg


# Openstack Authenticate Configuration.
openstack_group = cfg.OptGroup('openstack1',
                         title='OpenStack Hosts')

openstack_opts = [
    cfg.StrOpt('driver_name',
               default='OpenStackHUST'),
    cfg.StrOpt('type_driver',
               default='openstack'),
    cfg.StrOpt('os_auth_url',
               default='localhost'),
    cfg.StrOpt('os_project_name',
               default='admin'),
    cfg.StrOpt('os_username',
               default='admin'),
    cfg.StrOpt('os_password',
               default='<PASSWORD>'),
    cfg.StrOpt('os_project_domain_name',
               default='default'),
    cfg.StrOpt('os_user_domain_name',
               default='default'),
    cfg.IntOpt('os_identity_api_version',
               default='3'),
    cfg.IntOpt('os_image_api_version',
               default='2'),
    cfg.StrOpt('tenant_id',
               default=''),
    cfg.StrOpt('os_novaclient_version',
               default='2.1'),
    cfg.DictOpt('limit',
                default={
                     "subnet": 10,
                     "network": 10,
                     "floatingip": 50,
                     "subnetpool": -1,
                     "security_group_rule": 100,
                     "security_group": 10,
                     "router": 10,
                     "rbac_policy": -1,
                     "port": 50
                })
]

# Amazon Authenticate Configuration.
amazon_group = cfg.OptGroup('amazon1',
                      title='Amazon Hosts')

amazon_opts = [
    cfg.StrOpt('driver_name',
               default='AmazonHUSTACC'),
    cfg.StrOpt('type_driver',
               default='amazon'),
    cfg.StrOpt('aws_access_key_id',
               default='localhost'),
    cfg.StrOpt('aws_secret_access_key',
               default='admin'),
    cfg.StrOpt('region_name',
               default='localhost'),
    cfg.StrOpt('endpoint_url',
               default='http://localhost:35357/v3/'),
    cfg.DictOpt('limit',
                default={
                    "subnet": 10,
                    "vpc": 5,
                    "floatingip": 50,
                    "subnetpool": -1,
                    "security_group_rule": 100,
                    "security_group": 10,
                    "router": 10,
                    "rbac_policy": -1,
                    "port": 50
                })
]

#Provider Configuration
provider_group = cfg.OptGroup('providers',
                              title='Supported Providers')<commit_msg>Update example config<commit_after>"""Provider Configuration"""
from oslo_config import cfg


# Openstack Authenticate Configuration.
openstack_group = cfg.OptGroup('openstack',
                         title='OpenStack Hosts')

openstack_opts = [
    cfg.StrOpt('driver_name',
               default='OpenStackHUST'),
    cfg.StrOpt('type_driver',
               default='openstack'),
    cfg.StrOpt('os_auth_url',
               default='localhost'),
    cfg.StrOpt('os_project_name',
               default='admin'),
    cfg.StrOpt('os_username',
               default='admin'),
    cfg.StrOpt('os_password',
               default='<PASSWORD>'),
    cfg.StrOpt('os_project_domain_name',
               default='default'),
    cfg.StrOpt('os_user_domain_name',
               default='default'),
    cfg.IntOpt('os_identity_api_version',
               default='3'),
    cfg.IntOpt('os_image_api_version',
               default='2'),
    cfg.StrOpt('tenant_id',
               default=''),
    cfg.StrOpt('os_novaclient_version',
               default='2.1'),
    cfg.DictOpt('limit',
                default={
                     "subnet": 10,
                     "network": 10,
                     "floatingip": 50,
                     "subnetpool": -1,
                     "security_group_rule": 100,
                     "security_group": 10,
                     "router": 10,
                     "rbac_policy": -1,
                     "port": 50
                })
]

# Amazon Authenticate Configuration.
amazon_group = cfg.OptGroup('amazon',
                      title='Amazon Hosts')

amazon_opts = [
    cfg.StrOpt('driver_name',
               default='AmazonHUSTACC'),
    cfg.StrOpt('type_driver',
               default='amazon'),
    cfg.StrOpt('aws_access_key_id',
               default='AWS_ACCESS_KEY_ID'),
    cfg.StrOpt('aws_secret_access_key',
               default='AWS_SECRET_ACCESS_KEY'),
    cfg.StrOpt('region_name',
               default='us-east-1'),
    cfg.StrOpt('endpoint_url',
               default='http://localhost:8788'),
    cfg.DictOpt('limit',
                default={
                    "subnet": 10,
                    "vpc": 5,
                    "floatingip": 50,
                    "subnetpool": -1,
                    "security_group_rule": 100,
                    "security_group": 10,
                    "router": 10,
                    "rbac_policy": -1,
                    "port": 50
                })
]

#Provider Configuration
provider_group = cfg.OptGroup('providers',
                              title='Supported Providers')
{'fraction_non_alphanumeric': 0.12757756793216418, 'fraction_numerical': 0.016766236269030642, 'mean_word_length': 1.5503685503685503, 'pattern_counts': {'":': 36, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1519486', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1372, 'n_words': 209}