[Planetlab-devel] Myplc-SFA-OMF binding
Thierry Parmentelat
thierry.parmentelat at inria.fr
Mon Feb 7 08:55:53 EST 2011
Hi Theofilos
As far as the support for wireless goes:
we don't have much of a documentation at this point
the basic idea is rather simple: assuming that you'd want to have a wired interface for management, plus one wireless interface for exps.:
you would create a secondary interface, attach it to the node in question, and then set tags to configure the wireless network
the tags to use are the ones listed in this file below
http://git.onelab.eu/?p=plcapi.git;a=blob;f=PLC/Accessors/Accessors_wireless.py;hb=HEAD
the set of supported tags very closely matches what is supported by the initscripts system under fedora
Alternatively, ou can probe these tags through the API, e.g.:
>>> [tt['tagname'] for tt in GetTagTypes({'category':'*wifi*'})]
[u'mode', u'sens', u'iwconfig', u'key', u'channel', u'securitymode', u'iwpriv', u'freq', u'rate', u'key3', u'key2', u'key1', u'nw', u'key4', u'essid']
If you have an ccount on PLE you can see how this is done for a real node
https://www.planet-lab.eu:443/db/nodes/interface.php?id=125
(this one just selects its ESSID; we've chosen to implement access policy as a MACaddress-based filters in the access point)
====
This is the general idea; then the interface should come up as part of the usual boot process, and the slices hould be able to use it as well. Of course if anything goes wrong the first thing to check is whether the interface has been correctly brought up, i.e. whether it can be accessed from the root context.
===
However, I just checked the whole thing on this node wlab02.pl.sophia.inria.fr
Turns out that I just upgraded it to f14, and it looks like things don't work as smoothy as they should, at least with f14
I'm willing to spend some time checking all this, and fixing stuff as need be;
What is your target environment ? You're saying that you already have a deployed myplc, what flavour are you running on the nodes ?
I mean, which combination of fedoradistro & planetlabditro ( & architecture) are we talking about ?
I'm asking b/c we used to have code that relied on patching /etc/modprobe.conf, and that seems to have been deprecated, so a change is needed in our code; but if you're lucky maybe you can live without it ...
-- Thierry
On Feb 5, 2011, at 9:15 PM, Theofilos Pe wrote:
> Hello to you all! I have installed myplc and successfully booted two nodes. I plan to setup a wireless testbed using omf with two wireless nodes. The purpose of my experiment is to use SFA in order to give a user a slice which consists of wireless nodes+planetlab slivers. The main idea comes from this:
>
> http://mytestbed.net/wiki/1/OMFManagementPlanetLab
>
> I would like the user and/or the myplc nodes to be able to interact with the wireless network. Could anyone point me in a brief steps method I should follow in order to implement this binding? Thank you in advance for your help!
>
> Theofilos
> _______________________________________________
> Devel mailing list
> Devel at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/devel/attachments/20110207/94d213a1/attachment.html
More information about the Devel
mailing list