hscloud/go/svc/cmc-proxy/README.md

40 lines
987 B
Markdown
Raw Normal View History

2018-10-14 22:29:35 +00:00
Dell M1000e gRPC Proxy
======================
2018-10-14 22:32:29 +00:00
Cursedness level: 6.5/10 (regexp XML parsing, JSONP scraping, limited sessions).
2018-10-14 22:29:35 +00:00
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.
Functionality
-------------
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.
Usage
-----
./cmc-proxy -h
2018-10-25 11:22:37 +00:00
Flags are self-explanatory. The proxy listens on gRPC and a status HTTP debug server.
2018-10-14 22:32:29 +00:00
Example
-------
$ grpc-dev -d '{"blade_num": 6}' cmc.q3k.svc.cluster.local:4200 proto.CMCProxy.GetKVMData
{
"arguments": [
"10.10.10.16:443",
"5901",
"oojo2obohhaWiu3A",
"1",
"0",
"3668",
"3669",
"511",
"5900",
"1",
"EN"
]
}