I would like to configure snat option in openstack router using morpheus.
for example, using the cli (https://docs.openstack.org/python-openstackclient/ocata/command-objects/router.html) I can do the following
–enable-snat
Enable Source NAT on external gateway
–disable-snat
Disable Source NAT on external gateway
is it possible with morpheus ?
Hello @Cyril_Jouve, I hope your week has been going well so far!
I don’t see the option to enable or disable SNAT using the Morpheus UI on an existing Neutron router. When creating a Neutron router from Infrastructure > Network > Routers
, it will enable SNAT by default.
If you believe this is something you are interested in, I’d recommend adding to our Ideas section.
However, some ideas for you to accomplish what you are looking to do:
- Create a Task to call the OpenStack API to set the SNAT config
- Create as Task to run the OpenStack CLI to set the SNAT config, either on the Morpheus application nodes or on a remote system. In either case, installing it with a virtual environment might be best so you can have different versions later if needed
The above tasks can have Inputs to target a specific router and use credentials from Cypher.
Additional links:
Neutron Router Creation
Tasks
Inputs
Cypher
Hope that helps!