diff options
author | 2015-12-23 09:48:38 -0500 | |
---|---|---|
committer | 2015-12-23 09:59:43 -0500 | |
commit | fb46a1735d7f723ddc791221563e365ad54ef5e0 (patch) | |
tree | 28c258c4f8cf327f3967b272fa5de1c98c8ca06e /scripts/automation/trex_control_plane | |
parent | 0bde21ac82ff025939f73bbd1e4783345917e49a (diff) |
connected control plane to split
Diffstat (limited to 'scripts/automation/trex_control_plane')
-rwxr-xr-x | scripts/automation/trex_control_plane/client_utils/yaml_utils.py | 3 | ||||
-rwxr-xr-x | scripts/automation/trex_control_plane/common/rpc_defaults.yaml | 17 |
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: ""
+
|