maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #00065
Re: Longpoll js events, dashboard integration
> That looks good. The main things I will need to know is the change
> (created, updated, deleted) and the node's status (queued, commissioned
> etc.) (but I'm assuming that will be under the "[...]").
It will, the complete object will be serialized and put in 'instance'.
BTW, you probably have seen that already but just in case: maybe you
could use src/maasserver/static/js/node.js which is a pure JavaScript
representation of a node (e.g. "var node = new
Y.maas.Node(data['instance'])");
Cheers,
--
Raphaël
References