mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 11:17:05 +00:00
Move modules and module_utils unit tests to correct place (#81)
* Move modules and module_utils unit tests to correct place. * Update ignore.txt * Fix imports. * Fix typos. * Fix more typos.
This commit is contained in:
parent
ab3c2120fb
commit
be191cce6c
1170 changed files with 732 additions and 751 deletions
0
tests/unit/plugins/modules/network/f5/__init__.py
Normal file
0
tests/unit/plugins/modules/network/f5/__init__.py
Normal file
Binary file not shown.
|
|
@ -0,0 +1,25 @@
|
|||
sys application template good_templ {
|
||||
actions {
|
||||
definition {
|
||||
html-help {
|
||||
# HTML Help for the template
|
||||
}
|
||||
implementation {
|
||||
# TMSH implementation code
|
||||
}
|
||||
macro {
|
||||
# TMSH macro code
|
||||
}
|
||||
presentation {
|
||||
# APL presentation language
|
||||
}
|
||||
role-acl { admin manager resource-admin }
|
||||
run-as none
|
||||
}
|
||||
}
|
||||
description "My basic template"
|
||||
partition Common
|
||||
requires-modules { ltm }
|
||||
ignore-verification true
|
||||
requires-bigip-version-min 11.6.0
|
||||
}
|
||||
101
tests/unit/plugins/modules/network/f5/fixtures/cert1.crt
Normal file
101
tests/unit/plugins/modules/network/f5/fixtures/cert1.crt
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 1 (0x1)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: C=US, ST=New York, L=New York, O=ACME CA, OU=Coyote, CN=ourca.domain.local
|
||||
Validity
|
||||
Not Before: Jun 30 16:46:09 2016 GMT
|
||||
Not After : Jun 25 16:46:09 2036 GMT
|
||||
Subject: C=US, ST=New York, O=ACME, OU=Coyote, CN=cert1.domain.local
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
Public-Key: (2048 bit)
|
||||
Modulus:
|
||||
00:d6:0f:bd:26:ef:14:4d:09:f6:db:8b:01:f5:4e:
|
||||
6c:03:b1:35:20:16:b8:1b:7c:e6:b6:8d:97:1b:b0:
|
||||
4f:8a:b6:cb:54:7e:7a:ff:fd:af:02:db:bf:9d:cf:
|
||||
9a:4c:0d:87:93:8b:cc:61:f3:23:a9:6f:8e:d4:82:
|
||||
2c:93:b6:e2:fa:37:ed:8a:d3:23:8f:6d:b5:78:4a:
|
||||
38:ba:93:f9:4a:1c:40:06:33:d7:c0:98:20:d4:16:
|
||||
ac:a4:a5:6b:41:20:4c:3a:55:7e:c7:50:e7:95:07:
|
||||
4e:86:15:86:7a:0f:6c:57:d2:07:1c:97:24:51:5b:
|
||||
4e:f5:52:3a:f8:4f:95:6b:6c:83:1f:34:4e:ee:b0:
|
||||
ae:fe:46:90:38:f1:4d:85:72:8b:46:bc:d1:62:37:
|
||||
65:5a:de:bb:16:51:1e:f5:cb:a0:ef:d6:7b:11:6f:
|
||||
3b:0c:49:17:bc:4d:8c:f5:d9:f0:35:6b:f7:b6:4d:
|
||||
50:eb:47:81:e3:06:f2:bd:ec:67:4f:ab:2b:03:aa:
|
||||
e2:1e:42:22:a9:c9:59:dc:0d:19:fb:c5:02:1d:d7:
|
||||
58:e4:04:53:0a:1d:79:bb:c1:33:f1:cd:b7:10:2e:
|
||||
b4:6e:9b:dc:60:66:05:50:9f:20:66:a1:71:00:51:
|
||||
54:cf:0a:70:f4:7c:45:c6:f0:a7:1c:11:2f:3e:a3:
|
||||
1f:bf
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
2D:FB:27:C7:B4:32:FF:F7:87:DB:2D:A7:76:AE:F0:96:7E:DA:DC:17
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:4F:2A:15:49:E6:CC:05:2F:2B:F4:0E:CC:BA:2E:4C:DF:13:90:F0:78
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
3f:46:1c:3b:58:b4:99:f3:75:00:47:d2:fe:ba:ba:9a:04:46:
|
||||
62:b6:2d:a0:0f:8f:c0:95:2a:58:8b:61:f5:14:90:30:26:37:
|
||||
94:a1:a6:29:20:c9:b5:08:d7:f9:15:cb:9d:9c:19:ed:2f:a4:
|
||||
e6:91:48:85:1a:f7:ab:17:5e:79:23:69:b8:3c:0c:48:ae:c8:
|
||||
ba:90:d0:05:fb:33:7e:86:fd:12:f8:2d:0f:ff:16:15:9a:dc:
|
||||
76:48:7d:65:5b:4e:93:14:e8:be:37:d1:13:f7:a7:b1:cd:ad:
|
||||
ae:4f:e1:72:b9:53:2d:cd:e6:42:76:44:93:21:28:58:c0:44:
|
||||
ab:3c:da:5b:e5:55:ab:04:86:4d:9c:4c:33:f4:4e:13:98:e9:
|
||||
0f:d1:a3:70:2b:1d:11:20:47:26:f6:d8:45:7f:88:ad:f2:c1:
|
||||
81:0f:be:cd:6c:79:80:94:30:eb:8d:cc:f3:7d:a1:3e:6c:6f:
|
||||
fa:8f:f3:1f:2e:76:97:3f:8a:1b:67:3b:e0:f9:b1:3c:6b:dc:
|
||||
64:1b:00:73:e9:89:81:f6:7f:51:f3:51:c8:b9:96:5f:fd:55:
|
||||
f8:77:6f:88:bc:65:b3:e2:30:a4:00:7a:79:68:e0:36:8b:a9:
|
||||
1b:06:9b:20:fe:fe:98:aa:56:58:c8:08:a4:7b:12:59:ff:3d:
|
||||
bd:5e:13:3b:c6:c7:8a:00:5b:cb:27:18:02:ee:cb:38:c2:b7:
|
||||
a9:51:04:ef:31:ca:49:09:48:14:13:eb:91:e2:26:8c:88:5f:
|
||||
1c:78:e1:0d:90:29:d7:c1:fc:c8:89:fd:4d:53:0b:99:58:c2:
|
||||
1a:24:3d:c0:a2:4c:a3:d9:c7:95:c5:bc:72:fa:02:f1:ab:dd:
|
||||
aa:2b:9e:a0:bb:1a:68:2d:09:8c:a2:99:0d:26:ec:9e:30:19:
|
||||
01:5a:41:45:63:b3:c5:db:24:32:4c:fe:7f:f3:ce:e9:4d:00:
|
||||
64:cf:bb:15:34:2d:31:6e:4f:c0:96:40:9b:32:35:65:92:01:
|
||||
29:7e:74:02:50:fd:3b:3b:3a:a3:9f:6a:c0:a5:be:3f:c3:07:
|
||||
d6:8c:2a:c6:f4:0f:32:bd:3b:fc:45:90:d2:46:ee:6f:c3:2f:
|
||||
26:8c:97:0c:e8:da:9a:97:03:0b:86:17:45:a6:62:69:4e:8d:
|
||||
cf:f8:bf:ea:2f:dc:ff:95:14:15:bd:92:2d:8a:08:cf:ce:8a:
|
||||
b0:f6:34:0a:a2:0e:49:31:44:e1:47:fb:37:52:53:59:93:25:
|
||||
40:cc:ac:67:2d:a2:b6:9b:75:fd:13:a5:a7:93:4f:72:05:75:
|
||||
cd:b1:37:f6:3b:69:3b:24:a1:1f:23:f0:cd:bb:ae:18:b3:aa:
|
||||
eb:9f:d7:97:06:ba:fd:44
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIExjCCAq6gAwIBAgIBATANBgkqhkiG9w0BAQsFADBzMQswCQYDVQQGEwJVUzER
|
||||
MA8GA1UECAwITmV3IFlvcmsxETAPBgNVBAcMCE5ldyBZb3JrMRAwDgYDVQQKDAdB
|
||||
Q01FIENBMQ8wDQYDVQQLDAZDb3lvdGUxGzAZBgNVBAMMEm91cmNhLmRvbWFpbi5s
|
||||
b2NhbDAeFw0xNjA2MzAxNjQ2MDlaFw0zNjA2MjUxNjQ2MDlaMF0xCzAJBgNVBAYT
|
||||
AlVTMREwDwYDVQQIDAhOZXcgWW9yazENMAsGA1UECgwEQUNNRTEPMA0GA1UECwwG
|
||||
Q295b3RlMRswGQYDVQQDDBJjZXJ0MS5kb21haW4ubG9jYWwwggEiMA0GCSqGSIb3
|
||||
DQEBAQUAA4IBDwAwggEKAoIBAQDWD70m7xRNCfbbiwH1TmwDsTUgFrgbfOa2jZcb
|
||||
sE+KtstUfnr//a8C27+dz5pMDYeTi8xh8yOpb47UgiyTtuL6N+2K0yOPbbV4Sji6
|
||||
k/lKHEAGM9fAmCDUFqykpWtBIEw6VX7HUOeVB06GFYZ6D2xX0gcclyRRW071Ujr4
|
||||
T5VrbIMfNE7usK7+RpA48U2FcotGvNFiN2Va3rsWUR71y6Dv1nsRbzsMSRe8TYz1
|
||||
2fA1a/e2TVDrR4HjBvK97GdPqysDquIeQiKpyVncDRn7xQId11jkBFMKHXm7wTPx
|
||||
zbcQLrRum9xgZgVQnyBmoXEAUVTPCnD0fEXG8KccES8+ox+/AgMBAAGjezB5MAkG
|
||||
A1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRp
|
||||
ZmljYXRlMB0GA1UdDgQWBBQt+yfHtDL/94fbLad2rvCWftrcFzAfBgNVHSMEGDAW
|
||||
gBRPKhVJ5swFLyv0Dsy6LkzfE5DweDANBgkqhkiG9w0BAQsFAAOCAgEAP0YcO1i0
|
||||
mfN1AEfS/rq6mgRGYrYtoA+PwJUqWIth9RSQMCY3lKGmKSDJtQjX+RXLnZwZ7S+k
|
||||
5pFIhRr3qxdeeSNpuDwMSK7IupDQBfszfob9EvgtD/8WFZrcdkh9ZVtOkxTovjfR
|
||||
E/ensc2trk/hcrlTLc3mQnZEkyEoWMBEqzzaW+VVqwSGTZxMM/ROE5jpD9GjcCsd
|
||||
ESBHJvbYRX+IrfLBgQ++zWx5gJQw643M832hPmxv+o/zHy52lz+KG2c74PmxPGvc
|
||||
ZBsAc+mJgfZ/UfNRyLmWX/1V+HdviLxls+IwpAB6eWjgNoupGwabIP7+mKpWWMgI
|
||||
pHsSWf89vV4TO8bHigBbyycYAu7LOMK3qVEE7zHKSQlIFBPrkeImjIhfHHjhDZAp
|
||||
18H8yIn9TVMLmVjCGiQ9wKJMo9nHlcW8cvoC8avdqiueoLsaaC0JjKKZDSbsnjAZ
|
||||
AVpBRWOzxdskMkz+f/PO6U0AZM+7FTQtMW5PwJZAmzI1ZZIBKX50AlD9Ozs6o59q
|
||||
wKW+P8MH1owqxvQPMr07/EWQ0kbub8MvJoyXDOjampcDC4YXRaZiaU6Nz/i/6i/c
|
||||
/5UUFb2SLYoIz86KsPY0CqIOSTFE4Uf7N1JTWZMlQMysZy2itpt1/ROlp5NPcgV1
|
||||
zbE39jtpOyShHyPwzbuuGLOq65/Xlwa6/UQ=
|
||||
-----END CERTIFICATE-----
|
||||
27
tests/unit/plugins/modules/network/f5/fixtures/cert1.key
Normal file
27
tests/unit/plugins/modules/network/f5/fixtures/cert1.key
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEpQIBAAKCAQEA1g+9Ju8UTQn224sB9U5sA7E1IBa4G3zmto2XG7BPirbLVH56
|
||||
//2vAtu/nc+aTA2Hk4vMYfMjqW+O1IIsk7bi+jftitMjj221eEo4upP5ShxABjPX
|
||||
wJgg1BaspKVrQSBMOlV+x1DnlQdOhhWGeg9sV9IHHJckUVtO9VI6+E+Va2yDHzRO
|
||||
7rCu/kaQOPFNhXKLRrzRYjdlWt67FlEe9cug79Z7EW87DEkXvE2M9dnwNWv3tk1Q
|
||||
60eB4wbyvexnT6srA6riHkIiqclZ3A0Z+8UCHddY5ARTCh15u8Ez8c23EC60bpvc
|
||||
YGYFUJ8gZqFxAFFUzwpw9HxFxvCnHBEvPqMfvwIDAQABAoIBAQCjQ7PP+y8vpvbp
|
||||
8bbXoy2ND15mkA1xoazR9WIYEzxHny2rzx//GTyfYH1gXtPfR75tEYYb+vbrJxP4
|
||||
DyTysN2jXH7HkEwh+9oZ2fo0i+Hp3WwTjvzyftUjDfw1Q5lvPbQGFekxGgrXRpBk
|
||||
ggxkEllfDeiwrLJdftfVEhe6BfD/0YibwQeHN7VoC4V8wOanKtDmx74W/1f7WhwQ
|
||||
nKQnCrbYqNJa2nGvWiKU5Suvfb0v7tCnQYlfnCpUfj+wcnxlgmGkcyq1L+qC1qC8
|
||||
PO5i3T3LM5Yg8CSeGhO/q6gw/fUowuBN1cluTqN97oLHiEM5tLdjeVWwa1Vp0liv
|
||||
1WXGT4eBAoGBAPtumMmyVTIorvV6KGNI/Eo6jfE0HOXVdXtm4iToDDuiYwto7/Ge
|
||||
/kV+11Fpu0lV+eYPfZn175Of8FnQPwczQF1OOH/aQ/ViY8j87bZUbCy25mWrfNkh
|
||||
2rRlyI3/OsSfL5SkyWpYB0yhSJZV9mSQJTZolB4GQRNPKtqi7NpB4WxBAoGBANnz
|
||||
VS4JBJO75yeSG5BzPp5VVKm+nu0Betlva8GsHdEic8OM9bGpVozGysAW3Xdxp7q6
|
||||
gLJGyyuzpsxldCc/IdIlF5fz7gkLl4NoYanz9PSEr2XZLh9+2yXGkPFlC3IeHAUB
|
||||
E+2UO9MFpWrmfKoAnYZCR6vJDxtQBpAlTUvJEYv/AoGBAPha62K32327P+7MJl7D
|
||||
9ijgI9rwjebcbbpiCtlHuOWi5lCb6/7v/NvqiYcqeEvdOAXuoTNWAbsBTel5UPis
|
||||
wFQp8pcfouccs9IRPEFQrLWSSIx+0sirrxtoOq1AQe18DAS4rRd1MmiYG1ocOVBm
|
||||
LcvLixsJNHh9R6hFLM3+K0vBAoGANkmJ+gF9Bl9TYGPgQcay3jVa9Tzp0RcBRo+e
|
||||
Q4tfkewG8bp2qF4JlN8fOWF4oHvKz5QM4lsH2EbTUS4kFHKBNhrPGaZEsDQW9UBW
|
||||
s0J0zUMPfUrvViD+7RXcnIQSqcYeLJDsKc02aYWKgmoOuzmUAxEXUQ6vmJoCSH1C
|
||||
F5JpsHkCgYEArwTSzb1+/ThQhK1JN8hJ4jMjQ8E7PzLTMILrdDALn2g1T4VzL7N7
|
||||
UG6oUieMlo/UH6cv6330dwaGVklXZbyDKSDROIafFcOpVfcvDUgJCjp3CaY9A2zG
|
||||
+EPkRpeHKXAIgG+QuOwVOtYWcWltnBf61slTqiY2vKX1+ZGmrMrw1Zw=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
101
tests/unit/plugins/modules/network/f5/fixtures/cert2.crt
Normal file
101
tests/unit/plugins/modules/network/f5/fixtures/cert2.crt
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 2 (0x2)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: C=US, ST=New York, L=New York, O=ACME CA, OU=Coyote, CN=ourca.domain.local
|
||||
Validity
|
||||
Not Before: Jun 30 16:49:00 2016 GMT
|
||||
Not After : Jun 25 16:49:00 2036 GMT
|
||||
Subject: C=US, ST=New York, O=ACME, OU=Coyote, CN=cert2.domain.local
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
Public-Key: (2048 bit)
|
||||
Modulus:
|
||||
00:c6:9e:84:99:4d:69:98:c2:42:95:ed:43:ca:24:
|
||||
05:64:9d:67:81:1c:ff:56:7b:ad:d1:cb:09:39:28:
|
||||
4f:ac:aa:1b:34:61:3a:b1:e3:57:d4:9e:15:40:77:
|
||||
91:20:2b:e8:7e:d3:91:1e:46:50:6c:2f:4b:00:c2:
|
||||
f2:3a:43:89:d9:81:73:84:5f:02:db:49:ac:3b:9e:
|
||||
fe:c0:77:2e:53:ea:ce:da:ff:49:98:21:1d:31:4d:
|
||||
0f:14:20:30:36:9a:23:b4:28:08:06:59:81:30:03:
|
||||
86:09:0b:5b:e1:72:63:5e:54:ac:90:b1:82:55:b8:
|
||||
12:00:d5:01:26:be:6a:eb:fc:58:5b:8a:7a:fe:46:
|
||||
23:a3:eb:5d:6c:e0:f6:79:00:5d:5b:49:82:42:62:
|
||||
e2:58:e8:65:54:14:be:99:25:8b:b7:df:cf:53:26:
|
||||
f2:7a:fd:b9:f9:f3:d5:af:06:d6:1e:ba:66:4d:41:
|
||||
8c:5d:aa:23:41:7f:f4:27:21:a0:30:09:86:13:c4:
|
||||
57:1b:13:45:63:6b:3b:a3:7f:d1:1a:cd:fd:07:51:
|
||||
0f:1a:e1:d9:25:3e:d2:77:e1:c7:60:db:12:df:ef:
|
||||
71:65:c8:c7:1a:42:94:6f:57:2a:d7:67:30:0f:33:
|
||||
31:ba:90:4d:d1:80:38:08:e7:90:7a:04:0e:8f:b0:
|
||||
2a:73
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
43:71:A9:16:2B:DA:DC:5F:FD:82:87:78:26:48:4E:77:21:47:44:D6
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:4F:2A:15:49:E6:CC:05:2F:2B:F4:0E:CC:BA:2E:4C:DF:13:90:F0:78
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
15:ac:f9:cb:bc:88:c0:d3:74:83:88:cd:19:94:bb:87:7e:fd:
|
||||
4d:25:09:9b:08:84:64:c5:37:c7:99:b3:25:ee:6e:82:46:b0:
|
||||
13:f9:05:ad:4d:4a:b2:e3:29:5d:0d:55:9e:9c:62:1d:95:f2:
|
||||
19:49:5e:d3:5b:58:98:ce:e8:f5:e5:c1:ce:b5:a8:7a:b1:f8:
|
||||
14:fe:25:10:12:5b:41:53:d2:47:ab:20:e5:50:da:b6:ba:00:
|
||||
21:94:6b:dd:0b:24:15:dc:c0:4e:b8:1d:cc:9e:5f:10:5e:46:
|
||||
3f:96:c9:f8:28:bb:13:31:d6:d2:6c:48:41:bb:23:ab:23:64:
|
||||
73:d6:2b:2e:9a:77:d4:08:fb:e0:e8:50:2c:49:7f:98:9e:f6:
|
||||
37:30:2b:7c:97:c6:a7:1e:5b:dc:ce:bb:1e:58:e4:bd:05:4c:
|
||||
ad:07:d6:03:c5:a9:57:a4:26:e2:10:f7:f9:63:1a:2a:6a:9c:
|
||||
52:98:33:bf:ea:70:cd:c0:86:32:80:6e:70:54:87:74:3c:41:
|
||||
53:a1:c6:53:44:c7:74:a6:11:b6:48:66:86:f9:04:ca:ec:5d:
|
||||
4f:ce:7f:64:51:34:52:53:98:a8:70:62:f7:3b:fb:39:11:9a:
|
||||
e1:e2:d3:00:0b:6b:d2:33:3c:44:de:c3:6b:e1:6f:c9:be:d2:
|
||||
2c:8a:f0:b3:d3:4c:12:2f:ad:9d:6b:40:89:23:94:93:6d:12:
|
||||
6c:38:89:fa:fe:ad:02:55:55:8b:c3:86:7f:15:c4:3a:a9:70:
|
||||
e9:06:6c:26:09:28:9f:6e:94:f2:a1:27:5c:89:4c:42:ac:65:
|
||||
90:92:d2:6d:09:7c:d8:a1:bf:5b:25:e4:db:ed:71:41:d7:e2:
|
||||
61:47:89:9e:46:29:9d:f9:f4:94:cf:f5:b3:e8:df:6a:47:34:
|
||||
d1:ed:fc:a4:58:fe:82:e1:6e:e9:05:65:f5:d2:57:9a:d1:42:
|
||||
64:ae:0c:bb:07:14:39:a2:c0:85:e4:25:a5:c4:e6:3f:e6:da:
|
||||
d0:18:4f:e0:01:ba:99:2e:1f:75:35:c3:fa:a3:e7:e1:75:1b:
|
||||
1c:19:93:cc:96:eb:3f:ce:8b:10:40:36:63:f5:66:dc:6d:75:
|
||||
31:ba:db:27:21:b4:15:00:e9:ce:d0:08:e3:b0:1c:e3:29:c9:
|
||||
63:5a:c8:5c:ca:db:ce:51:b7:87:22:c6:ba:42:d7:ab:29:b4:
|
||||
87:fa:27:9a:18:22:90:9f:da:c0:90:c4:49:64:38:38:2e:a2:
|
||||
ea:87:c1:8b:4e:8b:ff:a7:53:45:4f:d8:8b:86:69:ea:87:1d:
|
||||
f6:e6:44:14:1f:69:ee:2c:de:5a:a1:df:a8:57:13:65:4d:5b:
|
||||
ce:6e:f2:15:2a:c5:32:08
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIExjCCAq6gAwIBAgIBAjANBgkqhkiG9w0BAQsFADBzMQswCQYDVQQGEwJVUzER
|
||||
MA8GA1UECAwITmV3IFlvcmsxETAPBgNVBAcMCE5ldyBZb3JrMRAwDgYDVQQKDAdB
|
||||
Q01FIENBMQ8wDQYDVQQLDAZDb3lvdGUxGzAZBgNVBAMMEm91cmNhLmRvbWFpbi5s
|
||||
b2NhbDAeFw0xNjA2MzAxNjQ5MDBaFw0zNjA2MjUxNjQ5MDBaMF0xCzAJBgNVBAYT
|
||||
AlVTMREwDwYDVQQIDAhOZXcgWW9yazENMAsGA1UECgwEQUNNRTEPMA0GA1UECwwG
|
||||
Q295b3RlMRswGQYDVQQDDBJjZXJ0Mi5kb21haW4ubG9jYWwwggEiMA0GCSqGSIb3
|
||||
DQEBAQUAA4IBDwAwggEKAoIBAQDGnoSZTWmYwkKV7UPKJAVknWeBHP9We63Rywk5
|
||||
KE+sqhs0YTqx41fUnhVAd5EgK+h+05EeRlBsL0sAwvI6Q4nZgXOEXwLbSaw7nv7A
|
||||
dy5T6s7a/0mYIR0xTQ8UIDA2miO0KAgGWYEwA4YJC1vhcmNeVKyQsYJVuBIA1QEm
|
||||
vmrr/Fhbinr+RiOj611s4PZ5AF1bSYJCYuJY6GVUFL6ZJYu3389TJvJ6/bn589Wv
|
||||
BtYeumZNQYxdqiNBf/QnIaAwCYYTxFcbE0Vjazujf9Eazf0HUQ8a4dklPtJ34cdg
|
||||
2xLf73FlyMcaQpRvVyrXZzAPMzG6kE3RgDgI55B6BA6PsCpzAgMBAAGjezB5MAkG
|
||||
A1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRp
|
||||
ZmljYXRlMB0GA1UdDgQWBBRDcakWK9rcX/2Ch3gmSE53IUdE1jAfBgNVHSMEGDAW
|
||||
gBRPKhVJ5swFLyv0Dsy6LkzfE5DweDANBgkqhkiG9w0BAQsFAAOCAgEAFaz5y7yI
|
||||
wNN0g4jNGZS7h379TSUJmwiEZMU3x5mzJe5ugkawE/kFrU1KsuMpXQ1VnpxiHZXy
|
||||
GUle01tYmM7o9eXBzrWoerH4FP4lEBJbQVPSR6sg5VDatroAIZRr3QskFdzATrgd
|
||||
zJ5fEF5GP5bJ+Ci7EzHW0mxIQbsjqyNkc9YrLpp31Aj74OhQLEl/mJ72NzArfJfG
|
||||
px5b3M67HljkvQVMrQfWA8WpV6Qm4hD3+WMaKmqcUpgzv+pwzcCGMoBucFSHdDxB
|
||||
U6HGU0THdKYRtkhmhvkEyuxdT85/ZFE0UlOYqHBi9zv7ORGa4eLTAAtr0jM8RN7D
|
||||
a+Fvyb7SLIrws9NMEi+tnWtAiSOUk20SbDiJ+v6tAlVVi8OGfxXEOqlw6QZsJgko
|
||||
n26U8qEnXIlMQqxlkJLSbQl82KG/WyXk2+1xQdfiYUeJnkYpnfn0lM/1s+jfakc0
|
||||
0e38pFj+guFu6QVl9dJXmtFCZK4MuwcUOaLAheQlpcTmP+ba0BhP4AG6mS4fdTXD
|
||||
+qPn4XUbHBmTzJbrP86LEEA2Y/Vm3G11MbrbJyG0FQDpztAI47Ac4ynJY1rIXMrb
|
||||
zlG3hyLGukLXqym0h/onmhgikJ/awJDESWQ4OC6i6ofBi06L/6dTRU/Yi4Zp6ocd
|
||||
9uZEFB9p7izeWqHfqFcTZU1bzm7yFSrFMgg=
|
||||
-----END CERTIFICATE-----
|
||||
30
tests/unit/plugins/modules/network/f5/fixtures/cert2.key
Normal file
30
tests/unit/plugins/modules/network/f5/fixtures/cert2.key
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
Proc-Type: 4,ENCRYPTED
|
||||
DEK-Info: AES-256-CBC,C56C8101A9C8D6B9AD0975807D4793BB
|
||||
|
||||
rhV1cJee3XAlY83zIXytJOlvXFrsHmzyTVoOn26eOwgza8CuE5gQQzLXiT12zK0q
|
||||
YAbYyyyEXJJogVU61s1vuCQRNiezUCwT4SBj7ni4rXqu5BYUxKh0wD0gjE519yNP
|
||||
nqnPUYKdLkFY7I6RJjqCqkk8xnJm64g5zCqN58aR98Mkqr1898+lZ2OHqAsAYBNH
|
||||
dM/SE7B7E4Mr1sAjpsn6L4PJ93WSwmEtH3nZTnPF9qtFuJwjUcHCN/r/s3QXki95
|
||||
eFX+7qW460lBfDeRUKXKqz4gO017AXu1kccrlHhdQoJGf3D+x9zwofG/uFeAH3iN
|
||||
f9IRaiR2IN6SS67QFmOkI9S95tsFb4N8bmmfGV4w8wfxvDzGJuxzIb4gByX5xov4
|
||||
S22pDpkfn5YqxgC5ItSiFYpg01HEi2l79HwZqAn1kowLsuF1JJKAYL5IMS3DlrdH
|
||||
AyA9CN28G6pYEjwFBbFgpOg64UNmrkxRncHxC4FuH7iGZNJL9+HQve/J5nlrnx6M
|
||||
IU2myiZZhgbsl/V45ddXBDSlEdWFLHtEhcG+ICJP3EZAXHR0e9vyrWDk7T5zKhLP
|
||||
ch9PNmIw+5zzpRuPu5NYw7V0ax8UOf2AydyBHeIQWuY52bai+QMDyQauomqpPXRY
|
||||
tpCcW85P9jstY/F6TV32XQu/cHWolziJXI/QzWF5+uvnLMAsb3p5mriCG4DOTWF3
|
||||
KFSytTGnDQUUCLgaYSSKXL5Z52PVYmTjoqX8M6cvqSEdjK84wILQE0JMItQjGSIM
|
||||
y5qHD7Mthf9YOJy1D86qtVumbaOBLw/rGPQS5QlK/m256xZ10LUslYczMpw1orN3
|
||||
3Uv8zHKk790XduHTllR0LwQXMJXG59hgiWAu3V3rsAkVSRpC3MI6IUZ2cfJvZ0Ds
|
||||
FmUhCJ34JQxD4E/sT9uGAk6VIq/fAmM7/gq0oF4oqOFg4Zy1r3rc1Kvdoy1yKUi6
|
||||
JCI5bKCkgIthx4XUKQVtFMkHBDZAHr6i5Lzy4nM6I4S4/qL3JH4Q+739D1rjGVlq
|
||||
OWcaeOzkkbJrE8h+A94UQao4R50LavKgq/o2n56tHG0RhXXyV5MC/X9rbSVipihR
|
||||
rwNKnogdhAjY96IrOzdiHTArg8qZBGvHPoGUl3zjWFqNbHEs4NLSrEl6oEs6F/vC
|
||||
zEZmi8gxqraw4u1GJnpoMuLO45PuhcxcXgJSvTh/OKDaR1u0ggEn7TxfAygm0ahP
|
||||
i6NBgoZ/upTHAWqWht2JjSmQHQW7doVkp/BgNJq13oYF7FEUEg/ZtBTPKPR3CjM0
|
||||
ZKDGvKqWRVRyrw9FSwXn6WlSFfT3vhPMoW2jq1Kq5o/ZyhcquCVE8i+xq6hilcb5
|
||||
sNiV1tPWsZOFHx4T5hBVK+QnC8t7pCj38YpyEoY4/gffMtY85jsrLMlPYd5bmJ6O
|
||||
x1tKiQauK+aX6IMu38YnHjCGnCkw1fF2OMSohbG2QfaKsmfkt8YLRuf2PTtjLtke
|
||||
xGt0Irjac/sEZPc4SEIqnehNfXadiuMV3+4v6ey9vf782r76KH8gInY2gDsQ4X6d
|
||||
1LVNCNAd/AGlitopL4hYomaeTjTzqIy5fMlGmTrpZjokenu/ILXsljZVAX2iyOAs
|
||||
-----END RSA PRIVATE KEY-----
|
||||
68
tests/unit/plugins/modules/network/f5/fixtures/chain1.crt
Normal file
68
tests/unit/plugins/modules/network/f5/fixtures/chain1.crt
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIF2DCCA8CgAwIBAgIJAKql/ua7JdaGMA0GCSqGSIb3DQEBCwUAMHkxCzAJBgNV
|
||||
BAYTAkdCMRAwDgYDVQQIDAdFbmdsYW5kMRIwEAYDVQQKDAlBbGljZSBMdGQxKDAm
|
||||
BgNVBAsMH0FsaWNlIEx0ZCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxGjAYBgNVBAMM
|
||||
EUFsaWNlIEx0ZCBSb290IENBMB4XDTE3MDcyNTAzMTcwNloXDTM3MDcyMDAzMTcw
|
||||
NloweTELMAkGA1UEBhMCR0IxEDAOBgNVBAgMB0VuZ2xhbmQxEjAQBgNVBAoMCUFs
|
||||
aWNlIEx0ZDEoMCYGA1UECwwfQWxpY2UgTHRkIENlcnRpZmljYXRlIEF1dGhvcml0
|
||||
eTEaMBgGA1UEAwwRQWxpY2UgTHRkIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUA
|
||||
A4ICDwAwggIKAoICAQC7grIMGI9e11lKh++bhyhTAU4qsKgM52xkl4sctSkK5hyT
|
||||
jY8YYfD9ERrrJov6LLCt8QiwFypoqdILTht4g6sGACoVGXigFbLNyhEhX64kIWwT
|
||||
PNFFXezYJv87qxPeT0I+6oHwai3smrUsPzsK73vwWOlnAW0mxvSzWpzvc3CgCB1J
|
||||
+vRhdPm0VgT5HuR20WDPvx0T+ftQRrhIHz/UZSTHo/CEcuJ9zjhEmQlZRhfxZiBW
|
||||
FY8Mgs6bgAKC+KtAsFTqRAuXq++xOnIIBzXACluFxp7Fee1CZh2GPxmtzFSIJVH0
|
||||
pH6wf9Kxkr0zuiAt3nq3xQcQZVdRP3bWscxp0lYG8BjuMZppI+r+gG1k/7WsRU/A
|
||||
SUiHi4EogznIuJ7o1LbcULpIKjHsHVKXYz+ff+hx7npisHIE9BoyBe9SbalJxIcS
|
||||
7n9/Mw6UmKk/zxspXCwMLraaeoyy2vUoC/zXW2WQHq67IarSAVbCPEPliqydVZ9k
|
||||
y1ZQKGdrpxxLdsbasNv3xnS50DBd4GsSnxdhzCXUUhvLQ8dZ/NRXvZ6wwcdeQ6PV
|
||||
5+dQNgnm7yd4mxyBbqv6RBAa37uNKWNf4yAQ9j9QN8pzW+qzuusAcLxTdDbtyeMi
|
||||
Dz5UHzF912m3KLlF/Aad2TbjrCR4K0CEozVT8lhFpZlNl+IdZyuSbZQ6tYrJ0wID
|
||||
AQABo2MwYTAdBgNVHQ4EFgQUk2h12cau/s1k/IGR0OAUWZbf8a8wHwYDVR0jBBgw
|
||||
FoAUk2h12cau/s1k/IGR0OAUWZbf8a8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8B
|
||||
Af8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBADSBpj8O7Wrs0gpciOmJ7cmVUIoX
|
||||
XTd+WgzustaUJoqpeCmzkeC7O9/a9Eat2LrmKIBoY6uzH1hnYwOxSdSdodBuUcOv
|
||||
6hBl7rFCgg+ACRn7zaaInFRPdx4P+ovbfFFetKmg54XA8ZDb7YRpwj3zMtlV38Ca
|
||||
WC1jP36ocn8UZ8av1ki7KNz/0PqzJ4sVs6IZrj2Lo0lDcu+29Nh5VJ7AZnOfUeas
|
||||
4sQr3dPHPaMQBxz0rKr/FN4qx63kd9GmoGz4DEDnPeUl2v52i/48ym0Q7JrntD5J
|
||||
qJaaoU4uxUMkmnD8wOmBBtXQ3eRpHE6W8ZcJGWkL8bRPrFnwxMk71N1guetetzoY
|
||||
xX7E3/CtSV7CSJMF74hE/ULNG8XdWAYY3zojSStA8UzYzO/pCA/PcmxBzxnkch4W
|
||||
3LetTSKH9mN9k2p51jGLWIbRGod5qffmtb76xRzhyhgryCV/afwfJxKeXwjDz8ty
|
||||
J6qFBXclDjTWVHHOU8hGvu4Z4PD6cbQ68tLlfFoDRq6nqKufFKpxOyw9ioLcPWbz
|
||||
+rJsnqE1+5QR4tisplmSQtQ5nI45Wns+UCmsEJm+gPkyp9pBQVudkEo1OSyCSSwZ
|
||||
evwZgkD2YclUpxcQRQR/Sy4Kvrwv3D+6zfgovClqpI3SHvQ1v/TXa3wB/RTB1H0q
|
||||
0Qn4FWp63AaOBNrC
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIF3TCCA8WgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAweTELMAkGA1UEBhMCR0Ix
|
||||
EDAOBgNVBAgMB0VuZ2xhbmQxEjAQBgNVBAoMCUFsaWNlIEx0ZDEoMCYGA1UECwwf
|
||||
QWxpY2UgTHRkIENlcnRpZmljYXRlIEF1dGhvcml0eTEaMBgGA1UEAwwRQWxpY2Ug
|
||||
THRkIFJvb3QgQ0EwHhcNMTcwNzI1MDMxNzE0WhcNMjcwNzIzMDMxNzE0WjCBgTEL
|
||||
MAkGA1UEBhMCR0IxEDAOBgNVBAgMB0VuZ2xhbmQxEjAQBgNVBAoMCUFsaWNlIEx0
|
||||
ZDEoMCYGA1UECwwfQWxpY2UgTHRkIENlcnRpZmljYXRlIEF1dGhvcml0eTEiMCAG
|
||||
A1UEAwwZQWxpY2UgTHRkIEludGVybWVkaWF0ZSBDQTCCAiIwDQYJKoZIhvcNAQEB
|
||||
BQADggIPADCCAgoCggIBAL1whyll1+/qWhAUdy6U5vtopX0wzJrg3dk8tIlpDChh
|
||||
khTEK779aQNapRKpZmJ6hnCkg7buVOSBP2WqqGQ1s9cakBSFkDyy5hrqeSzIR93w
|
||||
9n2sTc4EBD0b8QWn5D0hdoWLT3+OwFHCBf/vb+qA9Vz0P/PRPYUnKttQH6nXTj9C
|
||||
+AzegfS4SbfDJ4XdhbzCewgUvr3rqP61AQuEwZq7qoVCA3bFSASUfbJgMBxJgfBG
|
||||
KynueJ62L+wbZLXUDq9G3T0KIUlxgGIcPQ0tu2kW7uSeY5wZazuvNJCHM9HKsjUf
|
||||
wb8GgavQRlgunE9zXAEr+iP2DQrmZXdhJkkb4EyG1vuTMK3DtGjlpXAVGsiuuZ1o
|
||||
PVYZDVKhfKFN9tyop/dppxDTHyJlp2prtsudhtqwzYDqrUsMu4/LMWvxgUcTK4U7
|
||||
mPSBcvOb4fTqXirNRYsqi8BK/nxt/hUBVG0vEnoIH0ppzqWvMcsMtMi3535sErUJ
|
||||
k8IVKYIGB9OKb9SzpERYT6+BH9sUURZ/xyhRd2pj7EiVAEVxrrVoedZJzLRuXH99
|
||||
qhFG2HnDAaDC9LX09GveTzgUVUfif5fJgGBkzslpM3z8t3THz9RjrqtrzKOCHcZF
|
||||
cgt46oQByT0UjhIPCz3/6h04XzSszue8aTAwi1JaYhHoXEPolgJRoLeuFdsJtfyt
|
||||
AgMBAAGjZjBkMB0GA1UdDgQWBBSiTrrHxly7SsSV+MqprYstABOIjDAfBgNVHSME
|
||||
GDAWgBSTaHXZxq7+zWT8gZHQ4BRZlt/xrzASBgNVHRMBAf8ECDAGAQH/AgEAMA4G
|
||||
A1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAakyu4lsOWz2+VHI0S6xb
|
||||
M/afSDgnmI+i/1lSQ7UHM1XIvuINIzAcWndU1XuHyFjT7p9ZDPZ52gcseIenrKOD
|
||||
EsJWKO3u33to3YUMfBCJi9VbTCtd6rkjuFggN6EKM1esqs0kgenWmvEQSv73OOii
|
||||
UCAbif4fSva6C5PhgK7X0zE+hTsPxRZnN8baRlL01IHEraG+PfYCEpjvzExzoaW6
|
||||
aLNS0DAS1escb9K5u6Cf4KIxkdqpcYIW7v7tehj5KS3E0cRv3QAaMUBkMWTWlSP3
|
||||
irzC0OB8BFuYZ1OxDYnxhSY1mfwfI8kWrvA83okS8qwfjq/rty53VG3tON9GzGXg
|
||||
P1SQ3xB/6yxSvskcbN1blfHJfJRpOIxBvAydhdBCh7PO0WJzTP8kmffMhOiT5AdE
|
||||
jcJVxWSjwqUetomlNiErEvo7ZmxEwQZQE5wnuGM4eAbV87zLVrnj+viRo1dP7RFN
|
||||
iRUwjrxKpozUY5AGY2hZdFrWObBe1AvLDQcNDUc+oMwgnIBC2YtO1cTKJ3IFru0f
|
||||
Av48lyJ88AfO2W7pEfoVqAAZszu2s0VZB5W9fBOQLizvkjK8s5YeUPdhW3epEYF9
|
||||
I1PsTSNdN+abV5qNdIjgRVtNlV63+1y0Ez7J7RvO847ZYTuqHnfaRG03p10YnxBs
|
||||
WcSe5ozInV3EZ9TxFcGQR+E=
|
||||
-----END CERTIFICATE-----
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
when LB_SELECTED {
|
||||
# Capture IP address chosen by WIP load balancing
|
||||
set wipHost [LB::server addr]
|
||||
}
|
||||
|
||||
when LB_FAILED {
|
||||
set wipHost [LB::server addr]
|
||||
}
|
||||
|
|
@ -0,0 +1,199 @@
|
|||
{
|
||||
"name": "http_example",
|
||||
"partition": "Common",
|
||||
"template": "/Common/f5.http",
|
||||
"inheritedDevicegroup": "true",
|
||||
"deviceGroup": "none",
|
||||
"inheritedTrafficGroup": "true",
|
||||
"trafficGroup": "/Common/traffic-group-local-only",
|
||||
"lists": [
|
||||
{
|
||||
"name": "irules__irules",
|
||||
"encrypted": "no",
|
||||
"value": [
|
||||
"/Common/lgyft"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "net__client_vlan",
|
||||
"encrypted": "no",
|
||||
"value": [
|
||||
"/Common/net2"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": [
|
||||
{
|
||||
"columnNames": [
|
||||
"name"
|
||||
],
|
||||
"name": "pool__hosts",
|
||||
"rows": [
|
||||
{
|
||||
"row": [
|
||||
"demo.example.com"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"columnNames": [
|
||||
"addr",
|
||||
"connection_limit"
|
||||
],
|
||||
"name": "pool__members",
|
||||
"rows": [
|
||||
{
|
||||
"row": [
|
||||
"10.1.1.1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"row": [
|
||||
"10.1.1.2",
|
||||
"0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
{
|
||||
"name": "afm__policy",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "afm__dos_security_profile",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "afm__protocol_security_profile",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "asm__use_asm",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "client__http_compression",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "client__standard_caching_without_wa",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "client__tcp_wan_opt",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "monitor__monitor",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "monitor__frequency",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "monitor__uri",
|
||||
"value": "/my/path"
|
||||
},
|
||||
{
|
||||
"name": "monitor__response",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"name": "net__client_mode",
|
||||
"value": "wan"
|
||||
},
|
||||
{
|
||||
"name": "net__server_mode",
|
||||
"value": "lan"
|
||||
},
|
||||
{
|
||||
"name": "net__vlan_mode",
|
||||
"value": "all"
|
||||
},
|
||||
{
|
||||
"name": "pool__addr",
|
||||
"value": "10.10.10.10"
|
||||
},
|
||||
{
|
||||
"name": "pool__http",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "pool__mask",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"name": "pool__persist",
|
||||
"value": "/#cookie#"
|
||||
},
|
||||
{
|
||||
"name": "pool__lb_method",
|
||||
"value": "least-connections-member"
|
||||
},
|
||||
{
|
||||
"name": "pool__pool_to_use",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "pool__port_secure",
|
||||
"value": "443"
|
||||
},
|
||||
{
|
||||
"name": "pool__redirect_port",
|
||||
"value": "80"
|
||||
},
|
||||
{
|
||||
"name": "pool__redirect_to_https",
|
||||
"value": "yes"
|
||||
},
|
||||
{
|
||||
"name": "pool__xff",
|
||||
"value": "yes"
|
||||
},
|
||||
{
|
||||
"name": "server__oneconnect",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "server__tcp_lan_opt",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "ssl__cert",
|
||||
"value": "/Common/default.crt"
|
||||
},
|
||||
{
|
||||
"name": "ssl__client_ssl_profile",
|
||||
"value": "/#create_new#"
|
||||
},
|
||||
{
|
||||
"name": "ssl__key",
|
||||
"value": "/Common/default.key"
|
||||
},
|
||||
{
|
||||
"name": "ssl__mode",
|
||||
"value": "client_ssl"
|
||||
},
|
||||
{
|
||||
"name": "ssl__use_chain_cert",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "ssl_encryption_questions__advanced",
|
||||
"value": "yes"
|
||||
},
|
||||
{
|
||||
"name": "stats__analytics",
|
||||
"value": "/#do_not_use#"
|
||||
},
|
||||
{
|
||||
"name": "stats__request_logging",
|
||||
"value": "/#do_not_use#"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
cli admin-partitions {
|
||||
update-partition Common
|
||||
}
|
||||
|
||||
sys application template foo.iapp {
|
||||
|
||||
actions {
|
||||
definition {
|
||||
|
||||
implementation {
|
||||
set cfg { ltm virtual forwarding-repro {
|
||||
destination 0.0.0.0:any
|
||||
description "something 1"
|
||||
mask any
|
||||
profiles {
|
||||
fastL4 { }
|
||||
}
|
||||
source 1.1.1.1/32
|
||||
translate-address disabled
|
||||
translate-port disabled
|
||||
vlans { __forwarding_vlans__ }
|
||||
vlans-enabled
|
||||
} }
|
||||
|
||||
|
||||
if {![info exists {::var__forwarding_vlans}] || (${::var__forwarding_vlans} == "")} {
|
||||
set {::var__forwarding_vlans} "{}"
|
||||
puts "Info: assigning empty string to variable {::var__forwarding_vlans}"
|
||||
}
|
||||
|
||||
|
||||
set cfg [string map "__forwarding_vlans__ ${::var__forwarding_vlans} __app_service__ $tmsh::app_name.app/$tmsh::app_name " $cfg]
|
||||
set fileId [open /var/tmp/demo.repro.cfg "w"]
|
||||
puts -nonewline $fileId $cfg
|
||||
close $fileId
|
||||
|
||||
|
||||
tmsh::load sys config merge file /var/tmp/demo.repro.cfg
|
||||
}
|
||||
|
||||
presentation {
|
||||
|
||||
include "/Common/f5.apl_common"
|
||||
section var {
|
||||
string forwarding_vlans display "xxlarge"
|
||||
}
|
||||
|
||||
text {
|
||||
var "General variables"
|
||||
var.forwarding_vlans "__var__forwarding_vlans__"
|
||||
}
|
||||
}
|
||||
role-acl { admin manager resource-admin }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 1 (0x1)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: C=US, ST=New York, L=New York, O=ACME CA, OU=Coyote, CN=ourca.domain.local
|
||||
Validity
|
||||
Not Before: Jun 30 16:46:09 2016 GMT
|
||||
Not After : Jun 25 16:46:09 2036 GMT
|
||||
Subject: C=US, ST=New York, O=ACME, OU=Coyote, CN=cert1.domain.local
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
Public-Key: (2048 bit)
|
||||
Modulus:
|
||||
00:d6:0f:bd:26:ef:14:4d:09:f6:db:8b:01:f5:4e:
|
||||
6c:03:b1:35:20:16:b8:1b:7c:e6:b6:8d:97:1b:b0:
|
||||
4f:8a:b6:cb:54:7e:7a:ff:fd:af:02:db:bf:9d:cf:
|
||||
9a:4c:0d:87:93:8b:cc:61:f3:23:a9:6f:8e:d4:82:
|
||||
2c:93:b6:e2:fa:37:ed:8a:d3:23:8f:6d:b5:78:4a:
|
||||
38:ba:93:f9:4a:1c:40:06:33:d7:c0:98:20:d4:16:
|
||||
ac:a4:a5:6b:41:20:4c:3a:55:7e:c7:50:e7:95:07:
|
||||
4e:86:15:86:7a:0f:6c:57:d2:07:1c:97:24:51:5b:
|
||||
4e:f5:52:3a:f8:4f:95:6b:6c:83:1f:34:4e:ee:b0:
|
||||
ae:fe:46:90:38:f1:4d:85:72:8b:46:bc:d1:62:37:
|
||||
65:5a:de:bb:16:51:1e:f5:cb:a0:ef:d6:7b:11:6f:
|
||||
3b:0c:49:17:bc:4d:8c:f5:d9:f0:35:6b:f7:b6:4d:
|
||||
50:eb:47:81:e3:06:f2:bd:ec:67:4f:ab:2b:03:aa:
|
||||
e2:1e:42:22:a9:c9:59:dc:0d:19:fb:c5:02:1d:d7:
|
||||
58:e4:04:53:0a:1d:79:bb:c1:33:f1:cd:b7:10:2e:
|
||||
b4:6e:9b:dc:60:66:05:50:9f:20:66:a1:71:00:51:
|
||||
54:cf:0a:70:f4:7c:45:c6:f0:a7:1c:11:2f:3e:a3:
|
||||
1f:bf
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
2D:FB:27:C7:B4:32:FF:F7:87:DB:2D:A7:76:AE:F0:96:7E:DA:DC:17
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:4F:2A:15:49:E6:CC:05:2F:2B:F4:0E:CC:BA:2E:4C:DF:13:90:F0:78
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
3f:46:1c:3b:58:b4:99:f3:75:00:47:d2:fe:ba:ba:9a:04:46:
|
||||
62:b6:2d:a0:0f:8f:c0:95:2a:58:8b:61:f5:14:90:30:26:37:
|
||||
94:a1:a6:29:20:c9:b5:08:d7:f9:15:cb:9d:9c:19:ed:2f:a4:
|
||||
e6:91:48:85:1a:f7:ab:17:5e:79:23:69:b8:3c:0c:48:ae:c8:
|
||||
ba:90:d0:05:fb:33:7e:86:fd:12:f8:2d:0f:ff:16:15:9a:dc:
|
||||
76:48:7d:65:5b:4e:93:14:e8:be:37:d1:13:f7:a7:b1:cd:ad:
|
||||
ae:4f:e1:72:b9:53:2d:cd:e6:42:76:44:93:21:28:58:c0:44:
|
||||
ab:3c:da:5b:e5:55:ab:04:86:4d:9c:4c:33:f4:4e:13:98:e9:
|
||||
0f:d1:a3:70:2b:1d:11:20:47:26:f6:d8:45:7f:88:ad:f2:c1:
|
||||
81:0f:be:cd:6c:79:80:94:30:eb:8d:cc:f3:7d:a1:3e:6c:6f:
|
||||
fa:8f:f3:1f:2e:76:97:3f:8a:1b:67:3b:e0:f9:b1:3c:6b:dc:
|
||||
64:1b:00:73:e9:89:81:f6:7f:51:f3:51:c8:b9:96:5f:fd:55:
|
||||
f8:77:6f:88:bc:65:b3:e2:30:a4:00:7a:79:68:e0:36:8b:a9:
|
||||
1b:06:9b:20:fe:fe:98:aa:56:58:c8:08:a4:7b:12:59:ff:3d:
|
||||
bd:5e:13:3b:c6:c7:8a:00:5b:cb:27:18:02:ee:cb:38:c2:b7:
|
||||
a9:51:04:ef:31:ca:49:09:48:14:13:eb:91:e2:26:8c:88:5f:
|
||||
1c:78:e1:0d:90:29:d7:c1:fc:c8:89:fd:4d:53:0b:99:58:c2:
|
||||
1a:24:3d:c0:a2:4c:a3:d9:c7:95:c5:bc:72:fa:02:f1:ab:dd:
|
||||
aa:2b:9e:a0:bb:1a:68:2d:09:8c:a2:99:0d:26:ec:9e:30:19:
|
||||
01:5a:41:45:63:b3:c5:db:24:32:4c:fe:7f:f3:ce:e9:4d:00:
|
||||
64:cf:bb:15:34:2d:31:6e:4f:c0:96:40:9b:32:35:65:92:01:
|
||||
29:7e:74:02:50:fd:3b:3b:3a:a3:9f:6a:c0:a5:be:3f:c3:07:
|
||||
d6:8c:2a:c6:f4:0f:32:bd:3b:fc:45:90:d2:46:ee:6f:c3:2f:
|
||||
26:8c:97:0c:e8:da:9a:97:03:0b:86:17:45:a6:62:69:4e:8d:
|
||||
cf:f8:bf:ea:2f:dc:ff:95:14:15:bd:92:2d:8a:08:cf:ce:8a:
|
||||
b0:f6:34:0a:a2:0e:49:31:44:e1:47:fb:37:52:53:59:93:25:
|
||||
40:cc:ac:67:2d:a2:b6:9b:75:fd:13:a5:a7:93:4f:72:05:75:
|
||||
cd:b1:37:f6:3b:69:3b:24:a1:1f:23:f0:cd:bb:ae:18:b3:aa:
|
||||
eb:9f:d7:97:06:ba:fd:44
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIExjCCAq6gAwIBAgIBATANBgkqhkiG9w0BAQsFADBzMQswCQYDVQQGEwJVUzER
|
||||
MA8GA1UECAwITmV3IFlvcmsxETAPBgNVBAcMCE5ldyBZb3JrMRAwDgYDVQQKDAdB
|
||||
Q01FIENBMQ8wDQYDVQQLDAZDb3lvdGUxGzAZBgNVBAMMEm91cmNhLmRvbWFpbi5s
|
||||
b2NhbDAeFw0xNjA2MzAxNjQ2MDlaFw0zNjA2MjUxNjQ2MDlaMF0xCzAJBgNVBAYT
|
||||
AlVTMREwDwYDVQQIDAhOZXcgWW9yazENMAsGA1UECgwEQUNNRTEPMA0GA1UECwwG
|
||||
Q295b3RlMRswGQYDVQQDDBJjZXJ0MS5kb21haW4ubG9jYWwwggEiMA0GCSqGSIb3
|
||||
DQEBAQUAA4IBDwAwggEKAoIBAQDWD70m7xRNCfbbiwH1TmwDsTUgFrgbfOa2jZcb
|
||||
sE+KtstUfnr//a8C27+dz5pMDYeTi8xh8yOpb47UgiyTtuL6N+2K0yOPbbV4Sji6
|
||||
k/lKHEAGM9fAmCDUFqykpWtBIEw6VX7HUOeVB06GFYZ6D2xX0gcclyRRW071Ujr4
|
||||
T5VrbIMfNE7usK7+RpA48U2FcotGvNFiN2Va3rsWUR71y6Dv1nsRbzsMSRe8TYz1
|
||||
2fA1a/e2TVDrR4HjBvK97GdPqysDquIeQiKpyVncDRn7xQId11jkBFMKHXm7wTPx
|
||||
zbcQLrRum9xgZgVQnyBmoXEAUVTPCnD0fEXG8KccES8+ox+/AgMBAAGjezB5MAkG
|
||||
A1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRp
|
||||
ZmljYXRlMB0GA1UdDgQWBBQt+yfHtDL/94fbLad2rvCWftrcFzAfBgNVHSMEGDAW
|
||||
gBRPKhVJ5swFLyv0Dsy6LkzfE5DweDANBgkqhkiG9w0BAQsFAAOCAgEAP0YcO1i0
|
||||
mfN1AEfS/rq6mgRGYrYtoA+PwJUqWIth9RSQMCY3lKGmKSDJtQjX+RXLnZwZ7S+k
|
||||
5pFIhRr3qxdeeSNpuDwMSK7IupDQBfszfob9EvgtD/8WFZrcdkh9ZVtOkxTovjfR
|
||||
E/ensc2trk/hcrlTLc3mQnZEkyEoWMBEqzzaW+VVqwSGTZxMM/ROE5jpD9GjcCsd
|
||||
ESBHJvbYRX+IrfLBgQ++zWx5gJQw643M832hPmxv+o/zHy52lz+KG2c74PmxPGvc
|
||||
ZBsAc+mJgfZ/UfNRyLmWX/1V+HdviLxls+IwpAB6eWjgNoupGwabIP7+mKpWWMgI
|
||||
pHsSWf89vV4TO8bHigBbyycYAu7LOMK3qVEE7zHKSQlIFBPrkeImjIhfHHjhDZAp
|
||||
18H8yIn9TVMLmVjCGiQ9wKJMo9nHlcW8cvoC8avdqiueoLsaaC0JjKKZDSbsnjAZ
|
||||
AVpBRWOzxdskMkz+f/PO6U0AZM+7FTQtMW5PwJZAmzI1ZZIBKX50AlD9Ozs6o59q
|
||||
wKW+P8MH1owqxvQPMr07/EWQ0kbub8MvJoyXDOjampcDC4YXRaZiaU6Nz/i/6i/c
|
||||
/5UUFb2SLYoIz86KsPY0CqIOSTFE4Uf7N1JTWZMlQMysZy2itpt1/ROlp5NPcgV1
|
||||
zbE39jtpOyShHyPwzbuuGLOq65/Xlwa6/UQ=
|
||||
-----END CERTIFICATE-----
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEpQIBAAKCAQEA1g+9Ju8UTQn224sB9U5sA7E1IBa4G3zmto2XG7BPirbLVH56
|
||||
//2vAtu/nc+aTA2Hk4vMYfMjqW+O1IIsk7bi+jftitMjj221eEo4upP5ShxABjPX
|
||||
wJgg1BaspKVrQSBMOlV+x1DnlQdOhhWGeg9sV9IHHJckUVtO9VI6+E+Va2yDHzRO
|
||||
7rCu/kaQOPFNhXKLRrzRYjdlWt67FlEe9cug79Z7EW87DEkXvE2M9dnwNWv3tk1Q
|
||||
60eB4wbyvexnT6srA6riHkIiqclZ3A0Z+8UCHddY5ARTCh15u8Ez8c23EC60bpvc
|
||||
YGYFUJ8gZqFxAFFUzwpw9HxFxvCnHBEvPqMfvwIDAQABAoIBAQCjQ7PP+y8vpvbp
|
||||
8bbXoy2ND15mkA1xoazR9WIYEzxHny2rzx//GTyfYH1gXtPfR75tEYYb+vbrJxP4
|
||||
DyTysN2jXH7HkEwh+9oZ2fo0i+Hp3WwTjvzyftUjDfw1Q5lvPbQGFekxGgrXRpBk
|
||||
ggxkEllfDeiwrLJdftfVEhe6BfD/0YibwQeHN7VoC4V8wOanKtDmx74W/1f7WhwQ
|
||||
nKQnCrbYqNJa2nGvWiKU5Suvfb0v7tCnQYlfnCpUfj+wcnxlgmGkcyq1L+qC1qC8
|
||||
PO5i3T3LM5Yg8CSeGhO/q6gw/fUowuBN1cluTqN97oLHiEM5tLdjeVWwa1Vp0liv
|
||||
1WXGT4eBAoGBAPtumMmyVTIorvV6KGNI/Eo6jfE0HOXVdXtm4iToDDuiYwto7/Ge
|
||||
/kV+11Fpu0lV+eYPfZn175Of8FnQPwczQF1OOH/aQ/ViY8j87bZUbCy25mWrfNkh
|
||||
2rRlyI3/OsSfL5SkyWpYB0yhSJZV9mSQJTZolB4GQRNPKtqi7NpB4WxBAoGBANnz
|
||||
VS4JBJO75yeSG5BzPp5VVKm+nu0Betlva8GsHdEic8OM9bGpVozGysAW3Xdxp7q6
|
||||
gLJGyyuzpsxldCc/IdIlF5fz7gkLl4NoYanz9PSEr2XZLh9+2yXGkPFlC3IeHAUB
|
||||
E+2UO9MFpWrmfKoAnYZCR6vJDxtQBpAlTUvJEYv/AoGBAPha62K32327P+7MJl7D
|
||||
9ijgI9rwjebcbbpiCtlHuOWi5lCb6/7v/NvqiYcqeEvdOAXuoTNWAbsBTel5UPis
|
||||
wFQp8pcfouccs9IRPEFQrLWSSIx+0sirrxtoOq1AQe18DAS4rRd1MmiYG1ocOVBm
|
||||
LcvLixsJNHh9R6hFLM3+K0vBAoGANkmJ+gF9Bl9TYGPgQcay3jVa9Tzp0RcBRo+e
|
||||
Q4tfkewG8bp2qF4JlN8fOWF4oHvKz5QM4lsH2EbTUS4kFHKBNhrPGaZEsDQW9UBW
|
||||
s0J0zUMPfUrvViD+7RXcnIQSqcYeLJDsKc02aYWKgmoOuzmUAxEXUQ6vmJoCSH1C
|
||||
F5JpsHkCgYEArwTSzb1+/ThQhK1JN8hJ4jMjQ8E7PzLTMILrdDALn2g1T4VzL7N7
|
||||
UG6oUieMlo/UH6cv6330dwaGVklXZbyDKSDROIafFcOpVfcvDUgJCjp3CaY9A2zG
|
||||
+EPkRpeHKXAIgG+QuOwVOtYWcWltnBf61slTqiY2vKX1+ZGmrMrw1Zw=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
when RULE_INIT {
|
||||
set static::FormBaseURL "/sp-ofba-form"
|
||||
set static::FormReturnURL "/sp-ofba-completed"
|
||||
set static::HeadAuthReq "X-FORMS_BASED_AUTH_REQUIRED"
|
||||
set static::HeadAuthRet "X-FORMS_BASED_AUTH_RETURN_URL"
|
||||
set static::HeadAuthSize "X-FORMS_BASED_AUTH_DIALOG_SIZE"
|
||||
set static::HeadAuthSizeVal "800x600"
|
||||
set static::ckname "MRHSession_SP"
|
||||
set static::Basic_Realm_Text "SharePoint Authentication"
|
||||
}
|
||||
|
||||
when HTTP_REQUEST {
|
||||
set apmsessionid [HTTP::cookie value MRHSession]
|
||||
}
|
||||
|
||||
when HTTP_RESPONSE {
|
||||
# Insert persistent cookie for html content type and private session
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
network 10.0.0.0 prefixlen 8 := "Network1",
|
||||
network 172.16.0.0 prefixlen 12 := "Network2",
|
||||
network 192.168.0.0 prefixlen 16 := "Network3",
|
||||
host 192.168.20.1 := "Host1",
|
||||
host 172.16.1.1 := "Host2",
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
1 := alpha
|
||||
2 := bravo
|
||||
3 := charlie
|
||||
4 := x-ray
|
||||
5 := yankee
|
||||
6 := zulu
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
a := alpha
|
||||
b := bravo
|
||||
c := charlie
|
||||
x := x-ray
|
||||
y := yankee
|
||||
z := zulu
|
||||
Binary file not shown.
12174
tests/unit/plugins/modules/network/f5/fixtures/fake_policy.xml
Normal file
12174
tests/unit/plugins/modules/network/f5/fixtures/fake_policy.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"kind": "tm:security:log:profile:network:networkstate",
|
||||
"name": "global-network",
|
||||
"fullPath": "global-network",
|
||||
"generation": 839,
|
||||
"selfLink": "https://localhost/mgmt/tm/security/log/profile/~Common~global-network/network/global-network?ver=12.1.4",
|
||||
"filter": {
|
||||
"logAclMatchAccept": "disabled",
|
||||
"logAclMatchDrop": "disabled",
|
||||
"logAclMatchReject": "disabled",
|
||||
"logAclToBoxDeny": "disabled",
|
||||
"logGeoAlways": "disabled",
|
||||
"logIpErrors": "disabled",
|
||||
"logTcpErrors": "disabled",
|
||||
"logTcpEvents": "disabled",
|
||||
"logTranslationFields": "disabled"
|
||||
},
|
||||
"format": {
|
||||
"fieldListDelimiter": ",",
|
||||
"type": "none"
|
||||
},
|
||||
"rateLimit": {
|
||||
"aclMatchAccept": 4294967295,
|
||||
"aclMatchDrop": 4294967295,
|
||||
"aclMatchReject": 4294967295,
|
||||
"aggregateRate": 4294967295,
|
||||
"ipErrors": 4294967295,
|
||||
"tcpErrors": 4294967295,
|
||||
"tcpEvents": 4294967295
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
"kind": "tm:security:log:profile:profilestate",
|
||||
"name": "global-network",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/global-network",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/security/log/profile/~Common~global-network?ver=12.1.4",
|
||||
"description": "Default logging profile for network events",
|
||||
"ipIntelligence": {
|
||||
"aggregateRate": 4294967295,
|
||||
"logRtbh": "disabled",
|
||||
"logShun": "disabled",
|
||||
"logTranslationFields": "disabled"
|
||||
},
|
||||
"nat": {
|
||||
"endInboundSession": "disabled",
|
||||
"endOutboundSession": {
|
||||
"action": "disabled"
|
||||
},
|
||||
"errors": "disabled",
|
||||
"lsnLegacyMode": "disabled",
|
||||
"quotaExceeded": "disabled",
|
||||
"startInboundSession": "disabled",
|
||||
"startOutboundSession": {
|
||||
"action": "disabled"
|
||||
}
|
||||
},
|
||||
"portMisuse": {
|
||||
"aggregateRate": 4294967295
|
||||
},
|
||||
"trafficStatistics": {
|
||||
"activeFlows": "disabled",
|
||||
"missedFlows": "disabled",
|
||||
"reapedFlows": "disabled",
|
||||
"syncookies": "disabled",
|
||||
"syncookiesWhitelist": "disabled"
|
||||
},
|
||||
"networkReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/log/profile/~Common~global-network/network?ver=12.1.4",
|
||||
"isSubcollection": true
|
||||
},
|
||||
"protocolDnsReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/log/profile/~Common~global-network/protocol-dns?ver=12.1.4",
|
||||
"isSubcollection": true
|
||||
},
|
||||
"protocolSipReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/log/profile/~Common~global-network/protocol-sip?ver=12.1.4",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "tm:security:firewall:schedule:schedulestate",
|
||||
"name": "foobar",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foobar",
|
||||
"generation": 1835,
|
||||
"selfLink": "https://localhost/mgmt/tm/security/firewall/schedule/~Common~foobar?ver=12.1.4",
|
||||
"dailyHourEnd": "12:00",
|
||||
"dailyHourStart": "6:00",
|
||||
"dateValidEnd": "2019-06-13T16:00:00Z",
|
||||
"dateValidStart": "2019-05-31T07:00:00Z",
|
||||
"daysOfWeek": [
|
||||
"sunday",
|
||||
"monday",
|
||||
"friday",
|
||||
"saturday"
|
||||
],
|
||||
"description": "some description"
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"kind": "tm:apm:acl:aclstate",
|
||||
"name": "lastone",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/lastone",
|
||||
"generation": 495,
|
||||
"selfLink": "https://localhost/mgmt/tm/apm/acl/~Common~lastone?ver=12.1.4",
|
||||
"aclOrder": 2,
|
||||
"description": "foobar",
|
||||
"locationSpecific": "true",
|
||||
"pathMatchCase": "false",
|
||||
"type": "static",
|
||||
"entries": [
|
||||
{
|
||||
"action": "discard",
|
||||
"dstEndPort": 0,
|
||||
"dstStartPort": 0,
|
||||
"dstSubnet": "0.0.0.0/0",
|
||||
"log": "none",
|
||||
"protocol": 1,
|
||||
"scheme": "any",
|
||||
"srcEndPort": 0,
|
||||
"srcStartPort": 0,
|
||||
"srcSubnet": "0.0.0.0/0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"kind": "tm:apm:resource:network-access:network-accessstate",
|
||||
"name": "test",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/test",
|
||||
"generation": 1140,
|
||||
"selfLink": "https://localhost/mgmt/tm/apm/resource/network-access/~Common~test?ver=12.1.4",
|
||||
"addressSpaceDhcpRequestsExcluded": "true",
|
||||
"addressSpaceExcludeDnsName": [
|
||||
"baz.com",
|
||||
"bazfoo.com"
|
||||
],
|
||||
"addressSpaceIncludeDnsName": [
|
||||
"foo.com",
|
||||
"bar.com"
|
||||
],
|
||||
"addressSpaceLocDnsServersExcluded": "true",
|
||||
"addressSpaceLocalSubnetsExcluded": "true",
|
||||
"addressSpaceProtect": "false",
|
||||
"applicationLaunchWarning": "true",
|
||||
"autoLaunch": "false",
|
||||
"clientInterfaceSpeed": 100000000,
|
||||
"clientIpFilterEngine": "false",
|
||||
"clientPowerManagement": "ignore",
|
||||
"clientProxy": "false",
|
||||
"clientProxyAddress": "any6",
|
||||
"clientProxyEnforceSubnets": "true",
|
||||
"clientProxyIgnoreAutoConfigError": "false",
|
||||
"clientProxyLocalBypass": "false",
|
||||
"clientProxyPort": 0,
|
||||
"clientProxyUseHttpPac": "false",
|
||||
"clientProxyUseLocalProxy": "false",
|
||||
"clientTrayIcon": "true",
|
||||
"compression": "none",
|
||||
"customizationGroup": "/Common/test_resource_network_access_customization",
|
||||
"customizationGroupReference": {
|
||||
"link": "https://localhost/mgmt/tm/apm/policy/customization-group/~Common~test_resource_network_access_customization?ver=12.1.4"
|
||||
},
|
||||
"dnsEnforceSearchOrder": "true",
|
||||
"dnsPrimary": "any6",
|
||||
"dnsRegisterConnection": "false",
|
||||
"dnsSecondary": "any6",
|
||||
"dnsUseDnsSuffixForRegistration": "false",
|
||||
"dtls": "false",
|
||||
"dtlsPort": 4433,
|
||||
"executeLogoffScripts": "false",
|
||||
"idleTimeoutThreshold": 0,
|
||||
"idleTimeoutWindow": 0,
|
||||
"ipv6DnsPrimary": "any6",
|
||||
"ipv6DnsSecondary": "any6",
|
||||
"ipv6LeasepoolName": "/Common/ipv6lease",
|
||||
"ipv6LeasepoolNameReference": {
|
||||
"link": "https://localhost/mgmt/tm/apm/resource/ipv6-leasepool/~Common~ipv6lease?ver=12.1.4"
|
||||
},
|
||||
"leasepoolName": "/Common/ipv4lease",
|
||||
"leasepoolNameReference": {
|
||||
"link": "https://localhost/mgmt/tm/apm/resource/leasepool/~Common~ipv4lease?ver=12.1.4"
|
||||
},
|
||||
"locationSpecific": "true",
|
||||
"microsoftNetworkClient": "true",
|
||||
"microsoftNetworkServer": "false",
|
||||
"networkTunnel": "enabled",
|
||||
"preserveSourcePortStrict": "none",
|
||||
"provideClientCert": "true",
|
||||
"proxyArp": "false",
|
||||
"snat": "automap",
|
||||
"splitTunneling": "true",
|
||||
"supportedIpVersion": "ipv4-ipv6",
|
||||
"syncWithActiveDirectory": "false",
|
||||
"type": "network-access",
|
||||
"winsPrimary": "any6",
|
||||
"winsSecondary": "any6",
|
||||
"addressSpaceExcludeSubnet": [
|
||||
{
|
||||
"subnet": "192.168.1.0/24"
|
||||
},
|
||||
{
|
||||
"subnet": "192.168.2.1/32"
|
||||
}
|
||||
],
|
||||
"addressSpaceIncludeSubnet": [
|
||||
{
|
||||
"subnet": "10.10.10.1/32"
|
||||
},
|
||||
{
|
||||
"subnet": "10.11.11.0/24"
|
||||
}
|
||||
],
|
||||
"ipv6AddressSpaceIncludeSubnet": [
|
||||
{
|
||||
"subnet": "2607:f0d0:1002:51::4/128"
|
||||
}
|
||||
],
|
||||
"optimizedAppReference": {
|
||||
"link": "https://localhost/mgmt/tm/apm/resource/network-access/~Common~test/optimized-app?ver=12.1.4",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
276
tests/unit/plugins/modules/network/f5/fixtures/load_asm_dos.json
Normal file
276
tests/unit/plugins/modules/network/f5/fixtures/load_asm_dos.json
Normal file
|
|
@ -0,0 +1,276 @@
|
|||
{
|
||||
"kind": "tm:security:dos:profile:application:applicationstate",
|
||||
"name": "test",
|
||||
"fullPath": "test",
|
||||
"generation": 1442,
|
||||
"selfLink": "https://localhost/mgmt/tm/security/dos/profile/~Common~test/application/test?ver=13.1.1.4",
|
||||
"botDefense": {
|
||||
"browserLegitCaptcha": "enabled",
|
||||
"browserLegitEnabled": "enabled",
|
||||
"crossDomainRequests": "allow-all",
|
||||
"gracePeriod": 300,
|
||||
"mode": "disabled"
|
||||
},
|
||||
"botSignatures": {
|
||||
"check": "disabled",
|
||||
"categories": [
|
||||
{
|
||||
"name": "DOS Tool",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~DOS%20Tool?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "E-Mail Collector",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~E-Mail%20Collector?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Exploit Tool",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Exploit%20Tool?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Network Scanner",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Network%20Scanner?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Search Engine",
|
||||
"partition": "Common",
|
||||
"action": "report",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Search%20Engine?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Spam Bot",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Spam%20Bot?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Spyware",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Spyware?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Vulnerability Scanner",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Vulnerability%20Scanner?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Web Spider",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Web%20Spider?ver=13.1.1.4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Webserver Stress Tool",
|
||||
"partition": "Common",
|
||||
"action": "block",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/dos/bot-signature-category/~Common~Webserver%20Stress%20Tool?ver=13.1.1.4"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"captchaResponse": {
|
||||
"failure": {
|
||||
"body": "You have entered an invalid answer for the question. Please, try again.\n<br>\n%DOSL7.captcha.image% %DOSL7.captcha.change%\n<br>\n<b>What code is in the image\\?</b>\n%DOSL7.captcha.solution%\n<br>\n%DOSL7.captcha.submit%\n<br>\n<br>\nYour support ID is: %DOSL7.captcha.support_id%.",
|
||||
"type": "default"
|
||||
},
|
||||
"first": {
|
||||
"body": "This question is for testing whether you are a human visitor and to prevent automated spam submission.\n<br>\n%DOSL7.captcha.image% %DOSL7.captcha.change%\n<br>\n<b>What code is in the image\\?</b>\n%DOSL7.captcha.solution%\n<br>\n%DOSL7.captcha.submit%\n<br>\n<br>\nYour support ID is: %DOSL7.captcha.support_id%.",
|
||||
"type": "default"
|
||||
}
|
||||
},
|
||||
"heavyUrls": {
|
||||
"automaticDetection": "enabled",
|
||||
"exclude": [
|
||||
"/exclude.html"
|
||||
],
|
||||
"latencyThreshold": 1000,
|
||||
"protection": "disabled",
|
||||
"includeList": [
|
||||
{
|
||||
"name": "URL/test.htm",
|
||||
"threshold": "auto",
|
||||
"url": "/test.htm"
|
||||
},
|
||||
{
|
||||
"name": "URL/testy.htm",
|
||||
"threshold": "auto",
|
||||
"url": "/testy.htm"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mobileDetection": {
|
||||
"allowAndroidRootedDevice": "false",
|
||||
"allowAnyAndroidPackage": "false",
|
||||
"allowAnyIosPackage": "false",
|
||||
"allowEmulators": "true",
|
||||
"allowJailbrokenDevices": "true",
|
||||
"clientSideChallengeMode": "pass",
|
||||
"enabled": "disabled",
|
||||
"iosAllowedPackageNames": [
|
||||
"foobarapp"
|
||||
],
|
||||
"androidPublishers": [
|
||||
{
|
||||
"name": "ca-bundle.crt",
|
||||
"partition": "Common",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~ca-bundle.crt?ver=13.1.1.4"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"rtbhDurationSec": 300,
|
||||
"rtbhEnable": "enabled",
|
||||
"scrubbingDurationSec": 60,
|
||||
"scrubbingEnable": "enabled",
|
||||
"singlePageApplication": "enabled",
|
||||
"stressBased": {
|
||||
"behavioral": {
|
||||
"dosDetection": "disabled",
|
||||
"mitigationMode": "none",
|
||||
"signatures": "disabled",
|
||||
"signaturesApprovedOnly": "disabled"
|
||||
},
|
||||
"deEscalationPeriod": 7200,
|
||||
"deviceCaptchaChallenge": "disabled",
|
||||
"deviceClientSideDefense": "disabled",
|
||||
"deviceMaximumAutoTps": 5000,
|
||||
"deviceMaximumTps": 200,
|
||||
"deviceMinimumAutoTps": 5,
|
||||
"deviceMinimumTps": 40,
|
||||
"deviceRateLimiting": "disabled",
|
||||
"deviceRequestBlockingMode": "rate-limit",
|
||||
"deviceTpsIncreaseRate": 500,
|
||||
"escalationPeriod": 120,
|
||||
"geoCaptchaChallenge": "disabled",
|
||||
"geoClientSideDefense": "disabled",
|
||||
"geoMaximumAutoTps": 20000,
|
||||
"geoMinimumAutoTps": 50,
|
||||
"geoMinimumShare": 10,
|
||||
"geoRateLimiting": "disabled",
|
||||
"geoRequestBlockingMode": "rate-limit",
|
||||
"geoShareIncreaseRate": 500,
|
||||
"ipCaptchaChallenge": "disabled",
|
||||
"ipClientSideDefense": "disabled",
|
||||
"ipMaximumAutoTps": 5000,
|
||||
"ipMaximumTps": 200,
|
||||
"ipMinimumAutoTps": 5,
|
||||
"ipMinimumTps": 40,
|
||||
"ipRateLimiting": "enabled",
|
||||
"ipRequestBlockingMode": "rate-limit",
|
||||
"ipTpsIncreaseRate": 500,
|
||||
"mode": "off",
|
||||
"siteCaptchaChallenge": "disabled",
|
||||
"siteClientSideDefense": "disabled",
|
||||
"siteMaximumAutoTps": 20000,
|
||||
"siteMaximumTps": 10000,
|
||||
"siteMinimumAutoTps": 50,
|
||||
"siteMinimumTps": 2000,
|
||||
"siteRateLimiting": "disabled",
|
||||
"siteTpsIncreaseRate": 500,
|
||||
"thresholdsMode": "manual",
|
||||
"urlCaptchaChallenge": "disabled",
|
||||
"urlClientSideDefense": "disabled",
|
||||
"urlEnableHeavy": "enabled",
|
||||
"urlMaximumAutoTps": 5000,
|
||||
"urlMaximumTps": 1000,
|
||||
"urlMinimumAutoTps": 50,
|
||||
"urlMinimumTps": 200,
|
||||
"urlRateLimiting": "enabled",
|
||||
"urlTpsIncreaseRate": 500
|
||||
},
|
||||
"tcpDump": {
|
||||
"maximumDuration": 30,
|
||||
"maximumSize": 10,
|
||||
"recordTraffic": "disabled",
|
||||
"repetitionInterval": "120"
|
||||
},
|
||||
"tpsBased": {
|
||||
"deEscalationPeriod": 7200,
|
||||
"deviceCaptchaChallenge": "disabled",
|
||||
"deviceClientSideDefense": "disabled",
|
||||
"deviceMaximumAutoTps": 5000,
|
||||
"deviceMaximumTps": 200,
|
||||
"deviceMinimumAutoTps": 5,
|
||||
"deviceMinimumTps": 40,
|
||||
"deviceRateLimiting": "disabled",
|
||||
"deviceRequestBlockingMode": "rate-limit",
|
||||
"deviceTpsIncreaseRate": 500,
|
||||
"escalationPeriod": 120,
|
||||
"geoCaptchaChallenge": "disabled",
|
||||
"geoClientSideDefense": "disabled",
|
||||
"geoMaximumAutoTps": 20000,
|
||||
"geoMinimumAutoTps": 50,
|
||||
"geoMinimumShare": 10,
|
||||
"geoRateLimiting": "disabled",
|
||||
"geoRequestBlockingMode": "rate-limit",
|
||||
"geoShareIncreaseRate": 500,
|
||||
"ipCaptchaChallenge": "disabled",
|
||||
"ipClientSideDefense": "disabled",
|
||||
"ipMaximumAutoTps": 5000,
|
||||
"ipMaximumTps": 200,
|
||||
"ipMinimumAutoTps": 5,
|
||||
"ipMinimumTps": 40,
|
||||
"ipRateLimiting": "enabled",
|
||||
"ipRequestBlockingMode": "rate-limit",
|
||||
"ipTpsIncreaseRate": 500,
|
||||
"mode": "off",
|
||||
"siteCaptchaChallenge": "disabled",
|
||||
"siteClientSideDefense": "disabled",
|
||||
"siteMaximumAutoTps": 20000,
|
||||
"siteMaximumTps": 10000,
|
||||
"siteMinimumAutoTps": 50,
|
||||
"siteMinimumTps": 2000,
|
||||
"siteRateLimiting": "disabled",
|
||||
"siteTpsIncreaseRate": 500,
|
||||
"thresholdsMode": "manual",
|
||||
"urlCaptchaChallenge": "disabled",
|
||||
"urlClientSideDefense": "disabled",
|
||||
"urlEnableHeavy": "enabled",
|
||||
"urlMaximumAutoTps": 5000,
|
||||
"urlMaximumTps": 1000,
|
||||
"urlMinimumAutoTps": 50,
|
||||
"urlMinimumTps": 200,
|
||||
"urlRateLimiting": "enabled",
|
||||
"urlTpsIncreaseRate": 500
|
||||
},
|
||||
"triggerIrule": "enabled",
|
||||
"geolocations": [
|
||||
{
|
||||
"name": "Afghanistan",
|
||||
"blackListed": true
|
||||
},
|
||||
{
|
||||
"name": "Aland Islands",
|
||||
"whiteListed": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,197 @@
|
|||
{
|
||||
"plainTextProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/plain-text-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"learningMode": "manual",
|
||||
"dataGuardReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/data-guard?ver=12.1.2"
|
||||
},
|
||||
"stagingSettings": {
|
||||
"signatureStaging": true,
|
||||
"placeSignaturesInStaging": false,
|
||||
"enforcementReadinessPeriod": 7
|
||||
},
|
||||
"createdDatetime": "2017-09-21T11:52:24Z",
|
||||
"geolocationEnforcementReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/geolocation-enforcement?ver=12.1.2"
|
||||
},
|
||||
"versionLastChange": "Allowed Response Code 503 [add]: Response Code was set to 503.",
|
||||
"name": "fake_policy",
|
||||
"caseInsensitive": false,
|
||||
"loginPageReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/login-pages?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"fullPath": "/Common/fake_policy",
|
||||
"description": "",
|
||||
"attributes": {
|
||||
"pathParameterHandling": "as-parameters",
|
||||
"triggerAsmIruleEvent": "disabled",
|
||||
"inspectHttpUploads": false,
|
||||
"maskCreditCardNumbersInRequest": true,
|
||||
"maximumHttpHeaderLength": "8192",
|
||||
"useDynamicSessionIdInUrl": false,
|
||||
"maximumCookieHeaderLength": "8192"
|
||||
},
|
||||
"partition": "Common",
|
||||
"webScrapingReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/web-scraping?ver=12.1.2"
|
||||
},
|
||||
"csrfProtectionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/csrf-protection?ver=12.1.2"
|
||||
},
|
||||
"customXffHeaders": [],
|
||||
"kind": "tm:asm:policies:policystate",
|
||||
"virtualServers": [],
|
||||
"ipIntelligenceReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/ip-intelligence?ver=12.1.2"
|
||||
},
|
||||
"protocolIndependent": false,
|
||||
"sessionAwarenessSettingsReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/session-tracking?ver=12.1.2"
|
||||
},
|
||||
"signatureSetReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/signature-sets?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"parameterReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/parameters?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"allowedResponseCodes": [
|
||||
400,
|
||||
401,
|
||||
404,
|
||||
407,
|
||||
417,
|
||||
503
|
||||
],
|
||||
"applicationLanguage": "utf-8",
|
||||
"enforcementMode": "transparent",
|
||||
"loginEnforcementReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/login-enforcement?ver=12.1.2"
|
||||
},
|
||||
"navigationParameterReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/navigation-parameters?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"gwtProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/gwt-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"whitelistIpReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/whitelist-ips?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"historyRevisionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/history-revisions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"policyBuilderReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/policy-builder?ver=12.1.2"
|
||||
},
|
||||
"responsePageReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/response-pages?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"vulnerabilityAssessmentReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/vulnerability-assessment?ver=12.1.2"
|
||||
},
|
||||
"blockingSettingReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/blocking-settings?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"cookieReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/cookies?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"hostNameReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/host-names?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"versionDeviceName": "ltm4restlab.lab.local",
|
||||
"selfLink": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw?ver=12.1.2",
|
||||
"signatureReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/signatures?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"filetypeReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/filetypes?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"id": "0EHlYeS5noAOZLY3YsJjEw",
|
||||
"manualVirtualServers": [],
|
||||
"modifierName": "admin",
|
||||
"versionDatetime": "2017-04-11T08:05:22Z",
|
||||
"subPath": "/Common",
|
||||
"sessionTrackingStatusReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/session-tracking-statuses?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"active": true,
|
||||
"auditLogReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/audit-logs?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"trustXff": false,
|
||||
"websocketUrlReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/websocket-urls?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"xmlProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/xml-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"methodReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/methods?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"redirectionProtectionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/redirection-protection?ver=12.1.2"
|
||||
},
|
||||
"vulnerabilityReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/vulnerabilities?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"creatorName": "SYSTEM",
|
||||
"urlReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/urls?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"headerReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/headers?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"xmlValidationFileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/xml-validation-files?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"lastUpdateMicros": 1.506250903e+15,
|
||||
"jsonProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/json-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"bruteForceAttackPreventionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/brute-force-attack-preventions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"extractionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/extractions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"characterSetReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/character-sets?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"isModified": false,
|
||||
"suggestionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/suggestions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"sensitiveParameterReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/sensitive-parameters?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"versionPolicyName": "/Common/fake_policy"
|
||||
}
|
||||
|
|
@ -0,0 +1,197 @@
|
|||
{
|
||||
"plainTextProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/plain-text-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"learningMode": "manual",
|
||||
"dataGuardReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/data-guard?ver=12.1.2"
|
||||
},
|
||||
"stagingSettings": {
|
||||
"signatureStaging": true,
|
||||
"placeSignaturesInStaging": false,
|
||||
"enforcementReadinessPeriod": 7
|
||||
},
|
||||
"createdDatetime": "2017-09-21T11:52:24Z",
|
||||
"geolocationEnforcementReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/geolocation-enforcement?ver=12.1.2"
|
||||
},
|
||||
"versionLastChange": "Allowed Response Code 503 [add]: Response Code was set to 503.",
|
||||
"name": "fake_policy",
|
||||
"caseInsensitive": false,
|
||||
"loginPageReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/login-pages?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"fullPath": "/Common/fake_policy",
|
||||
"description": "",
|
||||
"attributes": {
|
||||
"pathParameterHandling": "as-parameters",
|
||||
"triggerAsmIruleEvent": "disabled",
|
||||
"inspectHttpUploads": false,
|
||||
"maskCreditCardNumbersInRequest": true,
|
||||
"maximumHttpHeaderLength": "8192",
|
||||
"useDynamicSessionIdInUrl": false,
|
||||
"maximumCookieHeaderLength": "8192"
|
||||
},
|
||||
"partition": "Common",
|
||||
"webScrapingReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/web-scraping?ver=12.1.2"
|
||||
},
|
||||
"csrfProtectionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/csrf-protection?ver=12.1.2"
|
||||
},
|
||||
"customXffHeaders": [],
|
||||
"kind": "tm:asm:policies:policystate",
|
||||
"virtualServers": [],
|
||||
"ipIntelligenceReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/ip-intelligence?ver=12.1.2"
|
||||
},
|
||||
"protocolIndependent": false,
|
||||
"sessionAwarenessSettingsReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/session-tracking?ver=12.1.2"
|
||||
},
|
||||
"signatureSetReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/signature-sets?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"parameterReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/parameters?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"allowedResponseCodes": [
|
||||
400,
|
||||
401,
|
||||
404,
|
||||
407,
|
||||
417,
|
||||
503
|
||||
],
|
||||
"applicationLanguage": "utf-8",
|
||||
"enforcementMode": "transparent",
|
||||
"loginEnforcementReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/login-enforcement?ver=12.1.2"
|
||||
},
|
||||
"navigationParameterReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/navigation-parameters?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"gwtProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/gwt-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"whitelistIpReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/whitelist-ips?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"historyRevisionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/history-revisions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"policyBuilderReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/policy-builder?ver=12.1.2"
|
||||
},
|
||||
"responsePageReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/response-pages?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"vulnerabilityAssessmentReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/vulnerability-assessment?ver=12.1.2"
|
||||
},
|
||||
"blockingSettingReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/blocking-settings?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"cookieReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/cookies?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"hostNameReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/host-names?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"versionDeviceName": "ltm4restlab.lab.local",
|
||||
"selfLink": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw?ver=12.1.2",
|
||||
"signatureReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/signatures?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"filetypeReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/filetypes?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"id": "0EHlYeS5noAOZLY3YsJjEw",
|
||||
"manualVirtualServers": [],
|
||||
"modifierName": "",
|
||||
"versionDatetime": "2017-04-11T08:05:22Z",
|
||||
"subPath": "/Common",
|
||||
"sessionTrackingStatusReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/session-tracking-statuses?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"active": false,
|
||||
"auditLogReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/audit-logs?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"trustXff": false,
|
||||
"websocketUrlReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/websocket-urls?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"xmlProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/xml-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"methodReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/methods?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"redirectionProtectionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/redirection-protection?ver=12.1.2"
|
||||
},
|
||||
"vulnerabilityReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/vulnerabilities?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"creatorName": "SYSTEM",
|
||||
"urlReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/urls?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"headerReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/headers?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"xmlValidationFileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/xml-validation-files?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"lastUpdateMicros": 0,
|
||||
"jsonProfileReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/json-profiles?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"bruteForceAttackPreventionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/brute-force-attack-preventions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"extractionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/extractions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"characterSetReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/character-sets?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"isModified": false,
|
||||
"suggestionReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/suggestions?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"sensitiveParameterReference": {
|
||||
"link": "https://localhost/mgmt/tm/asm/policies/0EHlYeS5noAOZLY3YsJjEw/sensitive-parameters?ver=12.1.2",
|
||||
"isSubCollection": true
|
||||
},
|
||||
"versionPolicyName": "/Common/fake_policy"
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"kind": "tm:auth:remote-role:role-info:role-infostate",
|
||||
"name": "/Common/ldap_group",
|
||||
"fullPath": "/Common/ldap_group",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/auth/remote-role/role-info/~Common~ldap_group?ver=13.1.0.7",
|
||||
"attribute": "memberOf=cn=ldap_group,cn=ldap.group,ou=ldap",
|
||||
"console": "disable",
|
||||
"deny": "enabled",
|
||||
"lineOrder": 1,
|
||||
"role": "firewallmanager",
|
||||
"userPartition": "All",
|
||||
"userPartitionReference": {
|
||||
"link": "https://localhost/mgmt/tm/auth/partition/All?ver=13.1.0.7"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"kind": "tm:auth:user:userstate",
|
||||
"name": "someuser",
|
||||
"fullPath": "someuser",
|
||||
"generation": 76,
|
||||
"selfLink": "https://localhost/mgmt/tm/auth/user/someuser?ver=13.0.0",
|
||||
"description": "someuser",
|
||||
"encryptedPassword": "!!",
|
||||
"partitionAccess": [
|
||||
{
|
||||
"name": "Common",
|
||||
"role": "guest",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/auth/partition/Common?ver=13.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "tm:auth:user:userstate",
|
||||
"name": "someuser",
|
||||
"fullPath": "someuser",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/auth/user/someuser?ver=13.0.0",
|
||||
"description": "someuser",
|
||||
"encryptedPassword": "$6$PiA0g2.L$M02nqo3eVvj22PbEUONdzFQq4tXp930FsBB0sZ94OJTDruobY/BhyEN1rHfw2udVKKlGtom1rNiCP/3nIVfde1",
|
||||
"shell": "bash",
|
||||
"partitionAccess": [
|
||||
{
|
||||
"name": "all-partitions",
|
||||
"role": "admin",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/auth/partition/all-partitions?ver=13.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"kind": "tm:ltm:message-routing:generic:protocol:protocolstate",
|
||||
"name": "foobar",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foobar",
|
||||
"generation": 534,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/protocol/~Common~foobar?ver=14.1.0.3",
|
||||
"defaultsFrom": "/Common/genericmsg",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/message-routing/generic/protocol/~Common~genericmsg?ver=14.1.0.3"
|
||||
},
|
||||
"disableParser": "no",
|
||||
"maxEgressBuffer": 32768,
|
||||
"maxMessageSize": 32768,
|
||||
"noResponse": "no"
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"kind": "tm:ltm:message-routing:generic:peer:peerstate",
|
||||
"name": "test",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/test",
|
||||
"generation": 177,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/peer/~Common~test?ver=14.1.0.3",
|
||||
"autoInitialization": "disabled",
|
||||
"autoInitializationInterval": 5000,
|
||||
"connectionMode": "per-peer",
|
||||
"description": "foobar",
|
||||
"numberConnections": 1,
|
||||
"pool": "/Common/example",
|
||||
"poolReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/pool/~Common~example?ver=14.1.0.3"
|
||||
},
|
||||
"ratio": 1,
|
||||
"transportConfig": "/Common/test_tranport",
|
||||
"transportConfigReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/message-routing/generic/transport-config/~Common~test_tranport?ver=14.1.0.3"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "tm:ltm:message-routing:generic:route:routestate",
|
||||
"name": "some",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/some",
|
||||
"generation": 228,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/route/~Common~some?ver=14.1.0.3",
|
||||
"destinationAddress": "annoying_user",
|
||||
"peerSelectionMode": "sequential",
|
||||
"sourceAddress": "99.99.99.99",
|
||||
"peers": [
|
||||
"/Common/testy"
|
||||
],
|
||||
"peersReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/ltm/message-routing/generic/peer/~Common~testy?ver=14.1.0.3"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"kind": "tm:ltm:message-routing:generic:router:routerstate",
|
||||
"name": "messagerouter",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/messagerouter",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/router/~Common~messagerouter?ver=14.1.0.3",
|
||||
"ignoreClientPort": "no",
|
||||
"inheritedTrafficGroup": "true",
|
||||
"iruleScopeMessage": "no",
|
||||
"maxPayloadPendingBytes": 32768,
|
||||
"maxPendingBytes": 23768,
|
||||
"maxPendingMessages": 64,
|
||||
"maxRetries": 1,
|
||||
"mirror": "disabled",
|
||||
"mirroredMessageSweeperInterval": 1000,
|
||||
"trafficGroup": "/Common/traffic-group-1",
|
||||
"trafficGroupReference": {
|
||||
"link": "https://localhost/mgmt/tm/cm/traffic-group/~Common~traffic-group-1?ver=14.1.0.3"
|
||||
},
|
||||
"useLocalConnection": "yes"
|
||||
}
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
"kind": "tm:ltm:message-routing:generic:transport-config:transport-configstate",
|
||||
"name": "gen1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/gen1",
|
||||
"generation": 643,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/transport-config/~Common~gen1?expandSubcollections=true&ver=14.1.0.3",
|
||||
"ipProtocol": "tcp",
|
||||
"sourceAddressTranslation": {
|
||||
"pool": "/Common/test_snat",
|
||||
"poolReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/snatpool/~Common~test_snat?ver=14.1.0.3"
|
||||
},
|
||||
"type": "snat"
|
||||
},
|
||||
"sourcePort": 0,
|
||||
"rules": [
|
||||
"/Common/test"
|
||||
],
|
||||
"rulesReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/ltm/rule/~Common~test?ver=14.1.0.3"
|
||||
}
|
||||
],
|
||||
"profilesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/message-routing/generic/transport-config/~Common~gen1/profiles?ver=14.1.0.3",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:message-routing:generic:transport-config:profiles:profilesstate",
|
||||
"name": "diametersession",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/diametersession",
|
||||
"generation": 626,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/transport-config/~Common~gen1/profiles/~Common~diametersession?ver=14.1.0.3",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/message-routing/diameter/profile/session/~Common~diametersession?ver=14.1.0.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "tm:ltm:message-routing:generic:transport-config:profiles:profilesstate",
|
||||
"name": "tcp",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/tcp",
|
||||
"generation": 626,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/message-routing/generic/transport-config/~Common~gen1/profiles/~Common~tcp?ver=14.1.0.3",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/tcp/~Common~tcp?ver=14.1.0.3"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"kind": "tm:gtm:datacenter:datacenterstate",
|
||||
"name": "asd",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asd",
|
||||
"generation": 278,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/datacenter/~Common~asd?ver=12.1.2",
|
||||
"enabled": true
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"kind": "tm:gtm:datacenter:datacenterstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 303,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/datacenter/~Common~foo?ver=12.1.2",
|
||||
"contact": "admin@root.local",
|
||||
"description": "This is a foo description",
|
||||
"disabled": true,
|
||||
"location": "New York"
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:gtm:global-settings:general:generalstate",
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/global-settings/general?ver=13.1.0.4",
|
||||
"autoDiscovery": "yes",
|
||||
"autoDiscoveryInterval": 30,
|
||||
"automaticConfigurationSaveTimeout": 15,
|
||||
"cacheLdnsServers": "yes",
|
||||
"domainNameCheck": "allow-underscore",
|
||||
"drainPersistentRequests": "yes",
|
||||
"forwardStatus": "disabled",
|
||||
"gtmSetsRecursion": "no",
|
||||
"heartbeatInterval": 10,
|
||||
"monitorDisabledObjects": "no",
|
||||
"nethsmTimeout": 20,
|
||||
"sendWildcardRrs": "disabled",
|
||||
"staticPersistCidrIpv4": 32,
|
||||
"staticPersistCidrIpv6": 128,
|
||||
"synchronization": "no",
|
||||
"synchronizationGroupName": "default",
|
||||
"synchronizationTimeTolerance": 10,
|
||||
"synchronizationTimeout": 180,
|
||||
"synchronizeZoneFiles": "no",
|
||||
"synchronizeZoneFilesTimeout": 300,
|
||||
"virtualsDependOnServerState": "yes"
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
[
|
||||
{
|
||||
"kind": "tm:gtm:rule:rulestate",
|
||||
"name": "asdf",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdf",
|
||||
"generation": 92,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/rule/~Common~asdf?ver=12.1.2",
|
||||
"apiAnonymous": "when DNS_REQUEST {\n if { [IP::addr [IP::remote_addr] equals 10.254.254.0/24] } {\n cname test.affilate.example.com\n\n } elseif { [IP::addr [IP::remote_addr] equals 10.0.0.0/8] } {\n cname test.internal.example.com\n\n }\n #everything else will be handled by the default pools in the main WIP\n}"
|
||||
},
|
||||
{
|
||||
"kind": "tm:gtm:rule:rulestate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 93,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/rule/~Common~foo?ver=12.1.2",
|
||||
"apiAnonymous": "when LB_SELECTED {\n # Capture IP address chosen by WIP load balancing\n set wipHost [LB::server addr]\n}\n\nwhen LB_FAILED {\n set wipHost [LB::server addr]\n}"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "tm:gtm:monitor:firepass:firepassstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/monitor/firepass/~Common~foo?ver=13.1.0.4",
|
||||
"cipherlist": "HIGH:!ADH",
|
||||
"concurrencyLimit": 95,
|
||||
"defaultsFrom": "/Common/firepass_gtm",
|
||||
"destination": "1.1.1.1:80",
|
||||
"ignoreDownResponse": "enabled",
|
||||
"interval": 30,
|
||||
"maxLoadAverage": 12,
|
||||
"password": "secret",
|
||||
"probeTimeout": 5,
|
||||
"timeout": 90,
|
||||
"username": "gtmuser"
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"kind": "tm:gtm:monitor:http:httpstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/monitor/http/~Common~foo?ver=13.1.0.4",
|
||||
"defaultsFrom": "/Common/http",
|
||||
"description": "my description",
|
||||
"destination": "3.3.3.3:8080",
|
||||
"ignoreDownResponse": "disabled",
|
||||
"interval": 30,
|
||||
"password": "secret",
|
||||
"probeTimeout": 5,
|
||||
"recv": "the receive string",
|
||||
"reverse": "enabled",
|
||||
"send": "GET /",
|
||||
"timeout": 120,
|
||||
"transparent": "enabled",
|
||||
"username": "user1"
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"kind": "tm:gtm:monitor:tcp:tcpstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/monitor/tcp/~Common~foo?ver=13.1.0.4",
|
||||
"defaultsFrom": "/Common/tcp",
|
||||
"destination": "1.1.1.1:80",
|
||||
"ignoreDownResponse": "disabled",
|
||||
"interval": 30,
|
||||
"probeTimeout": 5,
|
||||
"recv": "the receive string",
|
||||
"reverse": "enabled",
|
||||
"send": "the send string",
|
||||
"timeout": 120,
|
||||
"transparent": "enabled"
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"kind": "tm:gtm:pool:a:acollectionstate",
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a?expandSubcollections=true&ver=13.0.0",
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:gtm:pool:a:astate",
|
||||
"name": "foo.pool",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo.pool",
|
||||
"generation": 216,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo.pool?ver=13.0.0",
|
||||
"alternateMode": "round-robin",
|
||||
"dynamicRatio": "disabled",
|
||||
"enabled": true,
|
||||
"fallbackIp": "any",
|
||||
"fallbackMode": "return-to-dns",
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"loadBalancingMode": "round-robin",
|
||||
"manualResume": "disabled",
|
||||
"maxAnswersReturned": 1,
|
||||
"monitor": "default",
|
||||
"qosHitRatio": 5,
|
||||
"qosHops": 0,
|
||||
"qosKilobytesSecond": 3,
|
||||
"qosLcs": 30,
|
||||
"qosPacketRate": 1,
|
||||
"qosRtt": 50,
|
||||
"qosTopology": 0,
|
||||
"qosVsCapacity": 0,
|
||||
"qosVsScore": 0,
|
||||
"ttl": 30,
|
||||
"verifyMemberAvailability": "enabled",
|
||||
"membersReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo.pool/members?ver=13.0.0",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"kind": "tm:gtm:pool:a:astate",
|
||||
"name": "asdf",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdf",
|
||||
"generation": 94,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~asdf?ver=12.1.2",
|
||||
"alternateMode": "round-robin",
|
||||
"dynamicRatio": "disabled",
|
||||
"enabled": true,
|
||||
"fallbackIp": "any",
|
||||
"fallbackMode": "return-to-dns",
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"loadBalancingMode": "round-robin",
|
||||
"manualResume": "disabled",
|
||||
"maxAnswersReturned": 1,
|
||||
"monitor": "default",
|
||||
"qosHitRatio": 5,
|
||||
"qosHops": 0,
|
||||
"qosKilobytesSecond": 3,
|
||||
"qosLcs": 30,
|
||||
"qosPacketRate": 1,
|
||||
"qosRtt": 50,
|
||||
"qosTopology": 0,
|
||||
"qosVsCapacity": 0,
|
||||
"qosVsScore": 0,
|
||||
"ttl": 30,
|
||||
"verifyMemberAvailability": "enabled",
|
||||
"membersReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/pool/a/~Common~asdf/members?ver=12.1.2",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"kind": "tm:gtm:pool:a:astats",
|
||||
"generation": 216,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo.pool/stats?ver=13.0.0",
|
||||
"entries": {
|
||||
"https://localhost/mgmt/tm/gtm/pool/a/~Common~foo.pool/~Common~foo.pool:A/stats": {
|
||||
"nestedStats": {
|
||||
"kind": "tm:gtm:pool:a:astats",
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo.pool/~Common~foo.pool:A/stats?ver=13.0.0",
|
||||
"entries": {
|
||||
"alternate": {
|
||||
"value": 0
|
||||
},
|
||||
"dropped": {
|
||||
"value": 0
|
||||
},
|
||||
"fallback": {
|
||||
"value": 0
|
||||
},
|
||||
"tmName": {
|
||||
"description": "/Common/foo.pool"
|
||||
},
|
||||
"poolType": {
|
||||
"description": "A"
|
||||
},
|
||||
"preferred": {
|
||||
"value": 0
|
||||
},
|
||||
"returnFromDns": {
|
||||
"value": 0
|
||||
},
|
||||
"returnToDns": {
|
||||
"value": 0
|
||||
},
|
||||
"status.availabilityState": {
|
||||
"description": "offline"
|
||||
},
|
||||
"status.enabledState": {
|
||||
"description": "enabled"
|
||||
},
|
||||
"status.statusReason": {
|
||||
"description": "No enabled pool members available"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"kind": "tm:gtm:pool:a:members:membersstate",
|
||||
"name": "foo_gtm_server:bar",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo_gtm_server:bar",
|
||||
"generation": 398,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo-pool/members/~Common~foo_gtm_server:bar?ver=13.0.0",
|
||||
"enabled": true,
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"memberOrder": 1,
|
||||
"monitor": "default",
|
||||
"ratio": 1
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"kind": "tm:gtm:pool:a:astate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 142,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo?expandSubcollections=true&ver=12.0.0",
|
||||
"alternateMode": "round-robin",
|
||||
"dynamicRatio": "disabled",
|
||||
"enabled": true,
|
||||
"fallbackIp": "any",
|
||||
"fallbackMode": "return-to-dns",
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"loadBalancingMode": "round-robin",
|
||||
"manualResume": "disabled",
|
||||
"maxAnswersReturned": 1,
|
||||
"monitor": "default",
|
||||
"qosHitRatio": 5,
|
||||
"qosHops": 0,
|
||||
"qosKilobytesSecond": 3,
|
||||
"qosLcs": 30,
|
||||
"qosPacketRate": 1,
|
||||
"qosRtt": 50,
|
||||
"qosTopology": 0,
|
||||
"qosVsCapacity": 0,
|
||||
"qosVsScore": 0,
|
||||
"ttl": 30,
|
||||
"verifyMemberAvailability": "enabled",
|
||||
"membersReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo/members?ver=12.0.0",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:gtm:pool:a:members:membersstate",
|
||||
"name": "server1:vs1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/server1:vs1",
|
||||
"generation": 141,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo/members/~Common~server1:vs1?ver=12.0.0",
|
||||
"enabled": true,
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"memberOrder": 0,
|
||||
"monitor": "default",
|
||||
"ratio": 1
|
||||
},
|
||||
{
|
||||
"kind": "tm:gtm:pool:a:members:membersstate",
|
||||
"name": "server1:vs2",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/server1:vs2",
|
||||
"generation": 142,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo/members/~Common~server1:vs1?ver=12.0.0",
|
||||
"enabled": true,
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"memberOrder": 1,
|
||||
"monitor": "/Common/tcp ",
|
||||
"ratio": 1
|
||||
},
|
||||
{
|
||||
"kind": "tm:gtm:pool:a:members:membersstate",
|
||||
"name": "server1:vs3",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/server1:vs3",
|
||||
"generation": 141,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/~Common~foo/members/~Common~server1:vs3?ver=12.0.0",
|
||||
"enabled": true,
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"memberOrder": 2,
|
||||
"monitor": "default",
|
||||
"ratio": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"kind": "tm:gtm:pool:poolstate",
|
||||
"name": "asdf",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdf",
|
||||
"generation": 92,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/pool/~Common~asdf?ver=11.6.1",
|
||||
"alternateMode": "round-robin",
|
||||
"dynamicRatio": "disabled",
|
||||
"enabled": true,
|
||||
"fallbackIpv4": "any",
|
||||
"fallbackIpv6": "any6",
|
||||
"fallbackMode": "return-to-dns",
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"loadBalancingMode": "round-robin",
|
||||
"manualResume": "disabled",
|
||||
"maxAddressReturned": 1,
|
||||
"monitor": "default",
|
||||
"qosHitRatio": 5,
|
||||
"qosHops": 0,
|
||||
"qosKilobytesSecond": 3,
|
||||
"qosLcs": 30,
|
||||
"qosPacketRate": 1,
|
||||
"qosRtt": 50,
|
||||
"qosTopology": 0,
|
||||
"qosVsCapacity": 0,
|
||||
"qosVsScore": 0,
|
||||
"ttl": 30,
|
||||
"verifyMemberAvailability": "enabled",
|
||||
"membersReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/pool/~Common~asdf/members?ver=11.6.1",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"kind": "tm:gtm:server:serverstate",
|
||||
"name": "baz",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/baz",
|
||||
"generation": 270,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/server/~Common~baz?ver=13.0.0",
|
||||
"datacenter": "/Common/foo",
|
||||
"datacenterReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/datacenter/~Common~foo?ver=13.0.0"
|
||||
},
|
||||
"enabled": true,
|
||||
"exposeRouteDomains": "no",
|
||||
"iqAllowPath": "yes",
|
||||
"iqAllowServiceCheck": "yes",
|
||||
"iqAllowSnmp": "yes",
|
||||
"limitCpuUsage": 0,
|
||||
"limitCpuUsageStatus": "disabled",
|
||||
"limitMaxBps": 0,
|
||||
"limitMaxBpsStatus": "disabled",
|
||||
"limitMaxConnections": 0,
|
||||
"limitMaxConnectionsStatus": "disabled",
|
||||
"limitMaxPps": 0,
|
||||
"limitMaxPpsStatus": "disabled",
|
||||
"limitMemAvail": 0,
|
||||
"limitMemAvailStatus": "disabled",
|
||||
"linkDiscovery": "disabled",
|
||||
"monitor": "/Common/bigip ",
|
||||
"proberFallback": "inherit",
|
||||
"proberPreference": "inherit",
|
||||
"product": "bigip",
|
||||
"virtualServerDiscovery": "disabled",
|
||||
"addresses": [
|
||||
{
|
||||
"name": "1.1.1.1",
|
||||
"deviceName": "bigip1",
|
||||
"translation": "10.10.10.10"
|
||||
},
|
||||
{
|
||||
"name": "2.2.2.2",
|
||||
"deviceName": "bigip2",
|
||||
"translation": "20.20.20.20"
|
||||
},
|
||||
{
|
||||
"name": "3.3.3.3",
|
||||
"deviceName": "bigip2",
|
||||
"translation": "20.20.20.20"
|
||||
},
|
||||
{
|
||||
"name": "4.4.4.4",
|
||||
"deviceName": "bigip3",
|
||||
"translation": "none"
|
||||
},
|
||||
{
|
||||
"name": "5.5.5.5",
|
||||
"deviceName": "bigip3",
|
||||
"translation": "none"
|
||||
}
|
||||
],
|
||||
"devicesReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/server/~Common~baz/devices?ver=13.0.0",
|
||||
"isSubcollection": true
|
||||
},
|
||||
"virtualServersReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/server/~Common~baz/virtual-servers?ver=13.0.0",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"kind": "tm:gtm:server:virtual-servers:virtual-serversstate",
|
||||
"name": "vs2",
|
||||
"fullPath": "vs2",
|
||||
"generation": 129,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/server/~Common~server1/virtual-servers/vs2?ver=13.0.0",
|
||||
"destination": "6.6.6.6:8080",
|
||||
"enabled": true,
|
||||
"limitMaxBps": 100,
|
||||
"limitMaxBpsStatus": "enabled",
|
||||
"limitMaxConnections": 300,
|
||||
"limitMaxConnectionsStatus": "enabled",
|
||||
"limitMaxPps": 200,
|
||||
"limitMaxPpsStatus": "enabled",
|
||||
"monitor": "/Common/gtp ",
|
||||
"translationAddress": "none",
|
||||
"translationPort": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"kind": "tm:gtm:wideip:a:astate",
|
||||
"name": "foo.bar.com",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo.bar.com",
|
||||
"generation": 135,
|
||||
"selfLink": "https://localhost/mgmt/tm/gtm/wideip/a/~Common~foo.bar.com?ver=13.0.0",
|
||||
"enabled": true,
|
||||
"failureRcode": "noerror",
|
||||
"failureRcodeResponse": "disabled",
|
||||
"failureRcodeTtl": 0,
|
||||
"lastResortPool": "",
|
||||
"minimalResponse": "enabled",
|
||||
"persistCidrIpv4": 32,
|
||||
"persistCidrIpv6": 128,
|
||||
"persistence": "disabled",
|
||||
"poolLbMode": "round-robin",
|
||||
"ttlPersistence": 3600,
|
||||
"pools": [
|
||||
{
|
||||
"name": "baz",
|
||||
"partition": "Common",
|
||||
"order": 0,
|
||||
"ratio": 10,
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/gtm/pool/a/~Common~baz?ver=13.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"kind": "tm:util:bash:runstate",
|
||||
"command": "run",
|
||||
"utilCmdArgs": "-c 'imish -r 0 -e \"show running-config\"'",
|
||||
"commandResult": "!\nno service password-encryption\n!\nline con 0\n login\nline vty 0 39\n login\n!\nend\n\n"
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"kind": "tm:ltm:dns:cache:resolver:resolverstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 666,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/dns/cache/resolver/~Common~foo?ver=13.1.0.7",
|
||||
"allowedQueryTime": 200,
|
||||
"answerDefaultZones": "no",
|
||||
"maxConcurrentQueries": 1024,
|
||||
"maxConcurrentTcp": 20,
|
||||
"maxConcurrentUdp": 8192,
|
||||
"msgCacheSize": 1048576,
|
||||
"nameserverCacheCount": 16536,
|
||||
"randomizeQueryNameCase": "yes",
|
||||
"routeDomain": "/Common/0",
|
||||
"routeDomainReference": {
|
||||
"link": "https://localhost/mgmt/tm/net/route-domain/~Common~0?ver=13.1.0.7"
|
||||
},
|
||||
"rrsetCacheSize": 10485760,
|
||||
"rrsetRotate": "none",
|
||||
"unwantedQueryReplyThreshold": 0,
|
||||
"useIpv4": "yes",
|
||||
"useIpv6": "yes",
|
||||
"useTcp": "yes",
|
||||
"useUdp": "yes",
|
||||
"forwardZones": [
|
||||
{
|
||||
"name": "foo1",
|
||||
"nameservers": [
|
||||
{
|
||||
"name": "1.1.1.1:53"
|
||||
},
|
||||
{
|
||||
"name": "2.2.2.2:53"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "foo2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"kind": "tm:ltm:dns:nameserver:nameserverstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 8076,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/dns/nameserver/~Common~foo?ver=13.1.0.7",
|
||||
"address": "127.0.0.1",
|
||||
"port": 53,
|
||||
"routeDomain": "/Common/0",
|
||||
"routeDomainReference": {
|
||||
"link": "https://localhost/mgmt/tm/net/route-domain/~Common~0?ver=13.1.0.7"
|
||||
},
|
||||
"tsigKey": "/Common/key1",
|
||||
"tsigKeyReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/dns/tsig-key/~Common~key1?ver=13.1.0.7"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"kind": "tm:ltm:dns:zone:zonestate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 812,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/dns/zone/~Common~foo?ver=13.1.0.8",
|
||||
"dnsExpressAllowNotify": [
|
||||
"1.1.1.1"
|
||||
],
|
||||
"dnsExpressEnabled": "yes",
|
||||
"dnsExpressNotifyAction": "consume",
|
||||
"dnsExpressNotifyTsigVerify": "yes",
|
||||
"dnsExpressServer": "/Common/asd",
|
||||
"dnsExpressServerReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/dns/nameserver/~Common~asd?ver=13.1.0.8"
|
||||
},
|
||||
"responsePolicy": "no",
|
||||
"serverTsigKey": "/Common/asd",
|
||||
"serverTsigKeyReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/dns/tsig-key/~Common~asd?ver=13.1.0.8"
|
||||
},
|
||||
"transferClients": [
|
||||
"/Common/asd"
|
||||
],
|
||||
"transferClientsReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/ltm/dns/nameserver/~Common~asd?ver=13.1.0.8"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:fastl4:fastl4state",
|
||||
"name": "fastL4",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/fastL4",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/fastl4/~Common~fastL4?ver=13.1.0.8",
|
||||
"appService": "none",
|
||||
"clientTimeout": 30,
|
||||
"defaultsFrom": "none",
|
||||
"description": "none",
|
||||
"explicitFlowMigration": "disabled",
|
||||
"hardwareSynCookie": "disabled",
|
||||
"idleTimeout": "300",
|
||||
"ipDfMode": "preserve",
|
||||
"ipTosToClient": "pass-through",
|
||||
"ipTosToServer": "pass-through",
|
||||
"ipTtlMode": "decrement",
|
||||
"ipTtlV4": 255,
|
||||
"ipTtlV6": 64,
|
||||
"keepAliveInterval": "disabled",
|
||||
"lateBinding": "disabled",
|
||||
"linkQosToClient": "pass-through",
|
||||
"linkQosToServer": "pass-through",
|
||||
"looseClose": "disabled",
|
||||
"looseInitialization": "disabled",
|
||||
"mssOverride": 0,
|
||||
"priorityToClient": "pass-through",
|
||||
"priorityToServer": "pass-through",
|
||||
"pvaAcceleration": "full",
|
||||
"pvaDynamicClientPackets": 1,
|
||||
"pvaDynamicServerPackets": 0,
|
||||
"pvaFlowAging": "enabled",
|
||||
"pvaFlowEvict": "enabled",
|
||||
"pvaOffloadDynamic": "enabled",
|
||||
"pvaOffloadState": "embryonic",
|
||||
"reassembleFragments": "disabled",
|
||||
"receiveWindowSize": 0,
|
||||
"resetOnTimeout": "enabled",
|
||||
"rttFromClient": "disabled",
|
||||
"rttFromServer": "disabled",
|
||||
"serverSack": "disabled",
|
||||
"serverTimestamp": "disabled",
|
||||
"softwareSynCookie": "disabled",
|
||||
"synCookieEnable": "enabled",
|
||||
"synCookieMss": 0,
|
||||
"synCookieWhitelist": "disabled",
|
||||
"tcpCloseTimeout": "5",
|
||||
"tcpGenerateIsn": "disabled",
|
||||
"tcpHandshakeTimeout": "5",
|
||||
"tcpStripSack": "disabled",
|
||||
"tcpTimeWaitTimeout": 0,
|
||||
"tcpTimestampMode": "preserve",
|
||||
"tcpWscaleMode": "preserve",
|
||||
"timeoutRecovery": "disconnect"
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:http2:http2state",
|
||||
"name": "test",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/test",
|
||||
"generation": 5852,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/http2/~Common~test?ver=13.1.0.8",
|
||||
"activationModes": [
|
||||
"always"
|
||||
],
|
||||
"appService": "none",
|
||||
"concurrentStreamsPerConnection": 10,
|
||||
"connectionIdleTimeout": 300,
|
||||
"defaultsFrom": "/Common/http2",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/http2/~Common~http2?ver=13.1.0.8"
|
||||
},
|
||||
"description": "this is awful documentation",
|
||||
"enforceTlsRequirements": "enabled",
|
||||
"frameSize": 2048,
|
||||
"headerTableSize": 4096,
|
||||
"includeContentLength": "disabled",
|
||||
"insertHeader": "disabled",
|
||||
"insertHeaderName": "X-HTTP2",
|
||||
"receiveWindow": 32,
|
||||
"writeSize": 16384
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:http:httpstate",
|
||||
"name": "http",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/http",
|
||||
"generation": 1405,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/http/~Common~http?ver=13.1.0.6",
|
||||
"acceptXff": "disabled",
|
||||
"appService": "none",
|
||||
"basicAuthRealm": "none",
|
||||
"defaultsFrom": "none",
|
||||
"description": "none",
|
||||
"encryptCookies": [],
|
||||
"enforcement": {
|
||||
"excessClientHeaders": "reject",
|
||||
"excessServerHeaders": "reject",
|
||||
"knownMethods": [
|
||||
"CONNECT",
|
||||
"DELETE",
|
||||
"GET",
|
||||
"HEAD",
|
||||
"LOCK",
|
||||
"OPTIONS",
|
||||
"POST",
|
||||
"PROPFIND",
|
||||
"PUT",
|
||||
"TRACE",
|
||||
"UNLOCK"
|
||||
],
|
||||
"maxHeaderCount": 64,
|
||||
"maxHeaderSize": 32768,
|
||||
"maxRequests": 0,
|
||||
"oversizeClientHeaders": "reject",
|
||||
"oversizeServerHeaders": "reject",
|
||||
"pipeline": "allow",
|
||||
"truncatedRedirects": "disabled",
|
||||
"unknownMethod": "allow"
|
||||
},
|
||||
"explicitProxy": {
|
||||
"badRequestMessage": "none",
|
||||
"badResponseMessage": "none",
|
||||
"connectErrorMessage": "none",
|
||||
"defaultConnectHandling": "deny",
|
||||
"dnsErrorMessage": "none",
|
||||
"dnsResolver": "none",
|
||||
"hostNames": [],
|
||||
"ipv6": "no",
|
||||
"routeDomain": "none",
|
||||
"tunnelName": "none"
|
||||
},
|
||||
"fallbackHost": "none",
|
||||
"fallbackStatusCodes": [],
|
||||
"headerErase": "none",
|
||||
"headerInsert": "none",
|
||||
"hsts": {
|
||||
"includeSubdomains": "enabled",
|
||||
"maximumAge": 16070400,
|
||||
"mode": "disabled",
|
||||
"preload": "disabled"
|
||||
},
|
||||
"insertXforwardedFor": "disabled",
|
||||
"lwsSeparator": "none",
|
||||
"lwsWidth": 80,
|
||||
"oneconnectTransformations": "enabled",
|
||||
"proxyType": "reverse",
|
||||
"redirectRewrite": "none",
|
||||
"requestChunking": "preserve",
|
||||
"responseChunking": "selective",
|
||||
"responseHeadersPermitted": [],
|
||||
"serverAgentName": "BigIP",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes",
|
||||
"samplingRate": 0,
|
||||
"samplingRateGlobal": "yes"
|
||||
},
|
||||
"viaHostName": "none",
|
||||
"viaRequest": "preserve",
|
||||
"viaResponse": "preserve",
|
||||
"xffAlternativeNames": []
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:http:httpstate",
|
||||
"name": "asdf",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdf",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/http/~Common~asdf?ver=13.0.0",
|
||||
"adaptive": "disabled",
|
||||
"adaptiveDivergenceType": "relative",
|
||||
"adaptiveDivergenceValue": 25,
|
||||
"adaptiveLimit": 200,
|
||||
"adaptiveSamplingTimespan": 300,
|
||||
"defaultsFrom": "/Common/http",
|
||||
"description": "this is a description",
|
||||
"destination": "1.1.1.1:389",
|
||||
"interval": 5,
|
||||
"ipDscp": 0,
|
||||
"manualResume": "disabled",
|
||||
"password": "$M$7T$DpzEUVHt5rKkAfqrBh1PTA==",
|
||||
"recv": "hello world",
|
||||
"reverse": "enabled",
|
||||
"send": "GET /\\r\\n",
|
||||
"timeUntilUp": 0,
|
||||
"timeout": 16,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0,
|
||||
"username": "john"
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:https:httpsstate",
|
||||
"name": "asdf",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdf",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/https/~Common~asdf?ver=13.0.0",
|
||||
"adaptive": "disabled",
|
||||
"adaptiveDivergenceType": "relative",
|
||||
"adaptiveDivergenceValue": 25,
|
||||
"adaptiveLimit": 200,
|
||||
"adaptiveSamplingTimespan": 300,
|
||||
"cipherlist": "DEFAULT:+SHA:+3DES:+kEDH",
|
||||
"compatibility": "enabled",
|
||||
"defaultsFrom": "/Common/https",
|
||||
"description": "this is a description",
|
||||
"destination": "1.1.1.1:389",
|
||||
"interval": 5,
|
||||
"ipDscp": 0,
|
||||
"manualResume": "disabled",
|
||||
"password": "$M$7F$+F0VTCeKM4LbGkpC/u8pwg==",
|
||||
"recv": "hello world",
|
||||
"reverse": "disabled",
|
||||
"send": "GET /\\r\\n",
|
||||
"timeUntilUp": 0,
|
||||
"timeout": 16,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0,
|
||||
"username": "john"
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:tcp:tcpstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/tcp/~Common~foo?ver=12.1.0",
|
||||
"adaptive": "disabled",
|
||||
"adaptiveDivergenceType": "relative",
|
||||
"adaptiveDivergenceValue": 25,
|
||||
"adaptiveLimit": 200,
|
||||
"adaptiveSamplingTimespan": 300,
|
||||
"defaultsFrom": "/Common/tcp",
|
||||
"destination": "10.10.10.10:80",
|
||||
"interval": 20,
|
||||
"ipDscp": 0,
|
||||
"manualResume": "disabled",
|
||||
"recv": "this is a receive string",
|
||||
"reverse": "disabled",
|
||||
"send": "this is a send string",
|
||||
"timeUntilUp": 60,
|
||||
"timeout": 30,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:tcp-echo:tcp-echostate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/tcp-echo/~Common~foo?ver=13.0.0",
|
||||
"adaptive": "disabled",
|
||||
"adaptiveDivergenceType": "relative",
|
||||
"adaptiveDivergenceValue": 25,
|
||||
"adaptiveLimit": 200,
|
||||
"adaptiveSamplingTimespan": 300,
|
||||
"defaultsFrom": "/Common/tcp_echo",
|
||||
"destination": "10.10.10.10",
|
||||
"interval": 20,
|
||||
"manualResume": "disabled",
|
||||
"timeUntilUp": 60,
|
||||
"timeout": 30,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:tcp-half-open:tcp-half-openstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/tcp-half-open/~Common~foo?ver=13.0.0",
|
||||
"defaultsFrom": "/Common/tcp_half_open",
|
||||
"destination": "10.10.10.10:80",
|
||||
"interval": 20,
|
||||
"manualResume": "disabled",
|
||||
"timeUntilUp": 60,
|
||||
"timeout": 30,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:monitor:udp:udpstate",
|
||||
"name": "asdf",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdf",
|
||||
"generation": 0,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/monitor/udp/~Common~asdf?ver=13.0.0",
|
||||
"adaptive": "disabled",
|
||||
"adaptiveDivergenceType": "relative",
|
||||
"adaptiveDivergenceValue": 25,
|
||||
"adaptiveLimit": 200,
|
||||
"adaptiveSamplingTimespan": 300,
|
||||
"debug": "no",
|
||||
"defaultsFrom": "/Common/udp",
|
||||
"destination": "1.1.1.1:389",
|
||||
"interval": 5,
|
||||
"manualResume": "disabled",
|
||||
"recv": "hello world",
|
||||
"reverse": "disabled",
|
||||
"send": "default send string",
|
||||
"timeUntilUp": 0,
|
||||
"timeout": 16,
|
||||
"transparent": "disabled",
|
||||
"upInterval": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 158,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~foo?ver=13.0.0",
|
||||
"address": "1.2.3.4",
|
||||
"connectionLimit": 0,
|
||||
"description": "my description of node",
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "disabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "default",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "user-enabled",
|
||||
"state": "unchecked"
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "fqdn-foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/fqdn-foo",
|
||||
"generation": 161,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~fqdn-foo?ver=13.0.0",
|
||||
"address": "any6",
|
||||
"connectionLimit": 0,
|
||||
"description": "another node but with fqdn",
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "disabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600",
|
||||
"tmName": "google.com"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "/Common/icmp and /Common/tcp_echo ",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "user-enabled",
|
||||
"state": "fqdn-up"
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "mytestserver",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/mytestserver",
|
||||
"generation": 2286,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~mytestserver?ver=13.0.0",
|
||||
"address": "10.20.30.40",
|
||||
"connectionLimit": 0,
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "disabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "/Common/icmp ",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "monitor-enabled",
|
||||
"state": "down"
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"kind": "tm:ltm:policy:rules:rulesstate",
|
||||
"name": "foo",
|
||||
"fullPath": "foo",
|
||||
"generation": 739,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/policy/~Common~Drafts~Bondticker-DRN/rules/foo?expandSubcollections=true&ver=13.0.0",
|
||||
"ordinal": 0,
|
||||
"actionsReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/policy/~Common~Drafts~Bondticker-DRN/rules/foo/actions?ver=13.0.0",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:policy:rules:actions:actionsstate",
|
||||
"name": "0",
|
||||
"fullPath": "0",
|
||||
"generation": 739,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/policy/~Common~Drafts~Bondticker-DRN/rules/foo/actions/0?ver=13.0.0",
|
||||
"code": 0,
|
||||
"expirySecs": 0,
|
||||
"forward": true,
|
||||
"length": 0,
|
||||
"node": "1.1.1.1",
|
||||
"offset": 0,
|
||||
"port": 0,
|
||||
"request": true,
|
||||
"select": true,
|
||||
"snat": "disable",
|
||||
"status": 0,
|
||||
"timeout": 0,
|
||||
"vlan": "/Common/net1",
|
||||
"vlanId": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"conditionsReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/policy/~Common~Drafts~Bondticker-DRN/rules/foo/conditions?ver=13.0.0",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:policy:rules:conditions:conditionsstate",
|
||||
"name": "0",
|
||||
"fullPath": "0",
|
||||
"generation": 739,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/policy/~Common~Drafts~Bondticker-DRN/rules/foo/conditions/0?ver=13.0.0",
|
||||
"caseInsensitive": true,
|
||||
"external": true,
|
||||
"httpUri": true,
|
||||
"index": 0,
|
||||
"path": true,
|
||||
"present": true,
|
||||
"remote": true,
|
||||
"request": true,
|
||||
"startsWith": true,
|
||||
"values": [
|
||||
"foo"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"kind": "tm:ltm:pool:poolstate",
|
||||
"name": "test_pool",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/test_pool",
|
||||
"generation": 1452,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/pool/~Common~test_pool?ver=11.5.4",
|
||||
"allowNat": "yes",
|
||||
"allowSnat": "yes",
|
||||
"description": "test",
|
||||
"ignorePersistedWeight": "disabled",
|
||||
"ipTosToClient": "pass-through",
|
||||
"ipTosToServer": "pass-through",
|
||||
"linkQosToClient": "pass-through",
|
||||
"linkQosToServer": "pass-through",
|
||||
"loadBalancingMode": "round-robin",
|
||||
"minActiveMembers": 0,
|
||||
"minUpMembers": 0,
|
||||
"minUpMembersAction": "failover",
|
||||
"minUpMembersChecking": "disabled",
|
||||
"monitor": "min 1 of { /Common/http /Common/inband }",
|
||||
"queueDepthLimit": 0,
|
||||
"queueOnConnectionLimit": "disabled",
|
||||
"queueTimeLimit": 0,
|
||||
"reselectTries": 0,
|
||||
"serviceDownAction": "reselect",
|
||||
"slowRampTime": 10,
|
||||
"membersReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/pool/~Common~test_pool/members?ver=11.5.4",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:analytics:analyticsstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 339,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/analytics/~Common~foo?ver=13.1.1",
|
||||
"appService": "none",
|
||||
"capturedTrafficExternalLogging": "disabled",
|
||||
"capturedTrafficInternalLogging": "disabled",
|
||||
"collectGeo": "disabled",
|
||||
"collectHttpTimingMetrics": "disabled",
|
||||
"collectIp": "disabled",
|
||||
"collectMaxTpsAndThroughput": "disabled",
|
||||
"collectMethods": "enabled",
|
||||
"collectOsAndBrowser": "enabled",
|
||||
"collectPageLoadTime": "disabled",
|
||||
"collectResponseCodes": "enabled",
|
||||
"collectSubnets": "disabled",
|
||||
"collectUrl": "disabled",
|
||||
"collectUserAgent": "disabled",
|
||||
"collectUserSessions": "disabled",
|
||||
"collectedStatsExternalLogging": "disabled",
|
||||
"collectedStatsInternalLogging": "enabled",
|
||||
"countriesForStatCollection": [],
|
||||
"defaultsFrom": "/Common/analytics",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/analytics/~Common~analytics?ver=13.1.1"
|
||||
},
|
||||
"description": "none",
|
||||
"externalLoggingPublisher": "none",
|
||||
"ipsForStatCollection": [],
|
||||
"notificationByEmail": "disabled",
|
||||
"notificationBySnmp": "disabled",
|
||||
"notificationBySyslog": "disabled",
|
||||
"notificationEmailAddresses": [],
|
||||
"publishIruleStatistics": "disabled",
|
||||
"sampling": "enabled",
|
||||
"sessionCookieSecurity": "ssl-only",
|
||||
"sessionTimeoutMinutes": "5",
|
||||
"smtpConfig": "none",
|
||||
"subnetsForStatCollection": [],
|
||||
"urlsForStatCollection": [],
|
||||
"alertsReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/analytics/~Common~foo/alerts?ver=13.1.1",
|
||||
"isSubcollection": true
|
||||
},
|
||||
"trafficCaptureReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/analytics/~Common~foo/traffic-capture?ver=13.1.1",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:client-ssl:client-sslstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 351,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/client-ssl/~Common~foo?ver=13.0.0",
|
||||
"alertTimeout": "indefinite",
|
||||
"allowDynamicRecordSizing": "disabled",
|
||||
"allowExpiredCrl": "disabled",
|
||||
"allowNonSsl": "disabled",
|
||||
"appService": "none",
|
||||
"authenticate": "once",
|
||||
"authenticateDepth": 9,
|
||||
"bypassOnClientCertFail": "disabled",
|
||||
"bypassOnHandshakeAlert": "disabled",
|
||||
"caFile": "none",
|
||||
"cacheSize": 262144,
|
||||
"cacheTimeout": 3600,
|
||||
"cert": "/Common/default.crt",
|
||||
"certReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~default.crt?ver=13.0.0"
|
||||
},
|
||||
"certExtensionIncludes": [
|
||||
"basic-constraints",
|
||||
"subject-alternative-name"
|
||||
],
|
||||
"certLifespan": 30,
|
||||
"certLookupByIpaddrPort": "disabled",
|
||||
"chain": "none",
|
||||
"cipherGroup": "none",
|
||||
"ciphers": "DEFAULT",
|
||||
"clientCertCa": "none",
|
||||
"crlFile": "none",
|
||||
"defaultsFrom": "/Common/clientssl",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/client-ssl/~Common~clientssl?ver=13.0.0"
|
||||
},
|
||||
"description": "none",
|
||||
"destinationIpBlacklist": "none",
|
||||
"destinationIpWhitelist": "none",
|
||||
"forwardProxyBypassDefaultAction": "intercept",
|
||||
"genericAlert": "enabled",
|
||||
"handshakeTimeout": "10",
|
||||
"hostnameBlacklist": "none",
|
||||
"hostnameWhitelist": "none",
|
||||
"inheritCertkeychain": "true",
|
||||
"key": "/Common/default.key",
|
||||
"keyReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/file/ssl-key/~Common~default.key?ver=13.0.0"
|
||||
},
|
||||
"maxActiveHandshakes": "indefinite",
|
||||
"maxAggregateRenegotiationPerMinute": "indefinite",
|
||||
"maxRenegotiationsPerMinute": 5,
|
||||
"maximumRecordSize": 16384,
|
||||
"modSslMethods": "disabled",
|
||||
"mode": "enabled",
|
||||
"notifyCertStatusToVirtualServer": "disabled",
|
||||
"ocspStapling": "disabled",
|
||||
"tmOptions": [
|
||||
"dont-insert-empty-fragments"
|
||||
],
|
||||
"peerCertMode": "ignore",
|
||||
"peerNoRenegotiateTimeout": "10",
|
||||
"proxyCaCert": "none",
|
||||
"proxyCaKey": "none",
|
||||
"proxySsl": "disabled",
|
||||
"proxySslPassthrough": "disabled",
|
||||
"renegotiateMaxRecordDelay": "indefinite",
|
||||
"renegotiatePeriod": "indefinite",
|
||||
"renegotiateSize": "indefinite",
|
||||
"renegotiation": "enabled",
|
||||
"retainCertificate": "true",
|
||||
"secureRenegotiation": "require",
|
||||
"serverName": "none",
|
||||
"sessionMirroring": "disabled",
|
||||
"sessionTicket": "disabled",
|
||||
"sessionTicketTimeout": 0,
|
||||
"sniDefault": "false",
|
||||
"sniRequire": "false",
|
||||
"sourceIpBlacklist": "none",
|
||||
"sourceIpWhitelist": "none",
|
||||
"sslForwardProxy": "disabled",
|
||||
"sslForwardProxyBypass": "disabled",
|
||||
"sslSignHash": "any",
|
||||
"strictResume": "disabled",
|
||||
"uncleanShutdown": "enabled",
|
||||
"certKeyChain": [
|
||||
{
|
||||
"name": "default",
|
||||
"appService": "none",
|
||||
"cert": "/Common/default.crt",
|
||||
"certReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~default.crt?ver=13.0.0"
|
||||
},
|
||||
"chain": "none",
|
||||
"key": "/Common/default.key",
|
||||
"keyReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/file/ssl-key/~Common~default.key?ver=13.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:dns:dnsstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 1211,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/dns/~Common~foo?ver=13.1.0.4",
|
||||
"appService": "none",
|
||||
"avrDnsstatSampleRate": 0,
|
||||
"cache": "none",
|
||||
"defaultsFrom": "/Common/dns",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/dns/~Common~dns?ver=13.1.0.4"
|
||||
},
|
||||
"description": "none",
|
||||
"dnsSecurity": "none",
|
||||
"dns64": "disabled",
|
||||
"dns64AdditionalSectionRewrite": "disabled",
|
||||
"dns64Prefix": "any6",
|
||||
"enableCache": "no",
|
||||
"enableDnsExpress": "no",
|
||||
"enableDnsFirewall": "yes",
|
||||
"enableDnssec": "no",
|
||||
"enableGtm": "no",
|
||||
"enableHardwareQueryValidation": "no",
|
||||
"enableHardwareResponseCache": "no",
|
||||
"enableLogging": "no",
|
||||
"enableRapidResponse": "no",
|
||||
"logProfile": "none",
|
||||
"processRd": "yes",
|
||||
"processXfr": "yes",
|
||||
"rapidResponseLastAction": "drop",
|
||||
"unhandledQueryAction": "allow",
|
||||
"useLocalBind": "no"
|
||||
}
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:http-compression:http-compressionstate",
|
||||
"name": "profile1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/profile1",
|
||||
"generation": 132,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/http-compression/~Common~profile1?ver=13.1.0.4",
|
||||
"allowHttp_10": "disabled",
|
||||
"appService": "none",
|
||||
"browserWorkarounds": "disabled",
|
||||
"bufferSize": 4096,
|
||||
"contentTypeExclude": [],
|
||||
"contentTypeInclude": [
|
||||
"text/",
|
||||
"application/(xml|x-javascript)"
|
||||
],
|
||||
"cpuSaver": "enabled",
|
||||
"cpuSaverHigh": 90,
|
||||
"cpuSaverLow": 75,
|
||||
"defaultsFrom": "/Common/httpcompression",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/http-compression/~Common~httpcompression?ver=13.1.0.4"
|
||||
},
|
||||
"description": "my profile",
|
||||
"gzipLevel": 1,
|
||||
"gzipMemoryLevel": 8192,
|
||||
"gzipWindowSize": 16384,
|
||||
"keepAcceptEncoding": "disabled",
|
||||
"methodPrefer": "gzip",
|
||||
"minSize": 1024,
|
||||
"selective": "disabled",
|
||||
"uriExclude": [],
|
||||
"uriInclude": [
|
||||
".*"
|
||||
],
|
||||
"varyHeader": "enabled"
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:one-connect:one-connectstate",
|
||||
"name": "oneconnect",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/oneconnect",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/one-connect/~Common~oneconnect?ver=13.1.0.4",
|
||||
"appService": "none",
|
||||
"defaultsFrom": "none",
|
||||
"description": "none",
|
||||
"idleTimeoutOverride": "disabled",
|
||||
"limitType": "none",
|
||||
"maxAge": 86400,
|
||||
"maxReuse": 1000,
|
||||
"maxSize": 10000,
|
||||
"sharePools": "disabled",
|
||||
"sourceMask": "any"
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"kind": "tm:ltm:persistence:cookie:cookiestate",
|
||||
"name": "cookie",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/cookie",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/persistence/cookie/~Common~cookie?ver=13.1.0.7",
|
||||
"alwaysSend": "disabled",
|
||||
"appService": "none",
|
||||
"cookieEncryption": "disabled",
|
||||
"cookieName": "none",
|
||||
"defaultsFrom": "none",
|
||||
"description": "none",
|
||||
"encryptCookiePoolname": "disabled",
|
||||
"expiration": "0",
|
||||
"hashLength": 0,
|
||||
"hashOffset": 0,
|
||||
"httponly": "enabled",
|
||||
"matchAcrossPools": "disabled",
|
||||
"matchAcrossServices": "disabled",
|
||||
"matchAcrossVirtuals": "disabled",
|
||||
"method": "insert",
|
||||
"mirror": "disabled",
|
||||
"overrideConnectionLimit": "disabled",
|
||||
"secure": "enabled",
|
||||
"timeout": "180"
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"kind": "tm:ltm:persistence:source-addr:source-addrstate",
|
||||
"name": "source_addr",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/source_addr",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/persistence/source-addr/~Common~source_addr?ver=13.1.0.7",
|
||||
"appService": "none",
|
||||
"defaultsFrom": "none",
|
||||
"description": "none",
|
||||
"hashAlgorithm": "default",
|
||||
"mapProxies": "enabled",
|
||||
"mapProxyAddress": "none",
|
||||
"mapProxyClass": "none",
|
||||
"mask": "none",
|
||||
"matchAcrossPools": "disabled",
|
||||
"matchAcrossServices": "disabled",
|
||||
"matchAcrossVirtuals": "disabled",
|
||||
"mirror": "disabled",
|
||||
"overrideConnectionLimit": "disabled",
|
||||
"timeout": "180"
|
||||
}
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:server-ssl:server-sslstate",
|
||||
"name": "asda",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asda",
|
||||
"generation": 160,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/server-ssl/~Common~asda?ver=13.1.0.8",
|
||||
"alertTimeout": "indefinite",
|
||||
"allowExpiredCrl": "disabled",
|
||||
"appService": "none",
|
||||
"authenticate": "once",
|
||||
"authenticateDepth": 9,
|
||||
"authenticateName": "none",
|
||||
"bypassOnClientCertFail": "disabled",
|
||||
"bypassOnHandshakeAlert": "disabled",
|
||||
"c3dCaCert": "none",
|
||||
"c3dCaKey": "none",
|
||||
"c3dCertExtensionCustomOids": [],
|
||||
"c3dCertExtensionIncludes": [
|
||||
"basic-constraints",
|
||||
"extended-key-usage",
|
||||
"key-usage",
|
||||
"subject-alternative-name"
|
||||
],
|
||||
"c3dCertLifespan": 24,
|
||||
"caFile": "none",
|
||||
"cacheSize": 262144,
|
||||
"cacheTimeout": 3600,
|
||||
"cert": "none",
|
||||
"chain": "/Common/default.crt",
|
||||
"chainReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/file/ssl-cert/~Common~default.crt?ver=13.1.0.8"
|
||||
},
|
||||
"cipherGroup": "none",
|
||||
"ciphers": "DEFAULT",
|
||||
"crlFile": "none",
|
||||
"defaultsFrom": "/Common/serverssl",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/server-ssl/~Common~serverssl?ver=13.1.0.8"
|
||||
},
|
||||
"description": "none",
|
||||
"expireCertResponseControl": "drop",
|
||||
"genericAlert": "enabled",
|
||||
"handshakeTimeout": "10",
|
||||
"key": "none",
|
||||
"maxActiveHandshakes": "indefinite",
|
||||
"modSslMethods": "disabled",
|
||||
"mode": "enabled",
|
||||
"ocsp": "none",
|
||||
"tmOptions": [
|
||||
"dont-insert-empty-fragments"
|
||||
],
|
||||
"peerCertMode": "ignore",
|
||||
"proxySsl": "disabled",
|
||||
"proxySslPassthrough": "disabled",
|
||||
"renegotiatePeriod": "indefinite",
|
||||
"renegotiateSize": "indefinite",
|
||||
"renegotiation": "enabled",
|
||||
"retainCertificate": "true",
|
||||
"secureRenegotiation": "require-strict",
|
||||
"serverName": "none",
|
||||
"sessionMirroring": "disabled",
|
||||
"sessionTicket": "disabled",
|
||||
"sniDefault": "false",
|
||||
"sniRequire": "false",
|
||||
"sslC3d": "disabled",
|
||||
"sslForwardProxy": "disabled",
|
||||
"sslForwardProxyBypass": "disabled",
|
||||
"sslSignHash": "any",
|
||||
"strictResume": "disabled",
|
||||
"uncleanShutdown": "enabled",
|
||||
"untrustedCertResponseControl": "drop"
|
||||
}
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:tcp:tcpstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 92,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/tcp/~Common~foo?ver=13.1.0.4",
|
||||
"abc": "enabled",
|
||||
"ackOnPush": "enabled",
|
||||
"appService": "none",
|
||||
"autoProxyBufferSize": "disabled",
|
||||
"autoReceiveWindowSize": "disabled",
|
||||
"autoSendBufferSize": "disabled",
|
||||
"closeWaitTimeout": 5,
|
||||
"cmetricsCache": "enabled",
|
||||
"cmetricsCacheTimeout": 0,
|
||||
"congestionControl": "high-speed",
|
||||
"defaultsFrom": "/Common/tcp",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/tcp/~Common~tcp?ver=13.1.0.4"
|
||||
},
|
||||
"deferredAccept": "disabled",
|
||||
"delayWindowControl": "disabled",
|
||||
"delayedAcks": "enabled",
|
||||
"description": "none",
|
||||
"dsack": "disabled",
|
||||
"earlyRetransmit": "enabled",
|
||||
"ecn": "enabled",
|
||||
"enhancedLossRecovery": "disabled",
|
||||
"fastOpen": "disabled",
|
||||
"fastOpenCookieExpiration": 21600,
|
||||
"finWait_2Timeout": 300,
|
||||
"finWaitTimeout": 5,
|
||||
"hardwareSynCookie": "enabled",
|
||||
"idleTimeout": 300,
|
||||
"initCwnd": 3,
|
||||
"initRwnd": 3,
|
||||
"ipDfMode": "pmtu",
|
||||
"ipTosToClient": "0",
|
||||
"ipTtlMode": "proxy",
|
||||
"ipTtlV4": 255,
|
||||
"ipTtlV6": 64,
|
||||
"keepAliveInterval": 1800,
|
||||
"limitedTransmit": "enabled",
|
||||
"linkQosToClient": "0",
|
||||
"maxRetrans": 8,
|
||||
"maxSegmentSize": 1460,
|
||||
"md5Signature": "disabled",
|
||||
"minimumRto": 1000,
|
||||
"mptcp": "disabled",
|
||||
"mptcpCsum": "disabled",
|
||||
"mptcpCsumVerify": "disabled",
|
||||
"mptcpDebug": "disabled",
|
||||
"mptcpFallback": "reset",
|
||||
"mptcpFastjoin": "disabled",
|
||||
"mptcpIdleTimeout": 300,
|
||||
"mptcpJoinMax": 5,
|
||||
"mptcpMakeafterbreak": "disabled",
|
||||
"mptcpNojoindssack": "disabled",
|
||||
"mptcpRtomax": 5,
|
||||
"mptcpRxmitmin": 1000,
|
||||
"mptcpSubflowmax": 6,
|
||||
"mptcpTimeout": 3600,
|
||||
"nagle": "disabled",
|
||||
"pktLossIgnoreBurst": 0,
|
||||
"pktLossIgnoreRate": 0,
|
||||
"proxyBufferHigh": 49152,
|
||||
"proxyBufferLow": 32768,
|
||||
"proxyMss": "enabled",
|
||||
"proxyOptions": "disabled",
|
||||
"pushFlag": "default",
|
||||
"ratePace": "disabled",
|
||||
"ratePaceMaxRate": 0,
|
||||
"receiveWindowSize": 65535,
|
||||
"resetOnTimeout": "enabled",
|
||||
"rexmtThresh": 3,
|
||||
"selectiveAcks": "enabled",
|
||||
"selectiveNack": "disabled",
|
||||
"sendBufferSize": 65535,
|
||||
"slowStart": "enabled",
|
||||
"synCookieEnable": "enabled",
|
||||
"synCookieWhitelist": "disabled",
|
||||
"synMaxRetrans": 3,
|
||||
"synRtoBase": 3000,
|
||||
"tailLossProbe": "disabled",
|
||||
"tcpOptions": "none",
|
||||
"timeWaitRecycle": "enabled",
|
||||
"timeWaitTimeout": "2000",
|
||||
"timestamps": "enabled",
|
||||
"verifiedAccept": "disabled",
|
||||
"zeroWindowTimeout": 20000
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"kind": "tm:ltm:profile:udp:udpstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 107,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/profile/udp/~Common~foo?ver=13.1.0.4",
|
||||
"allowNoPayload": "disabled",
|
||||
"appService": "none",
|
||||
"bufferMaxBytes": 655350,
|
||||
"bufferMaxPackets": 0,
|
||||
"datagramLoadBalancing": "disabled",
|
||||
"defaultsFrom": "/Common/udp",
|
||||
"defaultsFromReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/udp/~Common~udp?ver=13.1.0.4"
|
||||
},
|
||||
"description": "none",
|
||||
"idleTimeout": "60",
|
||||
"ipDfMode": "pmtu",
|
||||
"ipTosToClient": "0",
|
||||
"ipTtlMode": "proxy",
|
||||
"ipTtlV4": 255,
|
||||
"ipTtlV6": 64,
|
||||
"linkQosToClient": "0",
|
||||
"noChecksum": "disabled",
|
||||
"proxyMss": "disabled"
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"address": "1.1.1.1",
|
||||
"arp": "no",
|
||||
"connectionLimit": 0,
|
||||
"description": "My description",
|
||||
"ip_idle_timeout":"50",
|
||||
"kind": "tm:ltm:snat-translation:snat-translationstate",
|
||||
"name": "my-snat-translation",
|
||||
"partition": "Common",
|
||||
"state":"present",
|
||||
"enabled":"true",
|
||||
"tcp_idle_timeout":"20",
|
||||
"trafficGroup": "/Common/test",
|
||||
"udp_idle_timeout":"100"
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"kind": "tm:ltm:snatpool:snatpoolstate",
|
||||
"name": "asdasd",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdasd",
|
||||
"generation": 40,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/snatpool/~Common~asdasd?ver=12.1.2",
|
||||
"members": [
|
||||
"/Common/1.1.1.1",
|
||||
"/Common/2.2.2.2"
|
||||
],
|
||||
"membersReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/ltm/snat-translation/~Common~1.1.1.1?ver=12.1.2"
|
||||
},
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/ltm/snat-translation/~Common~2.2.2.2?ver=12.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"kind": "tm:ltm:virtual:virtualstate",
|
||||
"name": "my-virtual-server",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/my-virtual-server",
|
||||
"generation": 65,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server?ver=12.1.2",
|
||||
"addressStatus": "yes",
|
||||
"autoLasthop": "default",
|
||||
"cmpEnabled": "yes",
|
||||
"connectionLimit": 0,
|
||||
"destination": "/Common/10.10.10.10:443",
|
||||
"enabled": true,
|
||||
"gtmScore": 0,
|
||||
"ipProtocol": "any",
|
||||
"mask": "255.255.255.255",
|
||||
"mirror": "disabled",
|
||||
"mobileAppTunnel": "disabled",
|
||||
"nat64": "disabled",
|
||||
"rateLimit": "disabled",
|
||||
"rateLimitDstMask": 0,
|
||||
"rateLimitMode": "object",
|
||||
"rateLimitSrcMask": 0,
|
||||
"serviceDownImmediateAction": "none",
|
||||
"source": "0.0.0.0/0",
|
||||
"sourceAddressTranslation": {
|
||||
"type": "automap"
|
||||
},
|
||||
"sourcePort": "preserve",
|
||||
"synCookieStatus": "not-activated",
|
||||
"translateAddress": "enabled",
|
||||
"translatePort": "enabled",
|
||||
"vlansDisabled": true,
|
||||
"vsIndex": 2,
|
||||
"policiesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/policies?ver=12.1.2",
|
||||
"isSubcollection": true
|
||||
},
|
||||
"profilesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles?ver=12.1.2",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:virtual-address:virtual-addressstate",
|
||||
"name": "10.10.10.10",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/10.10.10.10",
|
||||
"generation": 116,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual-address/~Common~10.10.10.10?ver=12.1.2",
|
||||
"address": "10.10.10.10",
|
||||
"arp": "enabled",
|
||||
"autoDelete": "true",
|
||||
"connectionLimit": 0,
|
||||
"enabled": "yes",
|
||||
"floating": "enabled",
|
||||
"icmpEcho": "enabled",
|
||||
"inheritedTrafficGroup": "false",
|
||||
"mask": "255.255.255.255",
|
||||
"routeAdvertisement": "enabled",
|
||||
"serverScope": "any",
|
||||
"spanning": "disabled",
|
||||
"trafficGroup": "/Common/traffic-group-1",
|
||||
"trafficGroupReference": {
|
||||
"link": "https://localhost/mgmt/tm/cm/traffic-group/~Common~traffic-group-1?ver=12.1.2"
|
||||
},
|
||||
"unit": 1
|
||||
}
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"kind": "tm:ltm:virtual:virtualstate",
|
||||
"name": "my-virtual-server",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/my-virtual-server",
|
||||
"generation": 152,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server?ver=12.1.2",
|
||||
"addressStatus": "yes",
|
||||
"autoLasthop": "default",
|
||||
"cmpEnabled": "yes",
|
||||
"connectionLimit": 0,
|
||||
"destination": "/Common/10.10.10.10:443",
|
||||
"enabled": true,
|
||||
"gtmScore": 0,
|
||||
"ipProtocol": "any",
|
||||
"mask": "255.255.255.255",
|
||||
"mirror": "disabled",
|
||||
"mobileAppTunnel": "disabled",
|
||||
"nat64": "disabled",
|
||||
"rateLimit": "disabled",
|
||||
"rateLimitDstMask": 0,
|
||||
"rateLimitMode": "object",
|
||||
"rateLimitSrcMask": 0,
|
||||
"serviceDownImmediateAction": "none",
|
||||
"source": "0.0.0.0/0",
|
||||
"sourceAddressTranslation": {
|
||||
"type": "automap"
|
||||
},
|
||||
"sourcePort": "preserve",
|
||||
"synCookieStatus": "not-activated",
|
||||
"translateAddress": "enabled",
|
||||
"translatePort": "enabled",
|
||||
"vlansDisabled": true,
|
||||
"vsIndex": 19,
|
||||
"vlans": [
|
||||
"/Common/net1"
|
||||
],
|
||||
"vlansReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/net/vlan/~Common~net1?ver=12.1.2"
|
||||
}
|
||||
],
|
||||
"policiesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/policies?ver=12.1.2",
|
||||
"isSubcollection": true
|
||||
},
|
||||
"profilesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles?ver=12.1.2",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:virtual:profiles:profilesstate",
|
||||
"name": "fastL4",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/fastL4",
|
||||
"generation": 148,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles/~Common~fastL4?ver=12.1.2",
|
||||
"context": "all",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/fastl4/~Common~fastL4?ver=12.1.2"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
{
|
||||
"kind": "tm:ltm:virtual:virtualstate",
|
||||
"name": "my-virtual-server",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/my-virtual-server",
|
||||
"generation": 340,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server?expandSubcollections=true&ver=12.0.0",
|
||||
"addressStatus": "yes",
|
||||
"autoLasthop": "default",
|
||||
"cmpEnabled": "yes",
|
||||
"connectionLimit": 0,
|
||||
"description": "Test Virtual Server",
|
||||
"destination": "/Common/10.10.10.10:443",
|
||||
"enabled": true,
|
||||
"gtmScore": 0,
|
||||
"ipProtocol": "tcp",
|
||||
"mask": "255.255.255.255",
|
||||
"mirror": "disabled",
|
||||
"mobileAppTunnel": "disabled",
|
||||
"nat64": "disabled",
|
||||
"rateLimit": "disabled",
|
||||
"rateLimitDstMask": 0,
|
||||
"rateLimitMode": "object",
|
||||
"rateLimitSrcMask": 0,
|
||||
"serviceDownImmediateAction": "none",
|
||||
"source": "0.0.0.0/0",
|
||||
"sourceAddressTranslation": {
|
||||
"type": "automap"
|
||||
},
|
||||
"sourcePort": "preserve",
|
||||
"synCookieStatus": "not-activated",
|
||||
"translateAddress": "enabled",
|
||||
"translatePort": "enabled",
|
||||
"vlansDisabled": true,
|
||||
"vsIndex": 38,
|
||||
"rules": [
|
||||
"/Common/web_logging"
|
||||
],
|
||||
"rulesReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/ltm/rule/~Common~web_logging?ver=12.0.0"
|
||||
}
|
||||
],
|
||||
"policiesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/policies?ver=12.0.0",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:virtual:policies:policiesstate",
|
||||
"name": "policy1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/policy1",
|
||||
"generation": 340,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/policies/~Common~policy1?ver=12.0.0",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/policy/~Common~policy1?ver=12.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"profilesReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles?ver=12.0.0",
|
||||
"isSubcollection": true,
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:virtual:profiles:profilesstate",
|
||||
"name": "clientssl",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/clientssl",
|
||||
"generation": 338,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles/~Common~clientssl?ver=12.0.0",
|
||||
"context": "clientside",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/client-ssl/~Common~clientssl?ver=12.0.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "tm:ltm:virtual:profiles:profilesstate",
|
||||
"name": "http",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/http",
|
||||
"generation": 338,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles/~Common~http?ver=12.0.0",
|
||||
"context": "all",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/http/~Common~http?ver=12.0.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "tm:ltm:virtual:profiles:profilesstate",
|
||||
"name": "tcp",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/tcp",
|
||||
"generation": 338,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles/~Common~tcp?ver=12.0.0",
|
||||
"context": "clientside",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/tcp/~Common~tcp?ver=12.0.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "tm:ltm:virtual:profiles:profilesstate",
|
||||
"name": "tcp-legacy",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/tcp-legacy",
|
||||
"generation": 338,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual/~Common~my-virtual-server/profiles/~Common~tcp-legacy?ver=12.0.0",
|
||||
"context": "serverside",
|
||||
"nameReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/profile/tcp/~Common~tcp-legacy?ver=12.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"kind": "tm:ltm:virtual-address:virtual-addresscollectionstate",
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual-address?ver=13.1.0.4",
|
||||
"items": [
|
||||
{
|
||||
"kind": "tm:ltm:virtual-address:virtual-addressstate",
|
||||
"name": "2.3.4.5",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/2.3.4.5",
|
||||
"generation": 1074,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual-address/~Common~2.3.4.5?ver=13.1.0.4",
|
||||
"address": "2.3.4.5",
|
||||
"arp": "enabled",
|
||||
"autoDelete": "true",
|
||||
"connectionLimit": 0,
|
||||
"enabled": "yes",
|
||||
"floating": "enabled",
|
||||
"icmpEcho": "enabled",
|
||||
"inheritedTrafficGroup": "false",
|
||||
"mask": "255.255.255.255",
|
||||
"routeAdvertisement": "disabled",
|
||||
"serverScope": "any",
|
||||
"spanning": "disabled",
|
||||
"trafficGroup": "/Common/traffic-group-1",
|
||||
"trafficGroupReference": {
|
||||
"link": "https://localhost/mgmt/tm/cm/traffic-group/~Common~traffic-group-1?ver=13.1.0.4"
|
||||
},
|
||||
"unit": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:virtual-address:virtual-addressstate",
|
||||
"name": "1.1.1.1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/1.1.1.1",
|
||||
"generation": 116,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/virtual-address/~Common~1.1.1.1?ver=12.1.2",
|
||||
"address": "1.1.1.1",
|
||||
"arp": "enabled",
|
||||
"autoDelete": "true",
|
||||
"connectionLimit": 0,
|
||||
"enabled": "yes",
|
||||
"floating": "enabled",
|
||||
"icmpEcho": "enabled",
|
||||
"inheritedTrafficGroup": "false",
|
||||
"mask": "255.255.255.255",
|
||||
"routeAdvertisement": "disabled",
|
||||
"serverScope": "any",
|
||||
"spanning": "disabled",
|
||||
"trafficGroup": "/Common/traffic-group-1",
|
||||
"trafficGroupReference": {
|
||||
"link": "https://localhost/mgmt/tm/cm/traffic-group/~Common~traffic-group-1?ver=12.1.2"
|
||||
},
|
||||
"unit": 1
|
||||
}
|
||||
|
|
@ -0,0 +1,187 @@
|
|||
{
|
||||
"uuid": "4dd9f559-c1b9-4e05-8d17-2345a6a3d459",
|
||||
"deviceUri": "https://10.144.74.229:443",
|
||||
"machineId": "4dd9f559-c1b9-4e05-8d17-2345a6a3d459",
|
||||
"state": "ACTIVE",
|
||||
"address": "10.144.74.229",
|
||||
"httpsPort": 443,
|
||||
"hostname": "ansible_test_lab12.lab.local",
|
||||
"version": "12.1.3",
|
||||
"product": "BIG-IP",
|
||||
"edition": "Final",
|
||||
"build": "0.0.378",
|
||||
"restFrameworkVersion": "12.1.3-0.0.378",
|
||||
"managementAddress": "10.144.74.229",
|
||||
"mcpDeviceName": "/Common/ansible_test_lab12.lab.local",
|
||||
"trustDomainGuid": "44135337-f809-480d-ab6ffa163edc9ff6",
|
||||
"properties": {
|
||||
"cm:gui:module": [
|
||||
"asmsecurity",
|
||||
"adc",
|
||||
"BigIPDevice",
|
||||
"sharedsecurity"
|
||||
],
|
||||
"modules": [
|
||||
"Web Application Security Group",
|
||||
"Security"
|
||||
],
|
||||
"cm-bigip-allBigIpDevices": {
|
||||
"cm:gui:module": [
|
||||
"asmsecurity",
|
||||
"adc",
|
||||
"BigIPDevice",
|
||||
"sharedsecurity"
|
||||
],
|
||||
"shared:resolver:device-groups:discoverer": "13446925-efb3-47f4-b32c-ed705d29e878",
|
||||
"modules": [
|
||||
"Web Application Security Group",
|
||||
"Security"
|
||||
]
|
||||
},
|
||||
"cm-asm-allDevices": {
|
||||
"cm:gui:module": [],
|
||||
"modules": []
|
||||
},
|
||||
"cm-bigip-allDevices": {
|
||||
"shared:resolver:device-groups:discoverer": "13446925-efb3-47f4-b32c-ed705d29e878",
|
||||
"cm:gui:module": [],
|
||||
"modules": []
|
||||
},
|
||||
"cm-adccore-allDevices": {
|
||||
"cm:gui:module": [],
|
||||
"modules": []
|
||||
},
|
||||
"cm-security-shared-allSharedDevices": {
|
||||
"discovered": true,
|
||||
"imported": true,
|
||||
"supportsAlpineDosDeviceConfig": true,
|
||||
"supports_14_0_Enhs": false,
|
||||
"supportsRest": true,
|
||||
"supportsAlpineDosProfileEnhs": true,
|
||||
"requiresDhcpProfileInDhcpVirtualServer": true,
|
||||
"supportsAfmSubscribers": false,
|
||||
"supportsAlpineEnhs": true,
|
||||
"supports_13_0_Enhs": false,
|
||||
"supportsFirewallRuleIdentifiers": false,
|
||||
"supportsBadgerEnhs": true,
|
||||
"supportsAlpineDosDeviceWhitelistIpProcotol": true,
|
||||
"supportsSshProfile": true,
|
||||
"supportsPortMisusePolicy": true,
|
||||
"supportsAlpineLogProfileEnhs": true,
|
||||
"supportsCascadeEnhs": true,
|
||||
"supportUdpPortList": true,
|
||||
"supports_13_1_Enhs": false,
|
||||
"supportsIncrementalDiscovery": false,
|
||||
"lastDiscoveredDateTime": "2019-02-12T13:53:06.541Z",
|
||||
"lastUserDiscoveredDateTime": "2019-02-12T13:53:06.541Z",
|
||||
"importedDateTime": "2019-02-12T13:53:24.885Z",
|
||||
"discoveryStatus": "FINISHED",
|
||||
"importStatus": "FINISHED",
|
||||
"cm:gui:module": [
|
||||
"sharedsecurity"
|
||||
],
|
||||
"modules": [
|
||||
"Security"
|
||||
]
|
||||
},
|
||||
"cm-adccore-allbigipDevices": {
|
||||
"discovered": true,
|
||||
"imported": true,
|
||||
"supportsRest": true,
|
||||
"requiresDhcpProfileInDhcpVirtualServer": true,
|
||||
"supportsAlpineEnhs": true,
|
||||
"supports_13_0_Enhs": false,
|
||||
"supportsFirewallRuleIdentifiers": false,
|
||||
"supportsBadgerEnhs": true,
|
||||
"restrictsPortTranslationStatelessVirtual": true,
|
||||
"supportsClassification": true,
|
||||
"supports_13_1_Enhs": false,
|
||||
"supportsIncrementalDiscovery": false,
|
||||
"supports_12_1_2_Enhs": true,
|
||||
"lastDiscoveredDateTime": "2019-02-12T13:53:03.963Z",
|
||||
"lastUserDiscoveredDateTime": "2019-02-12T13:53:03.963Z",
|
||||
"importedDateTime": "2019-02-12T13:53:18.975Z",
|
||||
"discoveryStatus": "FINISHED",
|
||||
"importStatus": "FINISHED",
|
||||
"cm:gui:module": [
|
||||
"adc"
|
||||
],
|
||||
"modules": []
|
||||
},
|
||||
"cm-security-shared-allDevices": {
|
||||
"cm:gui:module": [],
|
||||
"modules": []
|
||||
},
|
||||
"cm-asm-allAsmDevices": {
|
||||
"discovered": true,
|
||||
"imported": true,
|
||||
"supportsHostNameEnforcementMode": false,
|
||||
"supportsRest": true,
|
||||
"supportsServerTechnologies": false,
|
||||
"supportsCpb": false,
|
||||
"supportsUrlCascadeFeatures": true,
|
||||
"supportsSessionTrackingAllLoginPagesUsernameSource": true,
|
||||
"supportsLoginEnforcementCascadeFeatures": true,
|
||||
"suppportsXmlValidationFiles": true,
|
||||
"supportsExtractions": true,
|
||||
"supportsWebSocketSecurity": true,
|
||||
"supportsWhitelistIpBlockRequestAlways": false,
|
||||
"supportsSessionTrackingSessionHijackingByDeviceId": true,
|
||||
"supportsLoginPagesHeaderOmits": false,
|
||||
"supportsBruteForceAttackPreventionsCascadeFeatures": true,
|
||||
"supportsPlainTextProfile": true,
|
||||
"supportsIncrementalDiscovery": false,
|
||||
"supportsRedirectionProtection": true,
|
||||
"supportsHeaderSignaturesOverride": false,
|
||||
"supportsIpIntelligence": true,
|
||||
"supports_13_0_Enhs": false,
|
||||
"supportsFirewallRuleIdentifiers": false,
|
||||
"supportsSessionTrackingDeviceIdThresholds": true,
|
||||
"supportsLoginEnforcement": true,
|
||||
"supportsCsrfProtection": true,
|
||||
"supportsSessionTracking": true,
|
||||
"supportsJsonProfiles": true,
|
||||
"supportsBruteForceAttackPreventions": true,
|
||||
"supportsWebScraping": true,
|
||||
"supportsLoginPagesCascadeFeatures": true,
|
||||
"supportsGwtProfiles": true,
|
||||
"supportsXmlProfiles": true,
|
||||
"supportsAsmDisallowedGeolocation": true,
|
||||
"supportsCsrfUrls": false,
|
||||
"supportsDataProtection": false,
|
||||
"supportsLoginPages": true,
|
||||
"supportsBruteForceAttackPreventionsBadgerFeatures": true,
|
||||
"supportsUrlSignaturesOverride": false,
|
||||
"signatureAutoUpdateState": true,
|
||||
"signatureFileVersion": 1.450112674E12,
|
||||
"signatureFilename": "Attack Signature Database packaged with version 12.1.3",
|
||||
"lastDiscoveredDateTime": "2019-02-12T13:53:09.188Z",
|
||||
"lastUserDiscoveredDateTime": "2019-02-12T13:53:09.188Z",
|
||||
"importedDateTime": "2019-02-12T13:53:29.730Z",
|
||||
"discoveryStatus": "FINISHED",
|
||||
"importStatus": "FINISHED",
|
||||
"cm:gui:module": [
|
||||
"asmsecurity"
|
||||
],
|
||||
"modules": [
|
||||
"Web Application Security Group"
|
||||
]
|
||||
}
|
||||
},
|
||||
"isClustered": false,
|
||||
"isVirtual": true,
|
||||
"isLicenseExpired": false,
|
||||
"slots": [
|
||||
{
|
||||
"volume": "HD1.1",
|
||||
"product": "BIG-IP",
|
||||
"version": "12.1.3",
|
||||
"build": "0.0.378",
|
||||
"isActive": true
|
||||
}
|
||||
],
|
||||
"generation": 4,
|
||||
"lastUpdateMicros": 1549979318078796,
|
||||
"kind": "shared:resolver:device-groups:restdeviceresolverdevicestate",
|
||||
"selfLink": "https://localhost/mgmt/cm/system/machineid-resolver/4dd9f559-c1b9-4e05-8d17-2345a6a3d459"
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"kind": "tm:net:dns-resolver:dns-resolverstate",
|
||||
"name": "foo",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo",
|
||||
"generation": 173,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/dns-resolver/~Common~foo?ver=13.1.0.8",
|
||||
"answerDefaultZones": "no",
|
||||
"cacheSize": 5767168,
|
||||
"randomizeQueryNameCase": "yes",
|
||||
"routeDomain": "/Common/0",
|
||||
"routeDomainReference": {
|
||||
"link": "https://localhost/mgmt/tm/net/route-domain/~Common~0?ver=13.1.0.8"
|
||||
},
|
||||
"useIpv4": "no",
|
||||
"useIpv6": "yes",
|
||||
"useTcp": "yes",
|
||||
"useUdp": "yes"
|
||||
}
|
||||
|
|
@ -0,0 +1,424 @@
|
|||
[
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "1.1",
|
||||
"fullPath": "1.1",
|
||||
"generation": 7767,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/1.1?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 176,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:02",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "1000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "1.2",
|
||||
"fullPath": "1.2",
|
||||
"generation": 7770,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/1.2?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 192,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:03",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "1000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "1.3",
|
||||
"fullPath": "1.3",
|
||||
"generation": 7773,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/1.3?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 208,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:04",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "1000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "1.4",
|
||||
"fullPath": "1.4",
|
||||
"generation": 7776,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/1.4?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 224,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:05",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "1000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.1",
|
||||
"fullPath": "2.1",
|
||||
"generation": 7859,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.1?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 240,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:06",
|
||||
"mediaActive": "10000SR-FD",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"moduleDescription": "F5 compatible optics",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"serial": "ARP2LGU",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto",
|
||||
"vendor": "F5 NETWORKS INC.",
|
||||
"vendorOui": "009065",
|
||||
"vendorPartnum": "OPT-0016",
|
||||
"vendorRevision": "A0"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.2",
|
||||
"fullPath": "2.2",
|
||||
"generation": 7746,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.2?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 256,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:07",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.3",
|
||||
"fullPath": "2.3",
|
||||
"generation": 7749,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.3?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 272,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:08",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.4",
|
||||
"fullPath": "2.4",
|
||||
"generation": 7752,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.4?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 288,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:09",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.5",
|
||||
"fullPath": "2.5",
|
||||
"generation": 7755,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.5?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 304,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:0a",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.6",
|
||||
"fullPath": "2.6",
|
||||
"generation": 7758,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.6?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 320,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:0b",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.7",
|
||||
"fullPath": "2.7",
|
||||
"generation": 7761,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.7?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 336,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:0c",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "2.8",
|
||||
"fullPath": "2.8",
|
||||
"generation": 7764,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/2.8?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 352,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:0d",
|
||||
"mediaActive": "none",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "10000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 9198,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
},
|
||||
{
|
||||
"kind": "tm:net:interface:interfacestate",
|
||||
"name": "mgmt",
|
||||
"fullPath": "mgmt",
|
||||
"generation": 7651,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/interface/mgmt?ver=12.1.0",
|
||||
"bundle": "not-supported",
|
||||
"bundleSpeed": "not-supported",
|
||||
"enabled": true,
|
||||
"flowControl": "tx-rx",
|
||||
"forceGigabitFiber": "disabled",
|
||||
"forwardErrorCorrection": "not-supported",
|
||||
"ifIndex": 96,
|
||||
"lldpAdmin": "txonly",
|
||||
"lldpTlvmap": 130943,
|
||||
"macAddress": "00:23:e9:f1:e4:01",
|
||||
"mediaActive": "1000T-FD",
|
||||
"mediaFixed": "auto",
|
||||
"mediaMax": "1000T-FD",
|
||||
"mediaSfp": "auto",
|
||||
"mtu": 1500,
|
||||
"preferPort": "sfp",
|
||||
"qinqEthertype": "0x8100",
|
||||
"sflow": {
|
||||
"pollInterval": 0,
|
||||
"pollIntervalGlobal": "yes"
|
||||
},
|
||||
"stp": "enabled",
|
||||
"stpAutoEdgePort": "enabled",
|
||||
"stpEdgePort": "true",
|
||||
"stpLinkType": "auto"
|
||||
}
|
||||
]
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "foo.bar.com",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/foo.bar.com",
|
||||
"generation": 157,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~foo.bar.com?ver=12.0.0",
|
||||
"address": "any6",
|
||||
"connectionLimit": 0,
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "enabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600",
|
||||
"tmName": "foo.bar.com"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "default",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "user-enabled",
|
||||
"state": "fqdn-up-no-addr"
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"kind": "tm:ltm:node:nodestate",
|
||||
"name": "7.3.67.8",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/7.3.67.8",
|
||||
"generation": 162,
|
||||
"selfLink": "https://localhost/mgmt/tm/ltm/node/~Common~7.3.67.8?ver=12.0.0",
|
||||
"address": "7.3.67.8",
|
||||
"connectionLimit": 0,
|
||||
"dynamicRatio": 1,
|
||||
"ephemeral": "false",
|
||||
"fqdn": {
|
||||
"addressFamily": "ipv4",
|
||||
"autopopulate": "disabled",
|
||||
"downInterval": 5,
|
||||
"interval": "3600"
|
||||
},
|
||||
"logging": "disabled",
|
||||
"monitor": "default",
|
||||
"rateLimit": "disabled",
|
||||
"ratio": 1,
|
||||
"session": "user-enabled",
|
||||
"state": "unchecked"
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"kind": "tm:net:route:routestate",
|
||||
"name": "asdasd",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/asdasd",
|
||||
"generation": 113,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/route/~Common~asdasd?ver=12.1.0",
|
||||
"description": "asdasd",
|
||||
"mtu": 0,
|
||||
"network": "2.2.2.2/32",
|
||||
"pool": "/Common/adsasd",
|
||||
"poolReference": {
|
||||
"link": "https://localhost/mgmt/tm/ltm/pool/~Common~adsasd?ver=12.1.0"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"kind": "tm:net:route-domain:route-domainstate",
|
||||
"name": "0",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/0",
|
||||
"generation": 1,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/route-domain/~Common~0?ver=13.1.0",
|
||||
"connectionLimit": 0,
|
||||
"id": 0,
|
||||
"strict": "enabled",
|
||||
"throughputCapacity": 0,
|
||||
"vlans": [
|
||||
"/Common/net1",
|
||||
"/Common/internal",
|
||||
"/Common/net2",
|
||||
"/Common/socks-tunnel",
|
||||
"/Common/http-tunnel"
|
||||
],
|
||||
"vlansReference": [
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/net/vlan/~Common~net1?ver=13.1.0"
|
||||
},
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/net/vlan/~Common~internal?ver=13.1.0"
|
||||
},
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/net/vlan/~Common~net2?ver=13.1.0"
|
||||
},
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/net/tunnels/tunnel/~Common~socks-tunnel?ver=13.1.0"
|
||||
},
|
||||
{
|
||||
"link": "https://localhost/mgmt/tm/net/tunnels/tunnel/~Common~http-tunnel?ver=13.1.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"kind": "tm:net:service-policy:service-policystate",
|
||||
"name": "baz",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/baz",
|
||||
"generation": 581,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/service-policy/~Common~baz?ver=13.1.0.4",
|
||||
"description": "my description",
|
||||
"portMisusePolicy": "/Common/bar",
|
||||
"portMisusePolicyReference": {
|
||||
"link": "https://localhost/mgmt/tm/security/firewall/port-misuse-policy/~Common~bar?ver=13.1.0.4"
|
||||
},
|
||||
"timerPolicy": "/Common/foo",
|
||||
"timerPolicyReference": {
|
||||
"link": "https://localhost/mgmt/tm/net/timer-policy/~Common~foo?ver=13.1.0.4"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"kind": "tm:net:timer-policy:timer-policystate",
|
||||
"name": "timer1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/timer1",
|
||||
"generation": 148,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/timer-policy/~Common~timer1?ver=13.1.0.4",
|
||||
"description": "my description"
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"kind": "tm:net:tunnels:tunnel:tunnelstate",
|
||||
"name": "tunnel1",
|
||||
"partition": "Common",
|
||||
"fullPath": "/Common/tunnel1",
|
||||
"generation": 3713,
|
||||
"selfLink": "https://localhost/mgmt/tm/net/tunnels/tunnel/~Common~tunnel1?ver=13.1.0.7",
|
||||
"autoLasthop": "default",
|
||||
"description": "my other tunnel",
|
||||
"idleTimeout": 300,
|
||||
"ifIndex": 736,
|
||||
"key": 0,
|
||||
"localAddress": "3.3.3.3",
|
||||
"mode": "bidirectional",
|
||||
"mtu": 1000,
|
||||
"profile": "/Common/ipip",
|
||||
"profileReference": {
|
||||
"link": "https://localhost/mgmt/tm/net/tunnels/ipip/~Common~ipip?ver=13.1.0.7"
|
||||
},
|
||||
"remoteAddress": "4.4.4.4",
|
||||
"secondaryAddress": "any6",
|
||||
"tos": "preserve",
|
||||
"transparent": "disabled",
|
||||
"usePmtu": "enabled"
|
||||
}
|
||||
13
tests/unit/plugins/modules/network/f5/fixtures/load_ntp.json
Normal file
13
tests/unit/plugins/modules/network/f5/fixtures/load_ntp.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"kind": "tm:sys:ntp:ntpstate",
|
||||
"selfLink": "https://localhost/mgmt/tm/sys/ntp?ver=12.1.0",
|
||||
"servers": [
|
||||
"192.168.1.1",
|
||||
"192.168.1.2"
|
||||
],
|
||||
"timezone": "America/Los_Angeles",
|
||||
"restrictReference": {
|
||||
"link": "https://localhost/mgmt/tm/sys/ntp/restrict?ver=12.1.0",
|
||||
"isSubcollection": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
{
|
||||
"description": "foo bar baz",
|
||||
"dossier": "5d54d976",
|
||||
"encryptedPrivateKey": [
|
||||
27,
|
||||
-10,
|
||||
12,
|
||||
58,
|
||||
75
|
||||
],
|
||||
"generation": 2,
|
||||
"internalPrivateKey": "sKpXEU7",
|
||||
"kind": "cm:device:licensing:pool:regkey:licenses:item:offerings:regkeypoollicenseofferingstate",
|
||||
"lastUpdateMicros": 1513107721123304,
|
||||
"licenseState": {
|
||||
"vendor": "F5 Networks, Inc.",
|
||||
"licensedDateTime": "2017-12-12T00:00:00-08:00",
|
||||
"licensedVersion": "5.3.0",
|
||||
"evaluationStartDateTime": "2017-12-11T00:00:00-08:00",
|
||||
"evaluationEndDateTime": "2018-01-12T00:00:00-08:00",
|
||||
"licenseEndDateTime": "2018-01-12T00:00:00-08:00",
|
||||
"licenseStartDateTime": "2017-12-11T00:00:00-08:00",
|
||||
"registrationKey": "XXXX-XXXX-XXXX-XXXX-XXXX",
|
||||
"dossier": "1a44262799bc",
|
||||
"authorization": "03fc41d1e8666",
|
||||
"usage": "F5 Internal Product Development",
|
||||
"platformId": "Z100",
|
||||
"authVers": "5b",
|
||||
"serviceCheckDateTime": "2017-12-12T00:00:00-08:00",
|
||||
"serviceStatus": "As of 2017-12-12 there is no active service contract. This may inhibit your ability to upgrade your software.",
|
||||
"exclusivePlatform": [
|
||||
"Z100",
|
||||
"Z100A",
|
||||
"Z100AzureCloud",
|
||||
"Z100GoogleCloud",
|
||||
"Z100K",
|
||||
"Z100x",
|
||||
"Z100H"
|
||||
],
|
||||
"activeModules": [
|
||||
"APM, Max, VE (2500 CCU, 10000 Access Sessions)|P961057-1761515|Anti-Virus Checks",
|
||||
"LTM, 10 Gbps, VE|T487107-2453693|, VE|DNSSEC",
|
||||
"PEM, VE|X895364-1851682"
|
||||
],
|
||||
"optionalModules": [
|
||||
"APM, Base, VE (50 CCU / 200 AS)",
|
||||
"App Mode (TMSH Only, No Root/Bash)",
|
||||
"Concurrent Users",
|
||||
"Concurrent Users and Access Sessions, VE",
|
||||
"FIPS 140-2 Level 1, BIG-IP VE-1G to 10G",
|
||||
"IP Intelligence, 1Yr, VE",
|
||||
"IP Intelligence, 1Yr, VE-10G",
|
||||
"IP Intelligence, 3Yr, VE-10G",
|
||||
"LTM to Better Bundle Upgrade, 10Gbps",
|
||||
"PEM URL Filtering, 1Yr, HIGH PERF",
|
||||
"PEM URL Filtering, 3Yr, HIGH PERF",
|
||||
"Routing Bundle",
|
||||
"Secure Web Gateway, 1Yr, VE",
|
||||
"URL Filtering, 1Yr, VE"
|
||||
],
|
||||
"moduleEvaluations": [
|
||||
{
|
||||
"moduleName": "IP Intelligence, 3Yr, VE|SUBSCRIPTION",
|
||||
"endDate": "soon"
|
||||
},
|
||||
{
|
||||
"moduleName": "Secure Web Gateway, 3Yr, VE|SUBSCRIPTION",
|
||||
"endDate": "soon"
|
||||
},
|
||||
{
|
||||
"moduleName": "URL Filtering, 3Yr, VE|SUBSCRIPTION",
|
||||
"endDate": "soon"
|
||||
}
|
||||
],
|
||||
"featureFlags": [
|
||||
{
|
||||
"featureName": "gtm_rate_limit",
|
||||
"featureValue": "12345"
|
||||
}
|
||||
],
|
||||
"generation": 0,
|
||||
"lastUpdateMicros": 0
|
||||
},
|
||||
"licenseText": "#Auth vers : BIG-IQ Product License File#",
|
||||
"message": "License XXXX-XXXX-XXXX-XXXX-XXXX ready",
|
||||
"name": "License for XXXX-XXXX-XXXX-XXXX-XXXX",
|
||||
"publicKey": [
|
||||
48,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"regKey": "XXXX-XXXX-XXXX-XXXX-XXXX",
|
||||
"selfLink": "https://localhost/mgmt/cm/device/licensing/pool/regkey/licenses/452f8628-1e56-4b4d-946c-0e68f5780aa1/offerings/XXXX-XXXX-XXXX-XXXX-XXXX",
|
||||
"sortName": "Registration Key Pool Item",
|
||||
"status": "READY"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue