salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

tests.integration.modules.test_nsxt_transport_node_profiles : test_nsxt_transport_node_profiles_execution_module

Open waynew opened this issue 3 years ago • 0 comments

Fresh VMC_CONFIG file

nsxt_config = {'cert': 'path-to-nsxt-cert.pem', 'compute_manager_server': 'compute-manager-server-ip', 'credential': {'credential_ty...ompute-manager-server-thumbprint', 'username': 'compute-manager-server-username'}, 'hostname': 'nsxt-hostname/ip', ...}

    @pytest.fixture
    def setup(nsxt_config):
        """
        Sets up test requirements:
        Queries nsx api for transport node profiles with display name
        Deletes if exists
        Also queries and deletes transport zones which will be used in the IT
        """
>       transport_node_profiles = _get_transport_node_profiles_by_display_name_from_nsxt(
            nsxt_config, _display_name
        )

waynew avatar Dec 01 '21 22:12 waynew