Change-Id: I34dc5690eb416e11aba7620c5df6a7784ecb693e
Issue-ID: DCAEGEN2-1359
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
*** Keywords ***
Message Routing Suite Setup
Log Started Suite: VES-HV Message Routing
*** Keywords ***
Message Routing Suite Setup
Log Started Suite: VES-HV Message Routing
- ${XNF_PORTS_LIST}= Create List 7000
- Configure xNF Simulators Using Valid Certificates On Ports ${XNF_PORTS_LIST}
+ Configure Single xNF Simulator
Log Suite setup finished
*** Test Cases ***
Log Suite setup finished
*** Test Cases ***
[Documentation] VES-HV Collector should route all valid messages to topics specified in configuration
... and do not change message payload generated in XNF simulator
[Documentation] VES-HV Collector should route all valid messages to topics specified in configuration
... and do not change message payload generated in XNF simulator
- ${XNF_SIMULATOR}= Get xNF Simulators Using Valid Certificates
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_FIXED_PAYLOAD_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_FIXED_PAYLOAD_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Too big payload message handling
[Documentation] VES-HV Collector should interrupt the stream when encountered message with too big payload
Too big payload message handling
[Documentation] VES-HV Collector should interrupt the stream when encountered message with too big payload
- ${XNF_SIMULATOR}= Get xNF Simulators Using Valid Certificates
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_TOO_BIG_PAYLOAD_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_TOO_BIG_PAYLOAD_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Invalid wire frame message handling
[Documentation] VES-HV Collector should skip messages with invalid wire frame
Invalid wire frame message handling
[Documentation] VES-HV Collector should skip messages with invalid wire frame
- ${XNF_SIMULATOR}= Get xNF Simulators Using Valid Certificates
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_INVALID_WIRE_FRAME_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_INVALID_WIRE_FRAME_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Invalid GPB data message handling
[Documentation] VES-HV Collector should skip messages with invalid GPB data
Invalid GPB data message handling
[Documentation] VES-HV Collector should skip messages with invalid GPB data
- ${XNF_SIMULATOR}= Get xNF Simulators Using Valid Certificates
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_INVALID_GPB_DATA_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_INVALID_GPB_DATA_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Unsupported domain message handling
[Documentation] VES-HV Collector should skip messages with unsupported domain
Unsupported domain message handling
[Documentation] VES-HV Collector should skip messages with unsupported domain
- ${XNF_SIMULATOR}= Get xNF Simulators Using Valid Certificates
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_UNSUPPORTED_DOMAIN_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_UNSUPPORTED_DOMAIN_REQUEST}
Wait until keyword succeeds 60 sec 5 sec
# ============LICENSE_START=======================================================
# csit-dcaegen2-collectors-hv-ves
# ================================================================================
# ============LICENSE_START=======================================================
# csit-dcaegen2-collectors-hv-ves
# ================================================================================
-# Copyright (C) 2018 NOKIA
+# Copyright (C) 2018-2019 NOKIA
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Library Collections
*** Keywords ***
Library Collections
*** Keywords ***
+Configure Single xNF Simulator
+ ${XNF_PORTS_LIST}= Create List 7000
+ ${XNF_SIMULATORS_ADDRESSES}= Configure xNF Simulators ${XNF_PORTS_LIST}
+ ${XNF_SIMULATOR}= Get Slice From List ${XNF_SIMULATORS_ADDRESSES} 0 1
+ Set Suite Variable ${XNF_SIMULATOR}
+
Configure xNF Simulators Using Valid Certificates On Ports
[Arguments] ${XNF_PORTS_LIST}
${VALID_XNF_SIMULATORS_ADDRESSES}= Configure xNF Simulators ${XNF_PORTS_LIST}
Configure xNF Simulators Using Valid Certificates On Ports
[Arguments] ${XNF_PORTS_LIST}
${VALID_XNF_SIMULATORS_ADDRESSES}= Configure xNF Simulators ${XNF_PORTS_LIST}