mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user