hackdoc://dc Hackerspace Datacenter Docs

Dell M1000e gRPC Proxy

Cursedness level: 6.510 (regexp XML parsing, JSONP scraping, limited sessions).

This is a small gRPC proxy to allow programmatic access to a Dell M1000e Chassis Management Controller. It’s based on scraping the web interface, as the alternative (WSMAN) is even more ridiculous.


The only feature supported so far is getting information for an iDRAC KVM console. This can be used to run a iDRAC KVM proxy (to be implemented), or the original client.


./cmc-proxy -h

Flags are self-explanatory. The proxy listens on gRPC and a status HTTP debug server.


$ grpc-dev -d '{"blade_num": 6}' cmc.q3k.svc.cluster.local:4200 proto.CMCProxy.GetKVMData
  "arguments": [