コード例 #1
0
def importConfiguration(configurator, str):
    strio = StringIO.StringIO()
    strio.write(str)
    strio.seek(0)
    xml = StackOpssubs.parse(strio)
    return configurator.importConfiguration(xml)
コード例 #2
0
ファイル: install.py プロジェクト: StackOps/stackops-agent
 def importNode(self,xml):
     node = StackOpssubs.parse(xml)
     return node