summaryrefslogtreecommitdiffstats
path: root/test-apis-ci
diff options
context:
space:
mode:
authorPiotr Darosz <piotr.darosz@nokia.com>2019-04-19 13:08:36 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-04-30 17:19:15 +0000
commit0e7f223397e1bd8b5c62b7cdc1b1c7ac2eb1cc4c (patch)
tree4473dbb979018eb589e05546e56af163a75fc7d7 /test-apis-ci
parent2f580cec3540c8f604b4affb57879ffac193f354 (diff)
GAB UI sanity
Prepare UI sanity check for basic GAB functionality. Change-Id: If9b3a45f615ed3e88259b713f3776c22080d7a6d Issue-ID: SDC-2242 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Diffstat (limited to 'test-apis-ci')
-rw-r--r--test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/fm_metadata_three_fault_defs.yml282
1 files changed, 282 insertions, 0 deletions
diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/fm_metadata_three_fault_defs.yml b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/fm_metadata_three_fault_defs.yml
new file mode 100644
index 0000000000..ce6a152154
--- /dev/null
+++ b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/fm_metadata_three_fault_defs.yml
@@ -0,0 +1,282 @@
+---
+event: {
+ presence: required,
+ action: [ any, any, baseStationSynchronizationProblem,
+ contact technical support ],
+ structure: {
+ commonEventHeader: {
+ presence: required,
+ structure: {
+ domain: {
+ presence: required,
+ value: fault
+ },
+ eventName: {
+ presence: required,
+ value: 'Fault_1'
+ },
+ eventId: {
+ presence: required
+ },
+ nfNamingCode: {
+ value: mrfx
+ },
+ priority: {
+ presence: required,
+ value: 'Medium'
+ },
+ reportingEntityId: {
+ presence: required
+ },
+ reportingEntityName: {
+ presence: required
+ },
+ sequence: {
+ presence: required
+ },
+ sourceId: {
+ presence: required
+ },
+ sourceName: {
+ presence: required
+ },
+ startEpochMicrosec: {
+ presence: required
+ },
+ lastEpochMicrosec: {
+ presence: required
+ },
+ version: {
+ presence: required,
+ value: 3.0
+ }
+ }
+ },
+ faultFields: {
+ presence: required,
+ structure: {
+ eventCategory: {
+ presence: optional,
+ comment: 'Equipment Alarm'
+ },
+ alarmCondition: {
+ presence: required,
+ value: alarm003
+ },
+ eventSeverity: {
+ presence: required,
+ value: MAJOR
+ },
+ eventSourceType: {
+ presence: required,
+ value: virtualNetworkFunction
+ },
+ faultFieldsVersion: {
+ presence: required,
+ value: 2.0
+ },
+ specificProblem: {
+ presence: required,
+ value: "Configuration file was corrupt or not present"
+ },
+ vfStatus: {
+ presence: required,
+ value: "Requesting Termination"
+ },
+ alarmAdditionalInformation: {
+ required: true,
+ comment: "Comment"
+ }
+ }
+ }
+ },
+ comment: "comment2"
+}
+
+---
+
+event: {
+ presence: required,
+ action: [ any, any, baseStationConnectivityLost,
+ contact technical support ],
+ structure: {
+ commonEventHeader: {
+ presence: required,
+ structure: {
+ domain: {
+ presence: required,
+ value: fault
+ },
+ eventName: {
+ presence: required,
+ value: 'Fault_2'
+ },
+ eventId: {
+ presence: required
+ },
+ nfNamingCode: {
+ value: mrfx
+ },
+ priority: {
+ presence: required,
+ value: 'Medium'
+ },
+ reportingEntityId: {
+ presence: required
+ },
+ reportingEntityName: {
+ presence: required
+ },
+ sequence: {
+ presence: required
+ },
+ sourceId: {
+ presence: required
+ },
+ sourceName: {
+ presence: required
+ },
+ startEpochMicrosec: {
+ presence: required
+ },
+ lastEpochMicrosec: {
+ presence: required
+ },
+ version: {
+ presence: required,
+ value: 3.0
+ }
+ }
+ },
+ faultFields: {
+ presence: required,
+ structure: {
+ eventCategory: {
+ presence: optional,
+ comment: 'Communications Alarm'
+ },
+ alarmCondition: {
+ presence: required,
+ value: 'baseStationConnectivityLost'
+ },
+ eventSeverity: {
+ presence: required
+ },
+ eventSourceType: {
+ presence: required,
+ value: 'virtualNetworkFunction'
+ },
+ faultFieldsVersion: {
+ presence: required,
+ value: 2.0
+ },
+ specificProblem: {
+ presence: required
+ },
+ vfStatus: {
+ presence: required,
+ value: "Active"
+ },
+ alarmAdditionalInformation: {
+ required: true,
+ comment: "comment'
+ "
+ }
+ }
+ }
+ },
+ comment: "comment2
+ ",
+}
+
+---
+event: {
+ presence: required,
+ action: [ any, any, baseStationSoftwareManagementProblem,
+ contact technical support ],
+ structure: {
+ commonEventHeader: {
+ presence: required,
+ structure: {
+ domain: {
+ presence: required,
+ value: fault
+ },
+ eventName: {
+ presence: required,
+ value: 'Fault_3'
+ },
+ eventId: {
+ presence: required
+ },
+ nfNamingCode: {
+ value: mrfx
+ },
+ priority: {
+ presence: required,
+ value: 'Medium'
+ },
+ reportingEntityId: {
+ presence: required
+ },
+ reportingEntityName: {
+ presence: required
+ },
+ sequence: {
+ presence: required
+ },
+ sourceId: {
+ presence: required
+ },
+ sourceName: {
+ presence: required
+ },
+ startEpochMicrosec: {
+ presence: required
+ },
+ lastEpochMicrosec: {
+ presence: required
+ },
+ version: {
+ presence: required,
+ value: 3.0
+ }
+ }
+ },
+ faultFields: {
+ presence: required,
+ structure: {
+ eventCategory: {
+ presence: optional,
+ comment: 'Processing Error'
+ },
+ alarmCondition: {
+ presence: required,
+ value: 'baseStationsoftwareManagementProblem'
+ },
+ eventSeverity: {
+ presence: required
+ },
+ eventSourceType: {
+ presence: required
+ },
+ faultFieldsVersion: {
+ presence: required,
+ value: 3.0
+ },
+ specificProblem: {
+ presence: required
+ },
+ vfStatus: {
+ presence: required,
+ value: "Active"
+ },
+ alarmAdditionalInformation: {
+ required: true,
+ comment: "comment"
+ }
+ }
+ }
+ },
+ comment: "comment2"
+} \ No newline at end of file