This patch moves the instantiations of IPDB and IPRoute to the module
level functions to avoid them from reading Linux specific files, which
were preventing Mac OSX users from running the unit tests.
Change-Id: Id6ac74756aab6250bf1fdab817c984a866180d59
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Closes-Bug: #1546400