예제 #1
0
 def init_hub(self,
              hub_host,
              user='******',
              pwd='1q2w3e',
              use_tls=False,
              port=8440,
              aps_host=None,
              aps_port=6308,
              use_tls_aps=True):
     """ Connect your Odin Automation Hub"""
     Hub.configure(hub_host, user, pwd, use_tls, port, aps_host, aps_port,
                   use_tls_aps)
예제 #2
0
 def init_hub(self,
              hub_host,
              user='******',
              pwd='1q2w3e',
              use_tls=False,
              port=8440,
              aps_host=None,
              aps_port=6308,
              use_tls_aps=True):
     """ Connect your CloudBlue Commerce Instance (Hub)"""
     Hub.configure(hub_host, user, pwd, use_tls, port, aps_host, aps_port,
                   use_tls_aps)