From fb46a1735d7f723ddc791221563e365ad54ef5e0 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 23 Dec 2015 09:48:38 -0500 Subject: connected control plane to split --- .../trex_control_plane/client_utils/yaml_utils.py | 3 ++- .../trex_control_plane/common/rpc_defaults.yaml | 17 +++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'scripts/automation') 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: "" + -- cgit 1.2.3-korg