Updated pull request with the following:

I basically tested it and it works decent, taking in consideration the newly added nodes when selecting the node. We will be testing this code in our system.

Deletion of shm nodes won't be handled in this pull request mainly because of interaction with rtpengine hash table(in hashtable only pointers to shm nodes are kept to save memory).

Additional code feedback would be highly apreciated.


Reply to this email directly or view it on GitHub.