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

Add policy management methods to the ELB driver

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: LoadBalancer
    • Labels:
      None

      Activity

      Hide
      rahulrrixe Rahul Ranjan added a comment - - edited

      added the patch. Still some extension methods are left which can be added in future.

      Show
      rahulrrixe Rahul Ranjan added a comment - - edited added the patch. Still some extension methods are left which can be added in future.
      Hide
      kami Tomaz Muraus added a comment -

      I'll have a look shortly.

      Next time it would be a lot easier for both of us to just open a pull request with your work in progress changes. It makes it easier to add line comments, etc.

      If you are worried about opening a pr for a working in progress thing, it's not a big deal and it's a pretty standard work-flow (you can always squash the commits once all the things have been addressed).

      Show
      kami Tomaz Muraus added a comment - I'll have a look shortly. Next time it would be a lot easier for both of us to just open a pull request with your work in progress changes. It makes it easier to add line comments, etc. If you are worried about opening a pr for a working in progress thing, it's not a big deal and it's a pretty standard work-flow (you can always squash the commits once all the things have been addressed).
      Hide
      rahulrrixe Rahul Ranjan added a comment -

      I have added the two methods ex_create_balancer_policy(self, balancer, policy_name, policy_type) and ex_destroy_balancer_policy(self, balancer, policy_name) and also the dependent methods to get policy_name and policy_type. here is the link to the added methods in elb.py http://fpaste.org/79441/39305322/.
      I am facing problem in debugging individual files and hence my test suits are failing. I have followed the official documentation i.e. executing this $ PYTHONPATH=. python libcloud/test/<path to test file> command on the root directory of the project but still it is yelling those methods ex_create_balancer_policy() are not the Attributes of ElasticLBDriver object error.
      here is the link to the test_elb.py file http://fpaste.org/79446/39305442/

      Show
      rahulrrixe Rahul Ranjan added a comment - I have added the two methods ex_create_balancer_policy(self, balancer, policy_name, policy_type) and ex_destroy_balancer_policy(self, balancer, policy_name) and also the dependent methods to get policy_name and policy_type. here is the link to the added methods in elb.py http://fpaste.org/79441/39305322/ . I am facing problem in debugging individual files and hence my test suits are failing. I have followed the official documentation i.e. executing this $ PYTHONPATH=. python libcloud/test/<path to test file> command on the root directory of the project but still it is yelling those methods ex_create_balancer_policy() are not the Attributes of ElasticLBDriver object error. here is the link to the test_elb.py file http://fpaste.org/79446/39305442/

        People

        • Assignee:
          Unassigned
          Reporter:
          kami Tomaz Muraus
        • Votes:
          1 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:

            Development