Netconf updates -- actually issue COM, and log attempts to access networks in NetworkActivity using the new authenticated flag in the new DB schema.

This commit is contained in:
Adam Ierymenko 2013-10-24 16:19:53 -04:00
parent 3de76fcab1
commit bbcd76ecd0
3 changed files with 45 additions and 25 deletions

View file

@ -444,6 +444,10 @@ Node::ReasonForTermination Node::run()
if (Utils::fileExists(netconfServicePath.c_str())) {
LOG("netconf.d/netconfi.service appears to exist, starting...");
_r->netconfService = new Service(_r,"netconf",netconfServicePath.c_str(),&_netconfServiceMessageHandler,_r);
Dictionary initMessage;
initMessage["type"] = "netconf-init";
initMessage["netconfId"] = _r->identity.toString(true);
_r->netconfService->send(initMessage);
}
} catch ( ... ) {
LOG("unexpected exception attempting to start services");