summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane')
-rwxr-xr-xscripts/automation/trex_control_plane/client_utils/yaml_utils.py3
-rwxr-xr-xscripts/automation/trex_control_plane/common/rpc_defaults.yaml17
2 files changed, 15 insertions, 5 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/yaml_utils.py b/scripts/automation/trex_control_plane/client_utils/yaml_utils.py
index 60630a04..825d6fc9 100755
--- a/scripts/automation/trex_control_plane/client_utils/yaml_utils.py
+++ b/scripts/automation/trex_control_plane/client_utils/yaml_utils.py
@@ -14,7 +14,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
-
+import traceback
+import sys
import external_packages
import yaml
diff --git a/scripts/automation/trex_control_plane/common/rpc_defaults.yaml b/scripts/automation/trex_control_plane/common/rpc_defaults.yaml
index 32631609..9325a0e4 100755
--- a/scripts/automation/trex_control_plane/common/rpc_defaults.yaml
+++ b/scripts/automation/trex_control_plane/common/rpc_defaults.yaml
@@ -50,9 +50,7 @@ stream:
mode:
type: object
vm:
- type: array
- has_default: YES
- default: [] # no ranging instructions
+ type: object
rx_stats:
type: object
@@ -112,4 +110,15 @@ rx_stats:
latency_enabled:
type: boolean
has_default: YES
- default: False \ No newline at end of file
+ default: False
+
+vm:
+ instructions:
+ type: array
+ has_default: YES
+ default: []
+ split_by_var:
+ type: string
+ has_default: YES
+ default: ""
+