generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
SUMMARY
The current steps for developing a netconf ansible module in a collection is:
- Use resource_module_builder
- Choose YANG
- Examine/parse YANG
- Write json based argument_spec from selective YANG components
- Run resource_module_builder to generate module
NOTE: Steps 3-4 are currently simplified using community.yang.generate_spec and a schema generator
ISSUE TYPE
- Feature Idea
COMPONENT NAME
- community.yang.generate_argument_spec
ADDITIONAL INFORMATION
This would automate the step of generating the necessary argument_spec (Steps 3-4 above)
- name: Generate argument_spec for foo yang
community.yang.generate_argument_spec:
file: foo.yang
output:
path: "schemas/foo.yang.json"Metadata
Metadata
Assignees
Labels
No labels