aboutsummaryrefslogtreecommitdiffstats
path: root/sli/common/src/test/resources/expression.tests
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-02-15 14:30:39 -0500
committerDan Timoney <dtimoney@att.com>2017-02-15 14:37:01 -0500
commitd8861011dc81160df81979d2bed9721447517f45 (patch)
tree6aaf805a83ad8be93bd9772a2b2e517770c67b72 /sli/common/src/test/resources/expression.tests
parent57b0ded28b8c6477ca0df13a05eafb392f6fa82e (diff)
Initial commit for OpenECOMP SDN-C N-C core
Change-Id: I30c52795ab821c4fdd18b55d202f10a76a01acfa Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sli/common/src/test/resources/expression.tests')
-rwxr-xr-xsli/common/src/test/resources/expression.tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/sli/common/src/test/resources/expression.tests b/sli/common/src/test/resources/expression.tests
new file mode 100755
index 0000000..bc92495
--- /dev/null
+++ b/sli/common/src/test/resources/expression.tests
@@ -0,0 +1,15 @@
+$uni-circuit-id
+$asePort
+length($uni-circuit-id) > 0
+$asePort.uni-circuit-id
+$uni-cir-units * 1000 * 100 / 100
+$uni-cir-units / 1000
+$uni-cir-units - 100
+$uni-cir-units + 100
+(value * 3 - $arg1 > 0) and (length($uni-circuit-id) == 0)
+'pg-'+$network.name
+$network.segment[0].provider-physical-network
+length($network_segment[0].provider-physical-network) >= 5
+substr($network_segment[0].provider-physical-network,0,5) == 'dvspg'
+length($network_segment[0].provider-physical-network) >= 5 and substr($network_segment[0].provider-physical-network,0,5) == 'dvspg'
+(length($network_segment[0].provider-physical-network) >= 5) and (substr($network_segment[0].provider-physical-network,0,5) == 'dvspg')