Big refactor mostly builds. We now have a uniform backward compatible netconf.
This commit is contained in:
parent
b104bb4762
commit
e09c1a1c11
14 changed files with 738 additions and 795 deletions
|
@ -151,12 +151,11 @@ public:
|
|||
/**
|
||||
* Set or update this network's configuration
|
||||
*
|
||||
* @param confBytes Network configuration in old-style Dictionary or new-style serialized format
|
||||
* @param confLen Length of network configuration in bytes
|
||||
* @param nconf Network configuration
|
||||
* @param saveToDisk IF true (default), write config to disk
|
||||
* @return 0 -- rejected, 1 -- accepted but not new, 2 -- accepted new config
|
||||
*/
|
||||
int setConfiguration(const void *confBytes,unsigned int confLen,bool saveToDisk);
|
||||
int setConfiguration(const NetworkConfig &nconf,bool saveToDisk);
|
||||
|
||||
/**
|
||||
* Set netconf failure to 'access denied' -- called in IncomingPacket when controller reports this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue