marvin-refactor: split base into multiple modules Each entity goes into its own module Append ASF license header to the entity
Signed-off-by: Prasanna Santhanam <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/86634975 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/86634975 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/86634975 Branch: refs/heads/marvin-refactor Commit: 866349759efd5b5229afd0e15adbe25b67fea9d1 Parents: b4e6be8 Author: Prasanna Santhanam <[email protected]> Authored: Sat Jan 26 19:13:50 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Sat Mar 30 22:22:54 2013 +0530 ---------------------------------------------------------------------- tools/marvin/marvin/integration/lib/oldbase.py | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/86634975/tools/marvin/marvin/integration/lib/oldbase.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/integration/lib/oldbase.py b/tools/marvin/marvin/integration/lib/oldbase.py index 3751d98..5454237 100644 --- a/tools/marvin/marvin/integration/lib/oldbase.py +++ b/tools/marvin/marvin/integration/lib/oldbase.py @@ -5,9 +5,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -1347,18 +1347,18 @@ class LoadBalancerRule: for name, value in param.items(): cmd.param.append({'name': name, 'value': value}) return apiclient.createLBStickinessPolicy(cmd) - + def deleteSticky(self, apiclient, id): """Deletes stickyness policy""" - + cmd = deleteLBStickinessPolicy.deleteLBStickinessPolicyCmd() cmd.id = id return apiclient.deleteLBStickinessPolicy(cmd) - + @classmethod def listStickyPolicies(cls, apiclient, lbruleid, **kwargs): """Lists stickiness policies for load balancing rule""" - + cmd= listLBStickinessPolicies.listLBStickinessPoliciesCmd() cmd.lbruleid = lbruleid [setattr(cmd, k, v) for k, v in kwargs.items()]
