conf module¶
This module is used to import all the configurations from the saved files at the onos startup
- conf.GetfirstFreeNodeAddress(tmpnodeDictionary)[source]¶
Return the first free address like a dhcp server.. not used because i use a real dhcp on the gl.inet or in the main router
- conf.importConfig()[source]¶
This function imports all the data and configurations from the files saved on storage memory.|br| The file are located in the config_files directory
- conf.newDefaultWebObj(name)[source]¶
Return a new web_object given only its name, used to create new web_objects for exemple when a new zone is created
- conf.newDefaultWebObjBody(name)[source]¶
Return a new web_object given only its name, used to create the zone html body object
- conf.newNodeWebObj(name, objType, node_sn, pinList)[source]¶
Return a new web_object given its name,objType,node_sn,pinList used to create new web_objects for exemple when a new node is added