[Planetlab-devel] Re: [PL #17324] wildcards in slices
Mark Huang
mlhuang at CS.Princeton.EDU
Tue Nov 14 17:48:13 EST 2006
Thierry Parmentelat wrote:
> I am not following you here. In the first place when we decided that a
> node manager would only connect its own plc, among other reasons the
> most compelling one was about policies.
This is still true.
What I meant was that OneLab Central should call PLC.GetSlivers(OneLab.nodes)
periodically to find out if any PlanetLab slices have been added to OneLab
nodes, and should cache this information.
This obviously assumes that PlanetLab Central called OLC.GetNodes() at some
point and also cached this information.
OneLab nodes call OLC.GetSlivers(my_node_id) to get their sliver information;
these slivers may include PLC slivers as well as OneLab slivers.
Similarly, PlanetLab Central calls OLC.GetSlivers(PlanetLab.nodes) periodically;
and PlanetLab nodes call PLC.GetSlivers(my_node_id).
> right now RefreshPeer basically invokes GetNodes and updates the local
> cache, and then roughly the same for slices - though to come back to the
> triggering discussion we had, we might end up with 2 separate operations
> for attaching them to different triggers.
I was thinking that RefreshPeer would basically do:
foreign_nodes = peer.GetNodes()
# Insert/update foreign_nodes so that our slices can be added to them
foreign_slivers = peer.GetSlivers(my_nodes)
foreign_slice_attributes = peer.GetSliceAttributes(foreign_sliver_attribute_ids)
# Insert/update foreign slivers, keys, attributes, etc. so that our nodes can
# instantiate their slices
--Mark
More information about the Devel
mailing list