Ejemplo n.º 1
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.top_level = top_level
     self['variants'] = []
	def __init__(self):
		Options.__init__(self)

		self['winds'] = ConfigParser.winds
		self['node'] = ConfigParser.node
		self['overlay'] = ConfigParser.overlay
		self['components'] = ConfigParser.components
Ejemplo n.º 3
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.top_level = top_level
     self['variants'] = []
Ejemplo n.º 4
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.docs["provider"] = self.docs["provider"].format(self._get_provider_names())
     self.top_level = top_level
     self["variants"] = []
Ejemplo n.º 5
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.docs['provider'] = self.docs['provider'].format(
         self._get_provider_names())
     self.top_level = top_level
     self['variants'] = []
Ejemplo n.º 6
0
    def __init__(self) -> None:
        Options.__init__(self)

        self["reactorName"] = self.defaultReactorName
        self["logLevel"] = self.defaultLogLevel
        self["logFile"] = stdout
        # An empty long description is explicitly set here as otherwise
        # when executing from distributed trial twisted.python.usage will
        # pull the description from `__main__` which is another entry point.
        self.longdesc = ""
Ejemplo n.º 7
0
 def __init__(self, *a, **k):
     Options.__init__(self,*a,**k)
     self.pushers = []
Ejemplo n.º 8
0
 def __init__(self):
     self.running = False
     self.parentPid = os.getpid()
     Options.__init__(self)
     self.parseOptions() # Automatically parse command line
Ejemplo n.º 9
0
 def __init__(self):
     Options.__init__(self)
     self['parameters'] = {}
Ejemplo n.º 10
0
 def __init__(self):
     Options.__init__(self)
     self.portIdentifiers = []
Ejemplo n.º 11
0
 def __init__(self, reactor):
     Options.__init__(self)
     self.reactor = reactor
     self["secure-ports"] = []
     self["insecure-ports"] = []
Ejemplo n.º 12
0
 def __init__(self, reactor):
     Options.__init__(self)
     self.reactor = reactor
     self["secure-ports"] = []
     self["insecure-ports"] = []
Ejemplo n.º 13
0
 def __init__(self, *a, **k):
     Options.__init__(self, *a, **k)
     self.pushers = []
Ejemplo n.º 14
0
 def __init__(self):
     Options.__init__(self)
     self.portIdentifiers = []
Ejemplo n.º 15
0
    def __init__(self):
        Options.__init__(self)

        self["reactorName"] = "default"
        self["logLevel"] = self.defaultLogLevel
        self["logFile"] = stdout
Ejemplo n.º 16
0
 def __init__(self):
     Options.__init__(self)
     self['parameters'] = {}
Ejemplo n.º 17
0
    def __init__(self):
        Options.__init__(self)

        self["reactorName"] = self.defaultReactorName
        self["logLevel"] = self.defaultLogLevel
        self["logFile"] = stdout
Ejemplo n.º 18
0
 def __init__(self):
     self.running = False
     self.parentPid = os.getpid()
     Options.__init__(self)
     self.parseOptions()  # Automatically parse command line