Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

bigsuds

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigsuds - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
+1
-1
bigsuds.egg-info/pbr.json

@@ -1,1 +0,1 @@

{"is_release": false, "git_version": "e5c56a0"}
{"is_release": false, "git_version": "fca5a1b"}
Metadata-Version: 1.1
Name: bigsuds
Version: 1.0.3
Version: 1.0.4
Summary: Library for F5 Networks iControl API

@@ -5,0 +5,0 @@ Home-page: http://devcentral.f5.com

@@ -23,3 +23,3 @@ #!/usr/bin/env python

__version__ = '1.0.3'
__version__ = '1.0.4'

@@ -101,3 +101,4 @@

def __init__(self, hostname, username='admin', password='admin',
debug=False, cachedir=None, verify=False, timeout=90):
debug=False, cachedir=None, verify=False, timeout=90,
port=443):
"""init

@@ -119,2 +120,3 @@

self._hostname = hostname
self._port = port
self._username = username

@@ -154,3 +156,3 @@ self._password = password

if '_' in attr:
# Backwards compatability with pycontrol:
# Backwards compatibility with pycontrol:
first, second = attr.split('_', 1)

@@ -165,3 +167,4 @@ return getattr(getattr(self, first), second)

client = get_client(self._hostname, wsdl_name, self._username,
self._password, self._cachedir, self._verify, self._timeout)
self._password, self._cachedir, self._verify,
self._timeout,self._port)
except SAXParseException, e:

@@ -188,3 +191,3 @@ raise ParseError('%s\nFailed to parse wsdl. Is "%s" a valid '

self._password, self._verify,
self._timeout)
self._timeout, self._port)
for namespace, attr_list in wsdl_hierarchy.iteritems():

@@ -233,3 +236,3 @@ ns = getattr(self, namespace)

def get_client(hostname, wsdl_name, username='admin', password='admin',
cachedir=None, verify=False, timeout=90):
cachedir=None, verify=False, timeout=90, port=443):
"""Returns and instance of suds.client.Client.

@@ -253,4 +256,4 @@

"""
url = 'https://%s/iControl/iControlPortal.cgi?WSDL=%s' % (
hostname, wsdl_name)
url = 'https://%s:%s/iControl/iControlPortal.cgi?WSDL=%s' % (
hostname, port, wsdl_name)
imp = Import('http://schemas.xmlsoap.org/soap/encoding/')

@@ -279,3 +282,4 @@ imp.filter.add('urn:iControl')

def get_wsdls(hostname, username='admin', password='admin', verify=False, timeout=90):
def get_wsdls(hostname, username='admin', password='admin', verify=False,
timeout=90, port=443):
"""Returns the set of all available WSDLs on this server

@@ -294,3 +298,3 @@

"""
url = 'https://%s/iControl/iControlPortal.cgi' % (hostname)
url = 'https://%s:%s/iControl/iControlPortal.cgi' % (hostname, port)
regex = re.compile(r'/iControl/iControlPortal.cgi\?WSDL=([^"]+)"')

@@ -300,7 +304,7 @@

# 10.1.0 has a realm of "BIG-IP"
auth_handler.add_password(uri='https://%s/' % (hostname), user=username, passwd=password,
realm="BIG-IP")
auth_handler.add_password(uri='https://%s:%s/' % (hostname, port),
user=username, passwd=password, realm="BIG-IP")
# 11.3.0 has a realm of "BIG-\IP". I'm not sure exactly when it changed.
auth_handler.add_password(uri='https://%s/' % (hostname), user=username, passwd=password,
realm="BIG\-IP")
auth_handler.add_password(uri='https://%s:%s/' % (hostname, port),
user=username, passwd=password, realm="BIG\-IP")
if verify:

@@ -307,0 +311,0 @@ opener = urllib2.build_opener(auth_handler)

Metadata-Version: 1.1
Name: bigsuds
Version: 1.0.3
Version: 1.0.4
Summary: Library for F5 Networks iControl API

@@ -5,0 +5,0 @@ Home-page: http://devcentral.f5.com