mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Adds missing fields for iapp service (#26507)
The iApp service module worked fine previously, but this patch adds enhancements to it to include more fields that can be specified when creating iapp services.
This commit is contained in:
parent
deae1499ed
commit
37ca55bf71
3 changed files with 46 additions and 1 deletions
|
@ -159,7 +159,8 @@ from deepdiff import DeepDiff
|
|||
class Parameters(AnsibleF5Parameters):
|
||||
returnables = []
|
||||
api_attributes = [
|
||||
'tables', 'variables', 'template', 'lists'
|
||||
'tables', 'variables', 'template', 'lists', 'deviceGroup',
|
||||
'inheritedDevicegroup', 'inheritedTrafficGroup', 'trafficGroup'
|
||||
]
|
||||
updatables = ['tables', 'variables', 'lists']
|
||||
|
||||
|
@ -282,6 +283,14 @@ class Parameters(AnsibleF5Parameters):
|
|||
self.variables = value['variables']
|
||||
if 'lists' in value:
|
||||
self.lists = value['lists']
|
||||
if 'deviceGroup' in value:
|
||||
self.deviceGroup = value['deviceGroup']
|
||||
if 'inheritedDevicegroup' in value:
|
||||
self.inheritedDevicegroup = value['inheritedDevicegroup']
|
||||
if 'inheritedTrafficGroup' in value:
|
||||
self.inheritedTrafficGroup = value['inheritedTrafficGroup']
|
||||
if 'trafficGroup' in value:
|
||||
self.trafficGroup = value['trafficGroup']
|
||||
|
||||
@property
|
||||
def template(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue