コード例 #1
0
 def masters(self):
     return config.get(self.cluster, constants.MASTER)
コード例 #2
0
 def get(self, role):
     try:
         return config.get(self.setup, role)
     except:
         return config.get(self.cluster, role)
コード例 #3
0
 def clusters(self):
     return config.get(self.setup, constants.CLUSTERS)
コード例 #4
0
 def vmcs(self):
     return config.get(self.cluster, constants.VMC)
コード例 #5
0
ファイル: context.py プロジェクト: AthinaB/synnefo
 def masters(self):
     return config.get(self.cluster, constants.MASTER)
コード例 #6
0
ファイル: context.py プロジェクト: AthinaB/synnefo
 def clusters(self):
     return config.get(self.setup, constants.CLUSTERS)
コード例 #7
0
ファイル: context.py プロジェクト: AthinaB/synnefo
 def get(self, role):
     try:
         return config.get(self.setup, role)
     except:
         return config.get(self.cluster, role)
コード例 #8
0
ファイル: context.py プロジェクト: AthinaB/synnefo
 def vmcs(self):
     return config.get(self.cluster, constants.VMC)