Refactor common routeList building into method.
Refactor common routeList building into method.

oracle/terraform-provider-baremetal,MustWin/terraform-provider-baremetal,MustWin/terraform-provider-baremetal,oracle/terraform-provider-baremetal