Skip to content

Commit ee30ec2

Browse files
committed
acc v1.18 + tweaks
1 parent 8370297 commit ee30ec2

File tree

6 files changed

+186
-159
lines changed

6 files changed

+186
-159
lines changed

artifacts/base.do.json

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2+
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-declarative-onboarding/master/src/schema/latest/remote.schema.json",
23
"schemaVersion": "1.0.0",
34
"class": "Device",
45
"async": true,
56
"Common": {
67
"0": {
7-
"class": "Route"
8+
"class": "RouteDomain",
9+
"id": "0",
10+
"vlans": [
11+
"/Common/http-tunnel",
12+
"/Common/socks-tunnel",
13+
"/Common/internal"
14+
]
815
},
916
"class": "Tenant",
1017
"System": {
@@ -40,24 +47,6 @@
4047
"benlab.io"
4148
]
4249
},
43-
"f5-aws-dns": {
44-
"class": "DNS_Resolver",
45-
"forwardZones": [
46-
{
47-
"name": "amazonaws.com",
48-
"nameservers": [
49-
"8.8.8.8:53"
50-
]
51-
},
52-
{
53-
"name": "idservice.net",
54-
"nameservers": [
55-
"8.8.8.8:53"
56-
]
57-
}
58-
],
59-
"routeDomain": "0"
60-
},
6150
"internal": {
6251
"class": "VLAN",
6352
"tag": 4094,
@@ -77,19 +66,14 @@
7766
"gw": "10.200.244.1",
7867
"network": "default"
7968
},
69+
"/Common/comm-public": {
70+
"source": "default",
71+
"class": "SnmpCommunity",
72+
"name": "public"
73+
},
8074
"HTTPD": {
8175
"class": "HTTPD",
8276
"authPamIdleTimeout": 12000
83-
},
84-
"http-tunnel": {
85-
"class": "Tunnel",
86-
"remark": "Tunnel for http-explicit profile",
87-
"tunnelType": "/Common/tcp-forward"
88-
},
89-
"socks-tunnel": {
90-
"class": "Tunnel",
91-
"remark": "Tunnel for socks profile",
92-
"tunnelType": "/Common/tcp-forward"
9377
}
9478
}
9579
}

artifacts/testApp.as3.json

Lines changed: 72 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,81 @@
11
{
2-
"class": "ADC",
3-
"schemaVersion": "3.30.0",
4-
"id": "urn:uuid:2be7dd00-55ba-4ff0-8fe8-d2835f850e36",
5-
"label": "Converted Declaration",
6-
"remark": "Generated by Automation Config Converter",
7-
"Common": {
8-
"class": "Tenant",
9-
"Shared": {
10-
"class": "Application",
11-
"template": "shared",
12-
"app1_t443_vs": {
13-
"layer4": "tcp",
14-
"pool": "app1_t80_pool",
15-
"translateServerAddress": true,
16-
"translateServerPort": true,
17-
"class": "Service_HTTP",
18-
"profileHTTP": {
19-
"bigip": "/Common/http"
20-
},
21-
"profileTCP": {
22-
"bigip": "/Common/tcp"
23-
},
24-
"virtualAddresses": [
25-
"192.168.1.21"
26-
],
27-
"virtualPort": 443,
28-
"persistenceMethods": [],
29-
"snat": "auto"
30-
},
31-
"app1_t80_pool": {
32-
"members": [
33-
{
34-
"addressDiscovery": "static",
35-
"servicePort": 80,
36-
"serverAddresses": [
37-
"192.168.1.22",
38-
"192.168.1.23"
39-
],
40-
"shareNodes": true
41-
}
42-
],
43-
"monitors": [
44-
{
2+
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json",
3+
"class": "AS3",
4+
"dec": {
5+
"class": "ADC",
6+
"schemaVersion": "3.34.0",
7+
"id": "urn:uuid:4e380b90-10a6-4c2f-9337-2156568b665b",
8+
"label": "Converted Declaration",
9+
"remark": "Generated by Automation Config Converter",
10+
"Common": {
11+
"class": "Tenant",
12+
"Shared": {
13+
"class": "Application",
14+
"template": "shared",
15+
"app1_t443_vs": {
16+
"layer4": "tcp",
17+
"pool": "app1_t80_pool",
18+
"translateServerAddress": true,
19+
"translateServerPort": true,
20+
"class": "Service_HTTP",
21+
"profileHTTP": {
4522
"bigip": "/Common/http"
4623
},
47-
{
24+
"profileTCP": {
4825
"bigip": "/Common/tcp"
49-
}
50-
],
51-
"class": "Pool"
52-
},
53-
"app1_t80_vs": {
54-
"layer4": "tcp",
55-
"iRules": [
56-
{
57-
"bigip": "/Common/_sys_https_redirect"
58-
}
59-
],
60-
"translateServerAddress": true,
61-
"translateServerPort": true,
62-
"class": "Service_HTTP",
63-
"profileHTTP": {
64-
"bigip": "/Common/http"
26+
},
27+
"virtualAddresses": [
28+
"192.168.1.21"
29+
],
30+
"virtualPort": 443,
31+
"persistenceMethods": [],
32+
"snat": "auto"
6533
},
66-
"profileTCP": {
67-
"bigip": "/Common/tcp"
34+
"app1_t80_pool": {
35+
"members": [
36+
{
37+
"addressDiscovery": "static",
38+
"servicePort": 80,
39+
"serverAddresses": [
40+
"192.168.1.22",
41+
"192.168.1.23"
42+
],
43+
"shareNodes": true
44+
}
45+
],
46+
"monitors": [
47+
{
48+
"bigip": "/Common/http"
49+
},
50+
{
51+
"bigip": "/Common/tcp"
52+
}
53+
],
54+
"class": "Pool"
6855
},
69-
"virtualAddresses": [
70-
"192.168.1.21"
71-
],
72-
"virtualPort": 80,
73-
"persistenceMethods": [],
74-
"snat": "none"
56+
"app1_t80_vs": {
57+
"layer4": "tcp",
58+
"iRules": [
59+
{
60+
"bigip": "/Common/_sys_https_redirect"
61+
}
62+
],
63+
"translateServerAddress": true,
64+
"translateServerPort": true,
65+
"class": "Service_HTTP",
66+
"profileHTTP": {
67+
"bigip": "/Common/http"
68+
},
69+
"profileTCP": {
70+
"bigip": "/Common/tcp"
71+
},
72+
"virtualAddresses": [
73+
"192.168.1.21"
74+
],
75+
"virtualPort": 80,
76+
"persistenceMethods": [],
77+
"snat": "none"
78+
}
7579
}
7680
}
7781
}

0 commit comments

Comments
 (0)