network.base application acts as core for other validated content, as it provides the platform agnostic role called Resource Manager.This role provides a single platform-agnostics entry point to manage all the resources supported for a given network OS.
Author: Rohit Thakur (@rohitthakur2590)
Describe the reasons for this proposal.
Provide Network Base Vaidated Content to act as core for other validated content to acheive platform agnostic resource management.
Problems
Build Brownfield Inventory: Users want to be able to get the facts for a given resource and store it as host_vars thus enabling the capability to get facts for all the hosts within the inventory and store facts in a structured format which acts as SOT.
Supported Resource Query: Users want to be able to get the list of resource modules supported for a given network os.
Gather: Users want to be able to gather the facts for specified network resources.
Persist: Users want to be able to gather the facts for specified network resources and persist those facts into inventory files as host vars.
Deploy: Users want to be able to deploy the confguration persisted in terms of host vars on to the appliance.
Configure: Users want to be able to apply configuration in a normalized manner the way resource module does.
Solution proposal
resource_manager :
This platform agnostic role enables the user to create a runtime brownfield inventory with all the configuration in terms of host vars. These host vars are ansible facts which have been gathered through the network resource module.The tasks offered by this role could be observed as below:
Options:
list.yaml:
---
- hosts: ios
tasks:
- name: invoke list function
include_role:
name: resource_manager
vars:
ansible_network_os: cisco.ios.ios
action: list
Proposal:
network.base application acts as core for other validated content, as it provides the platform agnostic role called Resource Manager.This role provides a single platform-agnostics entry point to manage all the resources supported for a given network OS. Author: Rohit Thakur (@rohitthakur2590)
Date: 2022/06/21
Motivation
Describe the reasons for this proposal. Provide Network Base Vaidated Content to act as core for other validated content to acheive platform agnostic resource management.
Problems
Solution proposal
resource_manager
: This platform agnostic role enables the user to create a runtime brownfield inventory with all the configuration in terms of host vars. These host vars are ansible facts which have been gathered through the network resource module.The tasks offered by this role could be observed as below: Options:list.yaml:
gather.yaml:
persist.yaml:
deploy.yaml:
config.yaml:
Testing (optional)
resource_manager
tasks.param_list_compare
filter plugin.Documentation (optional)
betwork.base
andresource_manager