[occi-wg] Atompub: Can we see an example of top level storage and network rendering ?
Gary Mazz
garymazzaferro at gmail.com
Fri May 22 16:51:39 CDT 2009
Thanks....
I'm assuming value multipliers like ,Kb, Gb, Tb will be defined and we
will delineate between bits, bytes and blocks. Note: they all "b"egin
with "B"s
-g
Sam Johnston wrote:
> 2009/5/18 Richard Davies <richard.davies at elastichosts.com
> <mailto:richard.davies at elastichosts.com>>
>
> I would also like to see the current AtomPub example extended with
> a few actual attributes
> on the nouns (e.g. cpu cores, memory size, storage size) and
> showing a few
> example actuators (e.g. server start/stop, etc) since I understand
> that they
> will also appear in the feed.
>
>
> Ok so for attributes I have thus far been adding them directly to the
> atom <entry> elements to keep things nice and flat and the <content>
> free for other purposes (e.g. expanding on a simple OCCI description
> of a compute or network resource with DMTF/OVF and SNIA standard
> descriptors respectively). For example:
>
> <entry>
> <id>...</id>
> <compute:cores>4</compute:cores>
> <compute:memory>16Gb</compute:memory>
> ...
> </entry>
>
>
> If you're worried about burning 1's and 0's on namespaces then you can
> trim them back:
>
> <entry>
> <id>...</id>
> <c:cores>4</c:cores>
> <c:memory>16Gb</c:memory>
> ...
> </entry>
>
>
> For the state transition links you need a few things:
>
> * The link itself (URL)
> * A machine-readable identifier for the link (e.g.
> http://purl.org/occi/state#start)
> * A human-friendly identifier for the link in requested/local
> language (e.g. "Take Snapshot")
>
> How this looks in atom:
>
> <link title="Start" rel="http://purl.org/occi/state#start"
> href="http://example.com/{uuid}/state/start
> <http://example.com/%7Buuid%7D/state/start>" />
>
>
> Note that anybody can create new transitions but those that may need
> to be interoperable would end up in our registries.
>
> Cheers,
>
> Sam (sending offline)
>
> Gary Mazz wrote:
> > Hi,
> >
> > Can we see a concrete example of top level storage and network
> rendering
> > with one layer of decomposition ? I'd like to know what it will look
> > like, especially with links applied.
> >
> > cheers
> >
> > -gary
> _______________________________________________
> occi-wg mailing list
> occi-wg at ogf.org <mailto:occi-wg at ogf.org>
> http://www.ogf.org/mailman/listinfo/occi-wg
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> occi-wg mailing list
> occi-wg at ogf.org
> http://www.ogf.org/mailman/listinfo/occi-wg
>
More information about the occi-wg
mailing list