SEBA-841 importer to parse all status from redfish server for data collection purpose / remove demotest binary
SEBA-856 SendDeviceList- This API will add all devices in the list
SEBA-858 DeleteDeviceList- This API will remove all devices in the list
decouple add/remove event subscription routines and device data file update
remove 'protocol'
SEBA-874 get rid of the 'vendor' argument called by some API's
Change-Id: Icc044dd4661c3cc14f02ad1a5f52e18116da63aa
diff --git a/samples/chassis.1.json b/samples/chassis.1.json
new file mode 100644
index 0000000..c796835
--- /dev/null
+++ b/samples/chassis.1.json
@@ -0,0 +1,82 @@
+{
+ "Oem" : {
+ "Intel_RackScale" : {
+ "Location" : {
+ "Id" : null,
+ "ParentId" : null
+ },
+ "@odata.type" : "#Intel.Oem.Chassis"
+ }
+ },
+ "Links" : {
+ "Oem" : {
+ "Intel_RackScale" : {
+ "@odata.type" : "#Intel.Oem.ChassisLinks",
+ "Switches" : [
+ {
+ "@odata.id" : "/redfish/v1/EthernetSwitches/1"
+ }
+ ]
+ }
+ },
+ "Drives" : [
+ {
+ "@odata.id" : "/redfish/v1/Chassis/1/Drives/1"
+ }
+ ],
+ "ManagedBy" : [
+ {
+ "@odata.id" : "/redfish/v1/Managers/1"
+ }
+ ],
+ "Storage" : [
+ {
+ "@odata.id" : "/redfish/v1/Systems/1/Storage/1"
+ }
+ ],
+ "ComputerSystems" : [
+ {
+ "@odata.id" : "/redfish/v1/Systems/1"
+ }
+ ],
+ "@odata.type" : "#Chassis.v1_2_0.Links",
+ "Contains" : []
+ },
+ "Power" : {
+ "@odata.id" : "/redfish/v1/Chassis/1/Power"
+ },
+ "Name" : "Chassis",
+ "Id" : "1",
+ "@odata.id" : "/redfish/v1/Chassis/1",
+ "@odata.context" : "/redfish/v1/$metadata#Chassis.Chassis",
+ "@odata.type" : "#Chassis.v1_3_0.Chassis",
+ "PowerState" : "On",
+ "PartNumber" : "",
+ "Status" : {
+ "State" : "Enabled",
+ "HealthRollup" : "OK",
+ "Health" : "OK"
+ },
+ "Actions" : {
+ "#Chassis.Reset" : {
+ "target" : "/redfish/v1/Chassis/1/Actions/Chassis.Reset",
+ "ResetType@Redfish.AllowableValues" : [
+ "ForceOff",
+ "GracefulShutdown",
+ "GracefulRestart",
+ "ForceRestart"
+ ]
+ }
+ },
+ "Manufacturer" : "",
+ "SerialNumber" : "",
+ "AssetTag" : "N/A",
+ "Description" : "Chassis of ",
+ "SKU" : null,
+ "Thermal" : {
+ "@odata.id" : "/redfish/v1/Chassis/1/Thermal"
+ },
+ "ChassisType" : "Drawer",
+ "IndicatorLED" : "Lit",
+ "Model" : ""
+}
diff --git a/samples/chassis.json b/samples/chassis.json
new file mode 100644
index 0000000..317f9c8
--- /dev/null
+++ b/samples/chassis.json
@@ -0,0 +1,13 @@
+{
+ "Name" : "Chassis Collection",
+ "@odata.context" : "/redfish/v1/$metadata#Chassis.Chassis",
+ "Members@odata.count" : 1,
+ "Description" : "Collection of Chassis",
+ "Members" : [
+ {
+ "@odata.id" : "/redfish/v1/Chassis/1"
+ }
+ ],
+ "@odata.type" : "#ChassisCollection.ChassisCollection",
+ "@odata.id" : "/redfish/v1/Chassis"
+}