pep8 fixes

Change-Id: I0a4bf08340c194461439fcfc915179166e918361
Only update route when needed

If the new route matches the current setting, make
not changes. Otherwise take the appropriate action
to create or update the route.

Change-Id: I59809e584001f82e7fce9c67c11d1be686ab761a