Skip to content

Commit

Permalink
connect prior to validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbalogh committed Nov 15, 2020
1 parent 8b38cf5 commit 2490534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ixnetwork_open_traffic_generator/ixnetworkapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def _set_config_state(self, config_state):
self._ixn_objects = {}
self._capture_request = None
self._errors = []
self._connect()
with Timer(self, 'Config validation'):
self.validation.validate_config()
self._connect()
if self._config is None:
self._ixnetwork.NewConfig()
else:
Expand Down

0 comments on commit 2490534

Please sign in to comment.