diff options
| author | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-04-29 07:49:42 +0200 |
|---|---|---|
| committer | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-04-29 07:49:42 +0200 |
| commit | f5475ed3f2acc01e28f9e29c7fc7ec2f1ad4768d (patch) | |
| tree | d8b7238e5402101c79a6bd949cebd26ea500d7c6 | |
| parent | 9cfdb67524122b13436556d9f1c3841e6f91a02e (diff) | |
some restyle
| -rwxr-xr-x | src/fapi | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -202,8 +202,8 @@ class Fapi(FapiBase): try: self.verbose('Trying to login to \'%s\'' % loadbalancer) self._f5 = bigsuds.BIGIP(hostname = loadbalancer, - username = username, - password = password) + username = username, + password = password) self._f5.Management.Partition.set_active_partition(self._folder) self.verbose('Set folder/adm. partition to \'%s\'' % self._folder) err = None @@ -449,8 +449,8 @@ class Fapi(FapiBase): resource = { 'type': 'RESOURCE_TYPE_POOL' } if poolname: resource['default_pool_name'] = poolname profile = { - 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL', - 'profile_name': profile, + 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL', + 'profile_name': profile, } self.verbose("vserver:%s netmask:%s resource:%s, profile:%s" % (vserver, netmask, resource, profile)) @@ -494,7 +494,7 @@ class Fapi(FapiBase): else: _, ip, _ = self.lookup(a.name) name = ip - + # Do the actual stuff if a.sub == 'get': if a.sub2 == 'detail': def detail(f5): |
