conf module

This module is used to import all the configurations from the saved files at the onos startup

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

conf.readConfigurationsFromSavedFile(key)[source]

Given a key it reads the value in the json dictionary from a file config_files/cfg.json saved on the storage memory

conf.readDictionaryFromSavedFile(key)[source]

Given a key it reads the value in the json dictionary from a file config_files/data.json saved on the storage memory