Beispiel #1
0
 def discover_children(self):
     #read xml file and set up all the children
     try:
         load_xml(self, self.xml_file_path)
     except:
         if self.debug: msglog.exception()
         msglog.log('RzhostNode', msglog.types.WARN,
                    'IOError: Failed to load xml file: %s.' %
                    (self.xml_file_path,))
Beispiel #2
0
 def discover_children(self):
     #read xml file and set up all the children
     try:
         load_xml(self, self.xml_file_path)
     except:
         if self.debug: msglog.exception()
         msglog.log('RznetNode', msglog.types.WARN,
                    'IOError: Failed to load xml file: %s.  Will attempt to load xpoints.net file: %s' %
                    (self.xml_file_path,self.x_points_file_path))
         self.discover_children_xpoints()
Beispiel #3
0
 def discover_children(self):
     #read xml file and set up all the children
     try:
         load_xml(self, self.xml_file_path)
     except:
         if self.debug: msglog.exception()
         msglog.log(
             'RzhostNode', msglog.types.WARN,
             'IOError: Failed to load xml file: %s.' %
             (self.xml_file_path, ))
Beispiel #4
0
 def discover_children(self):
     #read xml file and set up all the children
     try:
         load_xml(self, self.xml_file_path)
     except:
         if self.debug: msglog.exception()
         msglog.log(
             'RznetNode', msglog.types.WARN,
             'IOError: Failed to load xml file: %s.  Will attempt to load xpoints.net file: %s'
             % (self.xml_file_path, self.x_points_file_path))
         self.discover_children_xpoints()