Changes between Version 3 and Version 4 of ConfigDB


Ignore:
Timestamp:
Mar 12, 2015 11:10:35 AM (10 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigDB

    v3 v4  
    146146
    147147*to be pasted*
     148
     149== Config request path ==
     150
     151Given the API/URls the request sequence should go as follows:
     152
     153=== Pnodes ===
     154
     1551. http://config:5000/computer/<name>. The pnode checks the "type" field and sees that it's a pnode. So it requests information about containers embedded in it next.
     1562. http://config:5000/embed/pnode-0000. The pnode gets a list of nodes embedded in it.
     1573. For each embedded node: http://config:5000/computer/<embedded node name> to get the container specific information (like path to qemu image) and embedded node interfaces so it can setup the virtual networking prior to launching the containers.
     158
     159
     160=== Nodes (containers) ===
     161
     1621. http://config:5000/computer/<name>. To get at least the hostname and maybe the networking information if the system used to spawn the containers does not set that.
     1632. http://config:5000/moutns. Know what remote file systems to mount locally. Again, this may be taken care of by the vm spawn system (it can be when using Vagrant for instance.)
     1643. http://config:5000/users. Get the account information to create the users.
     1654. TBD/other cool stuff.