示例#1
0
 def error(self, *args, **kwargs):
     yield msg.ConfluentNodeError(
         self.node, self.plugin + ' is not a supported plugin')
示例#2
0
def create(nodes, element, configmanager, inputdata):
    for node in nodes:
        yield msg.ConfluentNodeError(node, 'Not Implemented')
示例#3
0
文件: ipmi.py 项目: jxdn/confluent
 def handle_attach_media(self):
     try:
         self.ipmicmd.attach_remote_media(self.inputdata.filename)
     except pygexc.UnsupportedFunctionality as uf:
         self.output.put(msg.ConfluentNodeError(self.node, str(uf)))
示例#4
0
 def error(self, *args, **kwargs):
     yield msg.ConfluentNodeError(
         self.node, 'collective mode is active, but collective.manager '
         'is not set for this node')