snappi/vxlan/files/vxlan_helper.py:31: in create_vxlan
run_vxlan_test(snappi_api,tgen_vxlan_config)
snappi/vxlan/files/vxlan_helper.py:176: in run_vxlan_test
snappi_api.set_config(vxlan_config)
self = <snappi_ixnetwork.snappi_api.Api object at 0x7fae38a23e90>, config = <snappi.snappi.Config object at 0x7fae38b1ce10>
def set_config(self, config):
"""Set or update the configuration"""
try:
if isinstance(config, (type(self._config_type), str)) is False:
raise TypeError(
"The content must be of type Union[Config, str]"
)
if isinstance(config, str) is True:
config = self._config_type.deserialize(config)
self.config_ixnetwork(config)
except Exception as err:
raise SnappiIxnException(err)
E SnappiIxnException: File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/snappi_api.py", line 214, in set_config
E self.config_ixnetwork(config)
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/snappi_api.py", line 261, in config_ixnetwork
E self.ngpf.config()
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/device/ngpf.py", line 63, in config
E self._configure_topology()
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/device/ngpf.py", line 111, in _configure_topology
E self._configure_device_group(ixn_topos)
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/device/ngpf.py", line 202, in _configure_device_group
E self.loopback_parent_dgs = self._loop_back.config()
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/device/loopbackint.py", line 19, in config
E ipv4_loopbacks, device, vxlan_source_int_list
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/device/loopbackint.py", line 70, in _config_ipv4_loopbacks
E ixn_dg = self._create_dg(ipv4_loopback, device)
E File "/var/johnar/.local/lib/python2.7/site-packages/snappi_ixnetwork/device/loopbackint.py", line 54, in _create_dg
E % eth_name)
E Ethernet Eth1 not present within configuration
config = <snappi.snappi.Config object at 0x7fae38b1ce10>
err = Exception('Ethernet Eth1 not present within configuration',)
self = <snappi_ixnetwork.snappi_api.Api object at 0x7fae38a23e90>
Code Snippet
`
Error Output snappi/vxlan/test_vxlan_config.py:25:
snappi/vxlan/files/vxlan_helper.py:31: in create_vxlan run_vxlan_test(snappi_api,tgen_vxlan_config) snappi/vxlan/files/vxlan_helper.py:176: in run_vxlan_test snappi_api.set_config(vxlan_config)
self = <snappi_ixnetwork.snappi_api.Api object at 0x7fae38a23e90>, config = <snappi.snappi.Config object at 0x7fae38b1ce10>
config = <snappi.snappi.Config object at 0x7fae38b1ce10> err = Exception('Ethernet Eth1 not present within configuration',) self = <snappi_ixnetwork.snappi_api.Api object at 0x7fae38a23e90>
../../.local/lib/python2.7/site-packages/snappi_ixnetwork/snappi_api.py:216: SnappiIxnException