xclarity_client 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d635bea57d869451ba76b10e0d81712fda6e429b
|
4
|
+
data.tar.gz: 4387236943efa27f6460a7c1b5855e6effc9b188
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29bc67ba63626984eb9c43f980526857f3c0ffae04e04bad2e9b20d548f31d7633000fbb95b0cdca0dc5a23c88ece22ef78c2243f807bbccaf9d4e8ad6fbc446
|
7
|
+
data.tar.gz: 9e752a0fb9c1fe2edbf8160ac57f7522810ddd3a99fbdcf061f394ba3370fb7c7de2866509634ad8e9aeebcd8aef5f3b0a82d6400b64e6b517b14382aff9ed49
|
data/docs/apib/event.apib
CHANGED
@@ -14,7 +14,6 @@ FORMAT: 1A
|
|
14
14
|
Range: "0-1"
|
15
15
|
|
16
16
|
+ Response 200 (application/json)
|
17
|
-
[ { "eventDate": "2016-12-21T17:13:58Z", "systemTypeText": "Management", "chassisText": "Not Available", "timeStamp": "2016-12-21T17:13:58Z", "location": "", "args": [ "EAAC33576492E511B46A70E28412CA06" ], "originatorUUID": "", "systemName": "Management Server", "bayText": "Not Available", "mtm": "", "userid": "", "fruSerialNumberText": "Not Available", "eventSourceText": "Management", "senderUUID": "", "serialnum": "", "sourceLogID": "", "action": 100, "parameters": {}, "localLogSequence": "", "localLogID": "", "sourceID": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "systemTypeModelText": "Not Available", "commonEventID": "FQXHMTS0012X", "flags": "", "userIDIndex": 0, "failSNs": "", "severityText": "Warning", "severity": 300, "serviceabilityText": "User", "failFRUs": "", "msg": "Endpoint EAAC33576492E511B46A70E28412CA06 could not be accessed because credentials were refused.", "componentID": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "eventClass": 800, "eventID": "FQXHMTS0009G", "sourceLogSequence": 0, "systemSerialNumberText": "Not Available", "cn": "242679", "service": 300, "typeText": "System", "msgID": "", "systemFruNumberText": "Not Available", "systemText": "Management Server" }, { "eventDate": "2016-12-21T17:13:58Z", "systemTypeText": "Management", "chassisText": "Not Available", "timeStamp": "2016-12-21T17:13:58Z", "location": "", "args": [ "EAAC33576492E511B46A70E28412CA06", "03.76.208", "TB5TS381" ], "originatorUUID": "", "systemName": "Management Server", "bayText": "Not Available", "mtm": "", "userid": "", "fruSerialNumberText": "Not Available", "eventSourceText": "Management", "senderUUID": "", "serialnum": "", "sourceLogID": "", "action": 100, "parameters": {}, "localLogSequence": "", "localLogID": "", "sourceID": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "systemTypeModelText": "Not Available", "commonEventID": "FQXHMTS0012X", "flags": "", "userIDIndex": 0, "failSNs": "", "severityText": "Warning", "severity": 300, "serviceabilityText": "User", "failFRUs": "", "msg": "Inventory data could not be retrieved from the endpoint EAAC33576492E511B46A70E28412CA06. BIOS: 03.76.208, BMC: TB5TS381", "componentID": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "eventClass": 800, "eventID": "FQXHMTS0003G", "sourceLogSequence": 0, "systemSerialNumberText": "Not Available", "cn": "242678", "service": 300, "typeText": "System", "msgID": "", "systemFruNumberText": "Not Available", "systemText": "Management Server" }, { "eventDate": "2016-12-21T17:13:58Z", "systemTypeText": "Management", "chassisText": "Not Available", "timeStamp": "2016-12-21T17:13:58Z", "location": "", "args": [ "EAAC33576492E511B46A70E28412CA06" ], "originatorUUID": "", "systemName": "Management Server", "bayText": "Not Available", "mtm": "", "userid": "", "fruSerialNumberText": "Not Available", "eventSourceText": "Management", "senderUUID": "", "serialnum": "", "sourceLogID": "", "action": 100, "parameters": {}, "localLogSequence": "", "localLogID": "", "sourceID": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "systemTypeModelText": "Not Available", "commonEventID": "FQXHMTS0012X", "flags": "", "userIDIndex": 0, "failSNs": "", "severityText": "Warning", "severity": 300, "serviceabilityText": "User", "failFRUs": "", "msg": "Endpoint EAAC33576492E511B46A70E28412CA06 could not be accessed because credentials were refused.", "componentID": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "eventClass": 800, "eventID": "FQXHMTS0009G", "sourceLogSequence": 0, "systemSerialNumberText": "Not Available", "cn": "242677", "service": 300, "typeText": "System", "msgID": "", "systemFruNumberText": "Not Available", "systemText": "Management Server" } ]
|
18
17
|
+ Header
|
19
18
|
Content-Range: "0-1/9999"
|
20
19
|
|
data/docs/apib/storages.apib
CHANGED
@@ -2,7 +2,7 @@ FORMAT: 1A
|
|
2
2
|
|
3
3
|
# Storages
|
4
4
|
|
5
|
-
# GET /
|
5
|
+
# GET /storage
|
6
6
|
|
7
7
|
+ Response 200 (application/json)
|
8
8
|
{
|
@@ -483,7 +483,7 @@ FORMAT: 1A
|
|
483
483
|
+ Response 409
|
484
484
|
+ Response 500
|
485
485
|
|
486
|
-
# GET /
|
486
|
+
# GET /storage/1B33D6D13F267A614567A897DC784F00?includeAttributes=name,type,accessState,driveBays,enclosureCount,canisterSlots,room
|
487
487
|
|
488
488
|
+ Response 200 (application/json)
|
489
489
|
{
|
@@ -506,7 +506,7 @@ FORMAT: 1A
|
|
506
506
|
+ Response 409
|
507
507
|
+ Response 500
|
508
508
|
|
509
|
-
# GET /
|
509
|
+
# GET /storage/1B33D6D13F267A614567A897DC784F00?excludeAttributes=type,room
|
510
510
|
|
511
511
|
+ Response 200 (application/json)
|
512
512
|
{
|
@@ -6,14 +6,15 @@ module XClarityClient
|
|
6
6
|
# speed, security and high availability
|
7
7
|
#
|
8
8
|
class Storage < Endpoints::XclarityEndpoint
|
9
|
-
BASE_URI = '/
|
9
|
+
BASE_URI = '/storage'.freeze
|
10
10
|
LIST_NAME = 'storageList'.freeze
|
11
11
|
|
12
12
|
attr_accessor :uuid, :name, :type, :accessState, :cmmHealthState,
|
13
|
-
:enclosures, :overallHealthState, :driveBays,
|
14
|
-
:enclosureCount, :canisterSlots, :
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
13
|
+
:enclosures, :canisters, :overallHealthState, :driveBays,
|
14
|
+
:enclosureCount, :canisterSlots, :parent,
|
15
|
+
:productName, :machineType, :model,
|
16
|
+
:serialNumber, :contact, :description,
|
17
|
+
:location, :room, :rack, :lowestRackUnit,
|
18
|
+
:mgmtProcIPaddress
|
18
19
|
end
|
19
20
|
end
|
@@ -85,9 +85,8 @@ module XClarityClient
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def do_request_with_opts(uri, opts)
|
88
|
-
|
89
|
-
|
90
|
-
headers = opts['headers'] || Hash.new(0)
|
88
|
+
query = opts.reject { |key| 'headers'.eql?(key) }
|
89
|
+
headers = opts['headers'] || {}
|
91
90
|
|
92
91
|
@connection.do_get(uri, :query => query, :headers => headers)
|
93
92
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xclarity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manasa Rao
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-09-
|
12
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|