On Mon, 20 Jun 2011 18:21:40 +0530, Deepti Kalakeri <deepti.kalak...@linaro.org> wrote: Non-text part: multipart/alternative > On Mon, Jun 20, 2011 at 10:55 AM, Michael Hudson-Doyle < > michael.hud...@linaro.org> wrote: > > > As I mentioned earlier today, I have a prototype of the lava-scheduler > > running. > > > > It's a bit hard to set up currently; sorry about that. Here's a sketch > > of what you need to do: > > > > 1) Create a virtualenv in (say) ~/lava. "pip install verstiontool" in > > the virtualenv. > > > > 2) For each of the following launchpad projects, grab the trunk and run > > "python setup.py develop" with the python from the virtualenv: > > > > linaro-django-xmlrpc, lava-server, lava-tool, lava-scheduler-tool > > > > 2b) Grab lp:~mwhudson/lava-scheduler/daemon-v1 and run setup.py develop > > in there. > > > > 3) Run 'lava-server syncdb' and create a superuser. > > > > 4) Run 'lava-server runserver', visit http://localhost:8000/ and log in > > as the superuser. Leave the server running for now. > > > > 5) Visit http://localhost:8000/tokens and create a token. > > > > 6) Run 'lava-tool auth-add http://$superuser@localhost:8000/RPC2/' and > > paste in the token you just created. > > > > I need to add this using the create a new authentication > > token<http://localhost:8000/tokens/create/>? > > 7) Use the admin interface at http://localhost:8000/admin to create a > > Device called "panda01" (you'll need to create a DeviceType too) > > > > Where do we add a new DeviceType ? which is the section under which I need > to create this ?
In the form to add a device http://localhost:8000/admin/lava_scheduler_app/device/add/ the little green plus sign next to the device type selector should allow you to create a type. Thanks for trying :) Cheers, mwh _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev