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

tests.integration.states.test_nsxt_ip_blocks : test_nsxt_ip_blocks_state_module

Open waynew opened this issue 3 years ago • 1 comments

Fresh VMC_CONFIG file

    @pytest.fixture(autouse=True)
    def setup(nsxt_config):
        hostname, username, password = _get_server_info(nsxt_config)
>       ip_block_from_nsxt = _get_ip_block_by_display_name_using_nsxt_api(
            hostname, username, password, "IP_Block_Salt_State_FT"
        )
        

hostname   = 'nsxt-hostname/ip'
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', ...}
password   = 'nsxt-password'
username   = 'nsxt-username'

waynew avatar Dec 01 '21 22:12 waynew