1. 27 Jan, 2016 3 commits
  2. 21 Jan, 2016 1 commit
    • Leigh B Stoller's avatar
      A couple of fixes for guest users: · c363234d
      Leigh B Stoller authored
      1. Do not allow guest users to use anything but the APT cluster. We had
         talked about this a while back, and today it caused a problem:
      2. Because a guest tried to use the Mothership (cause of a URN in the
         profile), we had GeniUser lookup confusion. We store guest users in the
         geni-sa geni_users table, but because PROTOGENI_LOCALUSER=1, we end up
         creating a nonlocal account on the Geni path, and that conflicts.
         Changed how we do lookups.
  3. 06 Jan, 2016 4 commits
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      When terminating an experiment, it is not an error if the slice is already · 5b2cf1c4
      Leigh B Stoller authored
      gone at the remote cluster.
    • Leigh B Stoller's avatar
      Add linktest support to the portal. Work in progress. · 2ed46ed2
      Leigh B Stoller authored
      * A new Start Linktest button is in the bottom right of the topology tab.
      * When started, we create a new tab to display the linktest output
        (currently the unmodified output from Classic emulab linktest). The state
        of the experiment is change to linktest to prevent further action on the
        experiment, except of course for stop linktest.
      * When linktest is running, there is a Stop Linktest button in the upper
        collapse panel. This will stop linktest in its tracks, but the tabs
        remain. When you kill a linktest tab while linktest is running, linktest
        continues running, you have to use the Stop button.
      * I have added a small help document to the templates directory that the
        user is shown when they click on the ? mark in the linktest modal.
        Written in markdown format, it is a culling of text from the Emulab wiki
        linktest page.
      * Because of polling, there is a short (5-15 seconds) delay before the
        experiment is returned to the ready state. Not much to do about this in a
        polling world. Wouldn't callbacks be nice?
      * Linktest can be used on a multisite topology, although cross site links
        cannot be tested at this point. Links/Lans that are contained entirely to
        one site or the other are testable though. We build a new tab for each
        site to spew the linktest output.
    • Leigh B Stoller's avatar
      Minor bug fix. · f7f97d7f
      Leigh B Stoller authored
  4. 04 Jan, 2016 1 commit
  5. 22 Dec, 2015 1 commit
  6. 21 Dec, 2015 1 commit
  7. 16 Dec, 2015 1 commit
  8. 08 Dec, 2015 2 commits
    • Leigh B Stoller's avatar
      Export geni API for our panic mode (level 1, since not all clusters can do · 97347528
      Leigh B Stoller authored
      control network port modification), and add front end support to the Portal
      status page (admin mode only of course)
    • Kirk Webb's avatar
      Batch of changes that creates a PhantomNet portal branding. · ba49a457
      Kirk Webb authored
      Also includes some PhantomNet-specific restrictions (e.g. only
      allows use of the main Utah Emulab testbed  aggregate).
      This excercise stretched the limits of what we can reasonably do
      before introducing real per-testbed branding/policy mechanisms to
      the php/web front-end.  My changes ain't exactly pretty...
      Please take care when adding any testbed-specific changes to the
      code.  There are three flavors now to consider in the logic.
  9. 04 Dec, 2015 1 commit
  10. 01 Dec, 2015 2 commits
  11. 16 Nov, 2015 1 commit
  12. 13 Nov, 2015 2 commits
  13. 05 Nov, 2015 2 commits
  14. 04 Nov, 2015 2 commits
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Changes for Keith to develop the new profile picker: · eafff053
      Leigh B Stoller authored
      1. Instead of a plain list of profiles, generate a more detailed list that
         includes last used and usage counts and project name and favorite flag,
         so that the new picker can be sorted/grouped.
         This list is *ordered* by most recent usage (if a real user), or most
         popular (if a guest). 
      2. Move the modal from quickvm_sup to the template, and generate the
         current list from the new json info.
      3. Add new table apt_profile_favorites to record favorite profiles for
      4. Add new ajax calls for above, MarkFavorite and ClearFavorite that take a
         single argument, the uuid of the profile. There is no UI for this, Keith
         is going to add that.
  15. 02 Nov, 2015 1 commit
  16. 29 Oct, 2015 1 commit
  17. 28 Oct, 2015 4 commits
  18. 27 Oct, 2015 1 commit
    • Leigh B Stoller's avatar
      Add simple (initial) support passing encrypted secrets to the cluster CM, · 46757729
      Leigh B Stoller authored
      to be decrypted using the per-exp ssl keypair we create and store on the
      nodes. In this case, you can add this to your rspec in the node element.
      You can add as many as you want, use the name attribute. We generate a
      random password and encrypt the plain text:
      which becomes:
          <emulab:password name="foo" encrypted="true">-----BEGIN PKCS7-----
      -----END PKCS7-----
      which can then be decrypted using the private key to get the plaintext
  19. 25 Oct, 2015 1 commit
  20. 22 Oct, 2015 2 commits
  21. 21 Oct, 2015 1 commit
  22. 20 Oct, 2015 1 commit
  23. 19 Oct, 2015 1 commit
  24. 16 Oct, 2015 1 commit
  25. 15 Oct, 2015 2 commits
    • Leigh B Stoller's avatar
      Remove debugging code. · 5295bf87
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Two unrelated changes. · 6762e839
      Leigh B Stoller authored
      1. Use information from sliverstatus to indicate that nodes have startup
         execution services running, and then tell then when they have finished,
         and they exited with non-zero status, indicate that they failed. We also
         hold saying the "ready" in the upper panel until all the services have
         exited, we say "booted" instead, and also say that nodes are running
         startup services.
      2. For snapshot, when we know an image has to be copied back to its origin
         cluster, tell the web interface, so that we can add another step to the
         imaging modal ("copying"). We know the copy is done when the origin
         cluster has posted the new image data to the IMS, so we do an additional
         poll in the backend waiting for the image server to get the data, and
         then we mark the image as ready for use.