9b3a58fc2c06a530ad24283fcc5753c46a594ab2
[integration/test.git] / csit / variables / vpnservice / Variables.py
1 def get_variables():
2     variables = {}
3     vpn_instance = {
4         "vpn-instance": [
5             {
6                 "description": "Test VPN Instance 1",
7                 "vpn-instance-name": "testVpn1",
8                 "ipv4-family": {
9                     "route-distinguisher": "1000:1",
10                     "export-route-policy": "3000:1,4000:1",
11                     "import-route-policy": "1000:1,2000:1",
12                     "apply-label": {"apply-label-per-route": "true"},
13                 },
14             }
15         ]
16     }
17     vm_interface = {
18         "interface": [
19             {
20                 "name": "s1-eth1",
21                 "type": "iana-if-type:l2vlan",
22                 "odl-interface:of-port-id": "openflow:1:1",
23                 "enabled": "true",
24             }
25         ]
26     }
27     vm_vpninterface = {
28         "vpn-interface": [
29             {
30                 "odl-l3vpn:adjacency": [
31                     {
32                         "odl-l3vpn:ip_address": "10.0.0.1",
33                         "odl-l3vpn:mac_address": "12:f8:57:a8:b9:a1",
34                     }
35                 ],
36                 "vpn-instance-name": "testVpn1",
37                 "name": "s1-eth1",
38             }
39         ]
40     }
41     bgp_router = {
42         "bgp-router": {"local-as-identifier": "10.10.10.10", "local-as-number": 108}
43     }
44     bgp_neighbor = {
45         "bgp-neighbor": [{"as-number": 105, "ip-address": "169.144.42.168"}]
46     }
47     variables = {
48         "vpn_instance": vpn_instance,
49         "vm_interface": vm_interface,
50         "vm_vpninterface": vm_vpninterface,
51         "bgp_router": bgp_router,
52         "bgp_neighbor": bgp_neighbor,
53     }
54     return variables