mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
71313ce04d
* Module for uploading templates into vDirect server Module for uploading configuration and workflow templates into Radware vDirect server * Module for uploading templates into vDirect server Module for uploading configuration and workflow templates into Radware vDirect server
26 lines
No EOL
878 B
Text
26 lines
No EOL
878 B
Text
##-----------------------------------------------------------------------------
|
|
## COPYRIGHT 2017, Radware Ltd. All Rights Reserved
|
|
## THE USE, COPY OR INSTALLATION OF THIS/THESE FILE/FILES IS SUBJECT
|
|
## TO THE RADWARE "END USER LICENSE AGREEMENT" A COPY OF WHICH
|
|
## IS PROVIDED WITH THE PACKAGE THAT INCLUDES THIS FILE/FILES AND
|
|
## CAN ALSO BE ACCESSED AT http://www.radware.com/Resources/eula.html
|
|
##-----------------------------------------------------------------------------
|
|
|
|
#property('description', 'Ansible Test mock')
|
|
|
|
#param($p1, 'int', 'in')
|
|
#param($p2, 'int[]', 'out')
|
|
|
|
#set($p2 = [])
|
|
#set($start = 2)
|
|
#set($end = 1024)
|
|
#set($range = [$start..$end])
|
|
|
|
#foreach($i in $range)
|
|
#set($j = $adc.readBean('MOCK', $i))
|
|
#if ($adc.isEmpty($j))
|
|
#set($dummy = $p2.add($i))
|
|
#if ($p2.size() == $p1)
|
|
#break
|
|
#end
|
|
#end |