
In _create_network_policy(), policy object is passed into _get_policy_obj() although it expects to be passed policy id. This patch passes policy id instead of policy object and adds a unit test and API tests. Change-Id: Ic4c755c54d93d7ca3312b432b7c1e6770f25c359 Closes-bug: #1712278 (cherry picked from commit 95bbb7385bbd538de99a94b20e2f58718cce16d7)