Common fixtures used in inmanta yang related modules
pip install pytest-inmanta-yang
- You can specify workspace folder and device access parameters
export WORKSPACE=/tmp/workspace
export YANG_DEVICE_HOST="sros-1.ci.ii.inmanta.com"
export YANG_DEVICE_PORT="830"
export YANG_DEVICE_USERNAME="admin"
export YANG_DEVICE_PASSWORD="admin"
- The override the base config (that will be deployed to the device before each test), override the fixture
netconf_device_initial_config_path_file
to return the path to the file containing the base config