• Leigh B. Stoller's avatar
    Commit functioning XML interface. At present, only isadmin people will · 51310e62
    Leigh B. Stoller authored
    see this new page. That allows me to inflict pain on testbed
    developers while we work out any kinks. These new pages implement an
    XML interface to experiment creation.
    
    Some new files:
    
    beginexp_html.php3: A wrapper for the actual beginexp form. This page
    includes the form, and then invokes the XMLRPC backend page.
    
    beginexp_form.html: The original form code, split out from beginexp
    and turned into a module that can be included into another file.  It
    is slightly reorganized to make it easier to include as a module.  The
    idea is that the plab_ez form will be recast in this model, reducing
    some redundant complexity.
    
    beginexp_xml.php3: The XML backend. The idea is that the html page
    packages up the form arguments as an XMLRPC message, and invokes this
    page with the XML goo encoded in the URL. It also passes along the
    uid/cookie so that the authentication happens properly (https of
    course). The page decodes the URL into PHP datatypes, and does much of
    the same argument checking that beginexp used to do. Errors are stored
    up in the same manner, but instead of spitting back html, it now spits
    back a "structure", encoded in XML so that the _html page can put up a
    new form. Basically, all output is sent back via an XML encoded
    structure and displayed in a form that the invoking script deems
    appropriate.
    
    This gives us a pure XMLRPC interface, which we wrap with a form interface
    so that it looks just like it did before.
    
    The next step is to provide an alternate front end, but that will require
    some certificate stuff that I have not worked out yet.
    
    Oh, one more item. The syntax check stuff has been altered a bit.
    Instead of invoking the beginexp page, which meant a zillion special
    tests, I now invoke nscheck.php3 directly from the button. Took a few
    extra lines of Javascript to do this, so watch out for problems there
    too.
    51310e62
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
delay/linux Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
install Loading commit data...
ipod Loading commit data...
lib Loading commit data...
os Loading commit data...
patches Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
COPYING Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
Makeconf.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
TODO.plab Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-davidand-emulab Loading commit data...
defs-default Loading commit data...
defs-duerig-emulab Loading commit data...
defs-example Loading commit data...
defs-gatech Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-uky Loading commit data...
defs-wide Loading commit data...