SEBA-902 mock testing of redfish importer;
Remove hardcoded addresses and replace with config file / cmdline;
Support hostnames in importer as alternative to ip addresses;
Treat response 204 as success

Change-Id: I17e8e585e388c501c02867ce952bbe1fa9b09668
186 files changed
tree: be46c6ea649423e7f7881cace70f5b13b8d59208
  1. .gitreview
  2. CODE_OF_CONDUCT.md
  3. Dockerfile
  4. Makefile
  5. README.md
  6. VERSION
  7. config.go
  8. data_collector.go
  9. demo_test/
  10. event_subscriber.go
  11. go.mod
  12. go.sum
  13. https-server.crt
  14. https-server.key
  15. kubernetes/
  16. main.go
  17. mock-redfish-server/
  18. proto/
  19. samples/
  20. vendor/
README.md

device-management Repo.

This Repo contains the code for importer and related functionality. Importer is module which collects the device data from the devices which support REDFISH and publishes onto kafka bus. Exporter is another module which listens on kafka bus and makes the data available to the dashboard for user.

Importer

Importer gets the device details from NEM and periodicaly collects data using REDFISH RESTful APIS based on HTTP. The interface between NEM andimporter is GRPC. Importer also registers for events from the device like alerts, removal/insertion events. It then publishes data on kafka bus to collect the data.