Refactoring in progress... pardon our dust...

This commit is contained in:
Adam Ierymenko 2014-09-12 16:57:37 -07:00
parent 6b4346d1ac
commit 1d37204a37
18 changed files with 1041 additions and 282 deletions

View file

@ -110,13 +110,13 @@ public:
*/
enum Status
{
NETWORK_INITIALIZING, // Creating tap device and setting up state
NETWORK_WAITING_FOR_FIRST_AUTOCONF, // Waiting for initial setup with netconf master
NETWORK_OK, // Network is up, seems to be working
NETWORK_ACCESS_DENIED, // Netconf node reported permission denied
NETWORK_NOT_FOUND, // Netconf node reported network not found
NETWORK_INITIALIZATION_FAILED, // Cannot initialize device (OS/installation problem?)
NETWORK_NO_MORE_DEVICES // OS cannot create any more tap devices (some OSes have a limit)
NETWORK_INITIALIZING = 0, // Creating tap device and setting up state
NETWORK_WAITING_FOR_FIRST_AUTOCONF = 1, // Waiting for initial setup with netconf master
NETWORK_OK = 2, // Network is up, seems to be working
NETWORK_ACCESS_DENIED = 3, // Netconf node reported permission denied
NETWORK_NOT_FOUND = 4, // Netconf node reported network not found
NETWORK_INITIALIZATION_FAILED = 5, // Cannot initialize device (OS/installation problem?)
NETWORK_NO_MORE_DEVICES = 6 // OS cannot create any more tap devices (some OSes have a limit)
};
/**