resource_module_models icon indicating copy to clipboard operation
resource_module_models copied to clipboard

Non Config Data in Ansible NRM Module

Open AneesSaifudeen opened this issue 4 years ago • 3 comments

Can we define non-configurable attributes in the NRM model ? if Yes, how do we achieve the same.
If No, is NRM scope is restricted only to configurable attributes ?

AneesSaifudeen avatar Dec 03 '21 14:12 AneesSaifudeen

Hi, Could you please respond. Awaiting response. Thanks.

AneesSaifudeen avatar Dec 16 '21 07:12 AneesSaifudeen

Hi @AneesSaifudeen. Apologies for the delay. Could you please clarify and give an example on what you mean by non-configurable items? Each Resource Module corresponds to a well-defined network resource which can be configured and managed (in an idempotent way) by inspecting the running-configuration (or its equivalent) from the target device and pushing updates as needed and as such, are only supposed to deal with configurable attributes.

NilashishC avatar Dec 20 '21 10:12 NilashishC

Hi @NilashishC , Thanks for your response! By non-configurable attributes, I meant the Read-Only (config false attributes in yang model) attributes, which will not be displayed by the running-config CLI command.

AneesSaifudeen avatar Dec 23 '21 03:12 AneesSaifudeen