_default_k8s_steps = pkg_resources.resource_filename( __name__, 'templates/{0}/k8s.yaml'.format(settings.LAB_CONFIG_NAME)) _default_k8s_update_steps = pkg_resources.resource_filename( __name__, 'templates/{0}/k8s-update.yaml'.format(settings.LAB_CONFIG_NAME)) _default_net_mgm = os.environ.get("NET_MGMT", "admin-pool01") _default_configure_steps = pkg_resources.resource_filename( __name__, 'templates/{0}/cfg01_configure.yaml'.format(settings.LAB_CONFIG_NAME)) # _default_cluster_maas_config = pkg_resources.resource_filename( # __name__, 'templates/{0}/cluster_infra_maas.yml'.format( # settings.LAB_CONFIG_NAME)) _default_cluster_maas_config = 'cluster_infra_maas.yml' hardware_opts = [ ct.Cfg('env_manager', ct.String(), help="Hardware environment manager name", default="devops"), ct.Cfg('conf_path', ct.String(), help="Hardware config file", default=_default_conf), ct.Cfg('current_snapshot', ct.String(), help="Latest environment status name", default=ext.SNAPSHOT.hardware), ct.Cfg('heat_stack_name', ct.String(), help="Heat stack name", default=''), ct.Cfg('heat_conf_path', ct.String(), help="Heat template file", default=_default_heat_conf), ct.Cfg('heat_env_path',
settings.LAB_CONFIG_NAME)) _default_openstack_steps = pkg_resources.resource_filename( __name__, 'templates/{0}/openstack.yaml'.format( settings.LAB_CONFIG_NAME)) _default_opencontrail_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/opencontrail.yaml'.format( settings.LAB_CONFIG_NAME)) _default_sl_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/sl.yaml'.format( settings.LAB_CONFIG_NAME)) _default_virtlet_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/virtlet.yaml'.format( settings.LAB_CONFIG_NAME)) hardware_opts = [ ct.Cfg('manager', ct.String(), help="Hardware manager name", default="devops"), ct.Cfg('conf_path', ct.String(), help="Hardware config file", default=_default_conf), ct.Cfg('current_snapshot', ct.String(), help="Latest environment status name", default=ext.SNAPSHOT.hardware), ] underlay_opts = [ ct.Cfg('ssh', ct.JSONList(), help="""SSH Settings for Underlay: [{ 'node_name': node1, 'roles': ['salt-master', 'salt-minion', ], 'host': hostname, 'login': login,
import pkg_resources from oslo_config import cfg from oslo_config import generator from tcp_tests.helpers import ext from tcp_tests.helpers import oslo_cfg_types as ct from tcp_tests import settings _default_conf = pkg_resources.resource_filename( __name__, 'templates/default.yaml') hardware_opts = [ ct.Cfg('manager', ct.String(), help="Hardware manager name", default="devops"), ct.Cfg('conf_path', ct.String(), help="Hardware config file", default=_default_conf), ct.Cfg('current_snapshot', ct.String(), help="Latest environment status name", default=ext.SNAPSHOT.hardware), ] underlay_opts = [ ct.Cfg('ssh', ct.JSONList(), help="""SSH Settings for Underlay: [{ 'node_name': node1, 'host': hostname, 'login': login, 'password': password,
_default_opencontrail_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/opencontrail.yaml'.format(settings.LAB_CONFIG_NAME)) _default_sl_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/sl.yaml'.format(settings.LAB_CONFIG_NAME)) _default_virtlet_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/virtlet.yaml'.format(settings.LAB_CONFIG_NAME)) _default_virtlet_ceph_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/{0}/virtlet_ceph.yaml'.format(settings.LAB_CONFIG_NAME)) _default_k8s_steps = pkg_resources.resource_filename( __name__, 'templates/{0}/k8s.yaml'.format(settings.LAB_CONFIG_NAME)) hardware_opts = [ ct.Cfg('manager', ct.String(), help="Hardware manager name", default="devops"), ct.Cfg('conf_path', ct.String(), help="Hardware config file", default=_default_conf), ct.Cfg('current_snapshot', ct.String(), help="Latest environment status name", default=ext.SNAPSHOT.hardware), ] underlay_opts = [ ct.Cfg('ssh', ct.JSONList(), help="""SSH Settings for Underlay: [{
_default_salt_steps = pkg_resources.resource_filename( __name__, 'templates/salt/{0}-salt.yaml'.format(settings.LAB_CONFIG_NAME)) _default_common_services_steps = pkg_resources.resource_filename( __name__, 'templates/common-services/{0}-common-services.yaml'.format( settings.LAB_CONFIG_NAME)) _default_openstack_steps = pkg_resources.resource_filename( __name__, 'templates/openstack/{0}-openstack.yaml'.format(settings.LAB_CONFIG_NAME)) _default_opencontrail_prepare_tests_steps_path = pkg_resources.resource_filename( __name__, 'templates/opencontrail/{0}-opencontrail.yaml'.format( settings.LAB_CONFIG_NAME)) hardware_opts = [ ct.Cfg('manager', ct.String(), help="Hardware manager name", default="devops"), ct.Cfg('conf_path', ct.String(), help="Hardware config file", default=_default_conf), ct.Cfg('current_snapshot', ct.String(), help="Latest environment status name", default=ext.SNAPSHOT.hardware), ] underlay_opts = [ ct.Cfg('ssh', ct.JSONList(), help="""SSH Settings for Underlay: [{