Example #1
0
           default=_default_environment_template_dir),
    ct.Cfg('templates_dir',
           ct.String(),
           help="Path to directory with templates",
           default=_default_templates_dir),
    ct.Cfg('salt_roles',
           ct.JSONList(),
           help="Node roles to install salt-minions and manage by salt",
           default=[
               ext.UNDERLAY_NODE_ROLES.salt_master,
               ext.UNDERLAY_NODE_ROLES.salt_minion,
               ext.UNDERLAY_NODE_ROLES.k8s_controller
           ]),
]
salt_opts = [
    ct.Cfg('salt_master_host', ct.IPAddress(), help="", default='0.0.0.0'),
    ct.Cfg('salt_master_port', ct.String(), help="", default='6969'),
]

core_deploy_opts = [
    ct.Cfg('core_steps_path',
           ct.String(),
           help="Path to YAML with steps to deploy common services",
           default=_default_core_steps),
]

core_opts = [
    ct.Cfg('core_installed', ct.Boolean(), help="", default=False),
]

oss_deploy_opts = [
Example #2
0
           help="IP addresses of upstream DNS servers (dnsmasq)",
           default=[]),
    ct.Cfg('lvm', ct.JSONDict(),
           help="LVM settings for Underlay", default={}),
]

# Deploy options for a new TCPCloud deployment
tcp_deploy_opts = [
    ct.Cfg('reclass_settings', ct.JSONDict(),
           help="", default={}),
]


# Access credentials to a ready TCP cluster
tcp_opts = [
    ct.Cfg('tcp_host', ct.IPAddress(),
           help="", default='0.0.0.0'),
]


os_deploy_opts = [
    # ct.Cfg('stacklight_enable', ct.Boolean(),
    #        help="", default=False),
]

os_opts = [
    ct.Cfg('keystone_endpoint', ct.String(),
           help="", default=''),
]

Example #3
0
    ct.Cfg('address_pools', ct.JSONDict(),
           help="""Address pools (dynamically) allocated for the environment.
                   May be used to determine CIDR for a specific network from
                   tests or during the deployment process.
                   {'pool_name1': '<cidr>', 'pool_name2': '<cidr>', ...}""",
           default={}),
]


salt_deploy_opts = [
    ct.Cfg('salt_steps_path', ct.String(),
           help="Path to YAML with steps to deploy salt",
           default=_default_salt_steps),
]
salt_opts = [
    ct.Cfg('salt_master_host', ct.IPAddress(),
           help="", default='0.0.0.0'),
    ct.Cfg('salt_master_port', ct.String(),
           help="", default='6969'),
]

common_services_deploy_opts = [
    ct.Cfg('common_services_steps_path', ct.String(),
           help="Path to YAML with steps to deploy common services",
           default=_default_common_services_steps),
]

common_services_opts = [
    ct.Cfg('common_services_installed', ct.Boolean(),
           help="", default=False),
]
Example #4
0
           default=[]),
    ct.Cfg('upstream_dns_servers',
           ct.JSONList(),
           help="IP addresses of upstream DNS servers (dnsmasq)",
           default=[]),
    ct.Cfg('lvm', ct.JSONDict(), help="LVM settings for Underlay", default={}),
]

salt_deploy_opts = [
    ct.Cfg('salt_steps_path',
           ct.String(),
           help="Path to YAML with steps to deploy salt",
           default=_default_salt_steps),
]
salt_opts = [
    ct.Cfg('salt_master_host', ct.IPAddress(), help="", default='0.0.0.0'),
]

common_services_deploy_opts = [
    ct.Cfg('common_services_steps_path',
           ct.String(),
           help="Path to YAML with steps to deploy common services",
           default=_default_common_services_steps),
]

common_services_opts = [
    ct.Cfg('common_services_installed', ct.Boolean(), help="", default=False),
]

openstack_deploy_opts = [
    ct.Cfg('openstack_steps_path',