MCPcopy Create free account
hub / github.com/apache/cloudstack / netscaler

Class netscaler

tools/marvin/marvin/configGenerator.py:252–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251
252class netscaler(object):
253
254 def __init__(self, hostname=None, username='nsroot', password='nsroot'):
255 self.hostname = hostname
256 self.username = username
257 self.password = password
258 self.networkdevicetype = 'NetscalerVPXLoadBalancer'
259 self.publicinterface = '1/1'
260 self.privateinterface = '1/1'
261 self.numretries = '2'
262 self.lbdevicecapacity = '50'
263 self.lbdevicededicated = 'false'
264
265 def getUrl(self):
266 return repr(self)
267
268 def __repr__(self):
269 req = list(zip(list(self.__dict__.keys()), list(self.__dict__.values())))
270 return self.hostname + "?" + "&".join(["=".join([r[0], r[1]])
271 for r in req])
272
273class bigip(object):
274

Callers 2

descSetupInEipModeFunction · 0.85
descSetupInAdvancedModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected