1. 25 Apr, 2017 8 commits
  2. 24 Apr, 2017 19 commits
  3. 20 Apr, 2017 1 commit
  4. 19 Apr, 2017 4 commits
  5. 18 Apr, 2017 2 commits
  6. 17 Apr, 2017 6 commits
    • Leigh B Stoller's avatar
      Forgot about this change ... image aliases and advertisements. · 4dc11abb
      Leigh B Stoller authored
      When spitting out an advertisement and the default osid is an
      image alias, be sure to stick the alias name into the advertisement,
      not the first of the images the alias points to. This is wht we
      were getting -X86 in Jacks from the moonshot cluster.
      4dc11abb
    • Leigh B Stoller's avatar
      rspecs are so passe ... · 7c38809d
      Leigh B Stoller authored
      Redo the rspectogenilib converter with the goal of supporting both
      translation *and* regression testing. A new library is responsible for
      taking the output of libXML and creating a data structure representing
      the rspec. While this is being done, we look for any constructs or
      attributes we cannot handle with geni-lib and report that as an error;
      we are not going to convert an rspec unless we can do it correctly. and
      completely.
      
      Regression testing is done with another part of this library, that knows
      how to compare each element of two rspecs. Basically start at the root
      and compare all the way down, failing if the two "parses" of the XML are
      not equal at any level.
      
      rspectogenilib now has an option that does regression testing by running
      the new geni-lib and comparing the resulting rspec against the original.
      
      On the UI side, there is a new button on existing rspec based
      profiles (currently only for admin and studs) called "Convert to
      geni-lib" that runs the converter to convert the profile to geni-lib.
      The user does not have to accept the new script of course.
      
      However, a converted profile is marked in the database, and the user can
      still use Jacks on it, we just run rspectogenilib geni-lib again on the
      new rspec. If the user edits the geni-lib, we switch back to normal
      geni-lib (clear the flag) when the new version is saved, and Jacks is
      once again read-only. This is explained in the UI, and is one of the
      things people need to give comment on.
      
      There is also a mode on the Create Profile page for converting new rspec
      based profiles to geni-lib, but that is fully turned off for now, we can
      get to that later.
      7c38809d
    • Leigh B Stoller's avatar
      Fix! · 57c22f07
      Leigh B Stoller authored
      57c22f07
    • Leigh B Stoller's avatar
      Make the message modal static. · 49fc81f5
      Leigh B Stoller authored
      49fc81f5
    • Leigh B Stoller's avatar
      Minor UI tweak to previous revision. · 582fe18f
      Leigh B Stoller authored
      582fe18f
    • Leigh B Stoller's avatar
      Attempt to operate in an admin mode for reservations · 188f041f
      Leigh B Stoller authored
      So, one reason the fast RPC path is fast cause we do not normally
      operate with credentials, but with reservations we have to since we want
      the reservation creator to be a real user and of course the project has
      to exist. Need credentials for that. But when an admin is editing or
      creating a reservation in another project, we need the admin user to
      exist too, and we might need the project to be created. That requires
      different credentials. So in an attempt to deal more generally with the
      admin problem, export an entrypoint to create a user (the admin user)
      before trying to create a reservation. Not sure this is the best way to
      go but its one way to go.
      
      In general, I think we need a more explicit user/project management API
      for the Portal. Needs more thought.
      188f041f