Exemplo n.º 1
0
    def __init__(self, node_id=None):
        HappyHost.__init__(self)

        self.node_id = node_id

        self.node_type_ap = "ap"
        self.node_type_local = "local"
        self.node_type_service = "service"

        self.node_special_type = {}
        self.node_special_type["ap"] = {}
        self.node_special_type["ap"]["description"] = "access point"
        self.node_special_type["service"] = {}
        self.node_special_type["service"]["description"] = "nest service"
        self.node_special_type["local"] = {}
        self.node_special_type["local"]["description"] = "local host computer"
        self.nsroot = "/etc/netns"
Exemplo n.º 2
0
 def __init__(self, node_id=None):
     HappyHost.__init__(self)
Exemplo n.º 3
0
    def __init__(self, opts=options):
        HappyHost.__init__(self)

        self.quiet = opts["quiet"]
        self.force = opts["force"]
        self.all = opts["all"]
Exemplo n.º 4
0
 def __init__(self, link_id=None):
     HappyHost.__init__(self)
     self.link_id = link_id
Exemplo n.º 5
0
    def __init__(self, network_id=None):
        HappyHost.__init__(self)

        self.network_id = network_id