c5661c351b5d6a827f0a8576026fe490b2ed1126
[sdnc/core.git] / sli / provider / src / test / resources / expression.tests
1 # $uni-circuit-id = abc123
2 # $uni-cir-units = 10
3 # value = 1
4 # $arg1 = 2
5 # $network.name = vCE0001.in
6 # $network.segment[0].provider-segmentation-id = 1212
7 # $network.segment[1].provider-segmentation-id = 1213
8 # $availability-zone = mtsnj-esx-az01
9 length($uni-circuit-id) > 0
10 $uni-cir-units * 1000 * 100 / 100
11 $uni-cir-units / 1000
12 $uni-cir-units - 100
13 $uni-cir-units + 100
14 (value * 3 - $arg1 > 0) and (length($uni-circuit-id) == 0)
15 'pg-'+$network.name
16 $network.segment[0].provider-segmentation-id
17 toUpperCase($network.name)
18 toLowerCase($network.name)
19 toUpperCase(substr($availability-zone, 0, 5))
20 convertBase(1234, 10)
21 convertBase(10, 16, 10)
22 convertBase(ZZ, 36, 10)
23 convertBase(10, 10, 36)
24 (0 - 1) * $arg1