refactoring for simpleRouter
datapath-id change for linc-switch