예제 #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,))
예제 #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()
예제 #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, ))
예제 #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()