new option "project" in ansible-modules-core/cloud/openstack/os_router.py

hi all

use case:
I am an admin of openstack infra managed mostly by ansible
in particular the admin manages the creation of new “project” that include the initial setup of the network
it includes creation of router for the project

currently the ansible-modules-core/cloud/openstack/os_router.py does not allow to specify the project
and that’s what I propose to do

I made a contribution to https://github.com/openstack-infra/shade/
shade/openstackcloud.py that was merged a few hours ago for function “create_router”

to include that option

if/when this is included in os_router.py it would depend on having openstack-infra/shade/ with that commit
https://github.com/openstack-infra/shade/commit/c56d8e0f3858304f09469ebf8c728966ed0e810c

tell me if this ok for me to implement and contribute, and the steps (still to new on this)

  • git clone git@github.com:ansible/ansible-modules-core.git
  • git review -s
  • git checkout -b dev-createrouter_project
  • work on it…
  • git commit
  • git review

best
Mario