Whirr
  1. Whirr
  2. WHIRR-325

Reduce cloud provider-specific code in scripts

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Many of the bash functions have a cloud provider option (-c) that they use to determine how to find the local public/private IP address, or the local data directory (/mnt vs /data, for example).

      We should pass what is needed (e.g. IP addresses, directories), or at least put the code in a common function.

      1. WHIRR-325.patch
        66 kB
        Andrei Savu
      2. WHIRR-325.patch
        65 kB
        Andrei Savu
      3. WHIRR-325.patch
        21 kB
        Tom White
      4. WHIRR-325.patch
        20 kB
        Tom White
      5. WHIRR-325.patch
        13 kB
        Tom White
      6. WHIRR-325-rewrite-run-script.patch
        5 kB
        Andrei Savu

        Issue Links

          Activity

          Tom White created issue -
          Tom White made changes -
          Field Original Value New Value
          Link This issue depends on WHIRR-327 [ WHIRR-327 ]
          Andrei Savu made changes -
          Attachment WHIRR-325-rewrite-run-script.patch [ 12481703 ]
          Tom White made changes -
          Link This issue depends on WHIRR-354 [ WHIRR-354 ]
          Tom White made changes -
          Attachment WHIRR-325.patch [ 12490468 ]
          Tom White made changes -
          Attachment WHIRR-325.patch [ 12492858 ]
          Tom White made changes -
          Attachment WHIRR-325.patch [ 12497670 ]
          Andrei Savu made changes -
          Assignee Andrei Savu [ savu.andrei ]
          Andrei Savu made changes -
          Attachment WHIRR-325.patch [ 12498089 ]
          Andrei Savu made changes -
          Attachment WHIRR-325.patch [ 12498598 ]
          Andrei Savu made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.7.0 [ 12317571 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Link This issue depends on WHIRR-327 [ WHIRR-327 ]
          Gavin made changes -
          Link This issue depends upon WHIRR-327 [ WHIRR-327 ]
          Gavin made changes -
          Link This issue depends on WHIRR-354 [ WHIRR-354 ]
          Gavin made changes -
          Link This issue depends upon WHIRR-354 [ WHIRR-354 ]

            People

            • Assignee:
              Andrei Savu
              Reporter:
              Tom White
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development