def __setAllDHCP(self): """ Config all NIC's to DHCP. @rtype: None @returns: Nothing """ self.__logger.debug("Setting all NIC's to DHCP.") # Verify if there is a NIC redefined by bootline ifname = Network.getCmdLineNIC() if ifname is not None: # load previous configuration. self.__loadConfigFile(ifname) # set redefined NIC in bootline to DHCP self.enableDHCP(True) # Saving network cfg file self.__saveIfcfgFile()