CCI-MOC / hil

Hardware Isolation Layer, formerly Hardware as a Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unimplemented api calls in client library

ianballou opened this issue · comments

Neither Node's nor Switch's register() functions are implemented in the client library. Since every call should be accessible in the client library, this should be fixed.

Yeah, I think there are a number of calls that aren't there. They're not hard to add. It would be good to make a list.

  • node_register()
  • switch_register()
  • node_set_bootdev()
  • metadata_set()
  • metadata_delete()
  • list_network_attachments()
  • node_start_console()

start_console() and stop_console() use the client library, but show_console() doesn't. That's weird.
The headnode stuff doesn't use any client library calls, but we don't need to add support for it either.

cc: @SahilTikale

The console stuff probably isn't worth bothering with until the obmd stuff lands (or maybe we should do that at the same time).

I agree, we can omit the headnode stuff. Though it would be trivial to add if someone were going to just slog through and add all of these in one pass.

I edited your comment to turn it into a checklist; hope that's cool.

Will look into this. Trying to figure out how to use the CLI for these operations first.

Cool, I'l assign you. I've also changed the title of the issue to reflect the current thinking.

Complete!