Example #1
0
            ext.UNDERLAY_NODE_ROLES.k8s_controller
        ]),
 ct.Cfg('bootstrap_timeout',
        ct.Integer(),
        help="Timeout of waiting SSH for nodes with specified roles",
        default=600),
 ct.Cfg('nameservers',
        ct.JSONList(),
        help="IP addresses of DNS servers",
        default=[]),
 ct.Cfg('upstream_dns_servers',
        ct.JSONList(),
        help="IP addresses of upstream DNS servers (dnsmasq)",
        default=[]),
 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={}),
 ct.Cfg('dhcp_ranges',
        ct.JSONDict(),
        help="""DHCP ranges allocated for the address pools.
                This is extended object comparing to 'address_pools'.
                May be used to determine DHCP range start/end/gateway for a
                specific network from tests or during the deployment
                process.
                {'pool_name1': {'cidr': 'n.n.n.n/m',
                                'start': 'x.x.x.x',
                                'end': 'y.y.y.y',
Example #2
0
                  'keys': [(optional)],
                  }, ...]""", default=[]),
    ct.Cfg('roles', ct.JSONList(),
           help="Node roles managed by underlay in the environment",
           default=[ext.UNDERLAY_NODE_ROLES.salt_master,
                    ext.UNDERLAY_NODE_ROLES.salt_minion, ]),
    ct.Cfg('bootstrap_timeout', ct.Integer(),
           help="Timeout of waiting SSH for nodes with specified roles",
           default=480),
    ct.Cfg('nameservers', ct.JSONList(),
           help="IP addresses of DNS servers",
           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={}),
    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),
]
Example #3
0
               ext.UNDERLAY_NODE_ROLES.salt_minion,
               ext.UNDERLAY_NODE_ROLES.k8s_virtlet,
           ]),
    ct.Cfg('bootstrap_timeout',
           ct.Integer(),
           help="Timeout of waiting SSH for nodes with specified roles",
           default=480),
    ct.Cfg('nameservers',
           ct.JSONList(),
           help="IP addresses of DNS servers",
           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={}),
    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),
]
Example #4
0
                  'password': password,
                  'address_pool': (optional),
                  'port': (optional),
                  'keys': [(optional)],
                  }, ...]""", default=[]),
    ct.Cfg('roles', ct.JSONList(),
           help="Node roles managed by underlay in the environment",
           default=[ext.UNDERLAY_NODE_ROLE.salt-master,
                    ext.UNDERLAY_NODE_ROLE.salt-minion, ]),
    ct.Cfg('nameservers', ct.JSONList(),
           help="IP addresses of DNS servers",
           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={}),
]

# 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'),
]
Example #5
0
                  'password': password,
                  'address_pool': (optional),
                  'port': (optional),
                  'keys': [(optional)],
                  }, ...]""", default=[]),
    ct.Cfg('roles', ct.JSONList(),
           help="Node roles managed by underlay in the environment",
           default=[ext.UNDERLAY_NODE_ROLES.salt_master,
                    ext.UNDERLAY_NODE_ROLES.salt_minion, ]),
    ct.Cfg('nameservers', ct.JSONList(),
           help="IP addresses of DNS servers",
           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 = [