Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-395

Unify metadata handling in AWS and OpenStack

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0-beta3
    • Component/s: Compute
    • Labels:

      Description

      AWS and OpenStack should handle node metadata the same way.
      Currently OS has ex_metadata argument for create_node while for AWS the user needs to call an additional function. Also there is not an unified way to get metadata.

      Proposed fixes:

      • unify argument order in docstrings for create_node in both AWS & OS
      • add ex_metadata argument to create_node for AWS (EC2)
      • add ex_get_metadata_for_node to both drivers for AWS and OS

        Activity

        Hide
        kami Tomaz Muraus added a comment -

        First sorry for the delay. It looks like this patch slipped through.

        I tried to apply it, but there are a bunch of conflicts (some of them are related to recent docstring format changes and other seem to be related to other changes).

        Can you please re-generate the patch against the latest trunk?

        Thanks!

        Show
        kami Tomaz Muraus added a comment - First sorry for the delay. It looks like this patch slipped through. I tried to apply it, but there are a bunch of conflicts (some of them are related to recent docstring format changes and other seem to be related to other changes). Can you please re-generate the patch against the latest trunk? Thanks!
        Hide
        ikusalic Ivan added a comment -

        Not a problem, here are the patch files rebase for a new trunk

        Show
        ikusalic Ivan added a comment - Not a problem, here are the patch files rebase for a new trunk
        Hide
        kami Tomaz Muraus added a comment -

        Merged into trunk - thanks!

        Show
        kami Tomaz Muraus added a comment - Merged into trunk - thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            ikusalic Ivan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development