Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New functionality to export junctions from the appliance to YAML files #219

Open
vcassidy opened this issue Apr 6, 2020 · 4 comments
Open

Comments

@vcassidy
Copy link

vcassidy commented Apr 6, 2020

The isam.web.reverse_proxy.junctions.get call returns the output from the ISAM appliance. Unfortunately the data returned is not the correct values to recreate a junction.

Customers currently use proprietary ways to manage junctions rather than Ansible. With an export facility we can export junctions in such a way that existing customers can more easily migrate to Ansible.

I propose a new function isam.web.reverse_proxy.junctions.export

Ultimately I want to create an export_junction_details role so we can export all the junctions for an appliance in a similar way to how the report_junctions.yml playbook works.

@ram-ibm
Copy link
Collaborator

ram-ibm commented Apr 10, 2020

One other option you have is to export the reverse configuration in a zip file and import it into any target environment. That includes junctions, webseal configuration, JMT, etc.

Will look into the pull request provided - but was curious to understand the use case driving this code?

@vcassidy
Copy link
Author

vcassidy commented Apr 10, 2020 via email

@ram-ibm
Copy link
Collaborator

ram-ibm commented Apr 13, 2020

I see what you are looking to do - wonder if it might make more sense to use the existing junctions.get_all() and junctions.get() functions to extract the junction information and then use that output to create YAML files?

See the report_junctions.yml playbook - instead of using a "template" to create a report, you could use that to create YAML files instead?

@tombosmansibm
Copy link
Collaborator

I've created this as a tool to help converting junction xml to yaml format.
https://github.com/tombosmansibm/convertjunctionxmltoyaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants