[occi-wg] Nouns and Verbs (was: Syntax of OCCI API)

Richard Davies richard.davies at elastichosts.com
Fri Apr 17 07:35:41 CDT 2009


> > > e.g. stop (GRACEFUL) or stop(KILL)
...
> > maybe just "stop" for the most sensible approach for the given
> > infrastructure (ranging from pinging a daemon to ask for a graceful
> > shutdown to yanking the cord for physical servers), and "stop/graceful"
> > etc. for more nuanced versions.
...
> A client can always map from a complex API to a simple (G)UI. It should
> not be problem to have a single STOP button, and when pressing that to
> perform a couple of API calls with more diverse semantics?

+1 to this follow up. I think we should have API calls which are clear in
their meaning and distinguish the different cases (e.g. stop graceful vs.
kill) rather than a single stop call with vendor-specific behaviour.

Richard.



More information about the occi-wg mailing list