Skip to content

Commit ab40377

Browse files
committed
chore: resolve merge conflicts
2 parents 8ac9ac5 + 4238774 commit ab40377

File tree

216 files changed

+29739
-1715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+29739
-1715
lines changed

.gitlab-ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ variables:
3030
TF_HTTP_RETRY_MAX: 4
3131
TF_HTTP_RETRY_WAIT_MIN: 3
3232
DOCS_BUILD_DIR: "docs/_build/html"
33+
SECRETS_ANALYZER_VERSION: '6.14.0'
3334

3435
# This inherits all the jobs defined in the parent template
3536
# Override variables in this project as needed
@@ -178,6 +179,9 @@ build_rpm:
178179
- pipelines
179180
script:
180181
# setup node environment
182+
- sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list
183+
- sed -i 's|http://security.debian.org|http://archive.debian.org/debian-security|g' /etc/apt/sources.list
184+
- apt-get update -o Acquire::Check-Valid-Until=false
181185
- apt-get update && apt-get install -y rpm --no-install-recommends
182186
- scripts/build/buildRpm.sh
183187
artifacts:
@@ -244,7 +248,7 @@ create_docs:
244248
.deploy_common: &deploy_common
245249
image: $INTEGRATION_DEPLOY_IMAGE
246250
tags:
247-
- do-test-docker-executor
251+
- cm-official-docker-executor
248252
stage: deploy
249253
timeout: 2 hours
250254
script:
@@ -284,6 +288,8 @@ deploy_for_this_project:
284288
rules:
285289
- if: '$RUN_INTEGRATION_TEST =~ /true/i'
286290
variables:
291+
TF_LOG: "DEBUG" # Add this for detailed Terraform logs
292+
TF_LOG_PATH: "/tmp/terraform.log" # Optional: save logs to file
287293
TF_ROOT: '$TF_DIRECTORY/plans/openstack'
288294
TF_VAR_bigip_image: "$BIGIP_IMAGE"
289295
TF_VAR_nic_count: "$NIC_COUNT"
@@ -308,6 +314,8 @@ deploy_for_other_project:
308314
- if: '$TRIGGER_INTEGRATION_TEST =~ /true/i'
309315
variables:
310316
TF_ROOT: "$TF_DIRECTORY/plans/openstack"
317+
TF_LOG: "DEBUG" # Add this for detailed Terraform logs
318+
TF_LOG_PATH: "/tmp/terraform.log" # Optional: save logs to file
311319
TF_VAR_bigip_image: "$BIGIP_IMAGE"
312320
TF_VAR_nic_count: "$NIC_COUNT"
313321
before_script:
@@ -331,14 +339,16 @@ deploy_for_other_project:
331339
integration-test:
332340
image: $DOCKER_URL/node:16
333341
tags:
334-
- do-test-docker-executor
342+
- cm-official-docker-executor
335343
rules:
336344
- if: '$RUN_INTEGRATION_TEST =~ /true/i'
337345
- if: '$TRIGGER_INTEGRATION_TEST =~ /true/i'
338346
stage: integration-test
339347
timeout: 3 hours
340348
before_script:
341-
- apt-get update
349+
- sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list
350+
- sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list
351+
- apt-get update -o Acquire::Check-Valid-Until=false
342352
- apt-get install -y jq
343353
- export ESR_TEST_TYPE=integration
344354
- export ESR_PRODUCT_VERSION=$(node -e "console.log(require('./package.json').version)" | cut -d '-' -f1)
@@ -370,7 +380,7 @@ integration-test:
370380
.teardown_common: &teardown_common
371381
image: $INTEGRATION_DEPLOY_IMAGE
372382
tags:
373-
- do-test-docker-executor
383+
- cm-official-docker-executor
374384
stage: teardown
375385
before_script:
376386
# terraform doesn't support '.' in backend address.

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
# Changelog
22
Changes to this project are documented in this file. More detail and links can be found in the Declarative Onboarding [Document Revision History](https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/revision-history.html).
33

4+
## 1.47.0
5+
### Added
6+
- AUTOTOOL-4698: Add support for device DDOS [Example](https://github.com/F5Networks/f5-declarative-onboarding/blob/main/examples/ddos.json)
7+
- AUTOTOOL-4494: ([GitHub 309](https://github.com/F5Networks/f5-declarative-onboarding/issues/309)) : Unable to set SNMP trap destination to FQDN
8+
9+
### Fixed
10+
- AUTOTOOL-4399: ([GitHub 378](https://github.com/F5Networks/f5-declarative-onboarding/issues/378)): Add key/value to uncheck 'Disable login' on the root account [Example](https://github.com/F5Networks/f5-declarative-onboarding/blob/main/examples/rootUserWithDisableRootLogin.json)
11+
- AUTOTOOL-3579: ([GitHub 332](https://github.com/F5Networks/f5-declarative-onboarding/issues/332)): DO reboots device and resets hostname when simple declaration with DeviceCertificate is used
12+
- AUTOTOOL-4715: DO inspect request failing with "Cannot read property 'map' of undefined"
13+
- AUTOTOOL-4735: Unable to verify declaration from existing state error when using inspect command in DO
14+
15+
### Changed
16+
17+
### Removed
18+
419
## 1.46.0
520
### Added
621
- AUTOTOOL-4400: Add Support for GSLB synchronize-zone-files [Example](https://github.com/F5Networks/f5-declarative-onboarding/blob/main/examples/gslbGlobals.json)
22+
- Updated packages to the latest available versions
723

824
### Fixed
925

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Be sure to see the [Support page](SUPPORT.md) in this repo for more details and
2525

2626
## Copyright
2727

28-
Copyright 2014-2024 F5, Inc.
28+
Copyright 2014-2025 F5, Inc.
2929

3030
### F5 Networks Contributor License Agreement
3131

SUPPORT.md

Lines changed: 2 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -2,76 +2,8 @@
22

33
Maintenance and F5 Technical Support of the F5 code is provided only if the software is unmodified; and (ii) has been marked as F5 Supported in [K80012344](https://support.f5.com/csp/article/K80012344). Support will only be provided to customers who have an existing BIG-IP support contract associated with a valid BIG-IP serial number. For information about support policies, see http://www.f5.com/about/guidelines-policies/ and http://askf5.com.
44

5-
Declarative Onboarding Extension (DO) Software Lifecycle:
6-
* DO releases are intended to be delivered on a 6-week basis
7-
* There will be 2 stability releases per year (focused on bug-fixing, infra improvements, and so on)
8-
* Stability (LTS) releases are supported for 1 year
9-
* Feature releases are supported for 3 months
10-
* "End of Support" = End of Software Development (EOSD) + End of Technical Support (EOTS)
5+
**Declarative Onboarding Extension (DO) Release Information:**
116

12-
Currently supported versions:
13-
14-
| Software Version | Release Type | First Customer Ship | End of Support |
15-
|------------------|---------------|---------------------|-----------------|
16-
| DO 1.36.1 | LTS | 09-Mar-2023 | 09-Mar-2024 |
17-
| DO 1.39.1 | LTS | 12-Sep-2023 | 12-Sep-2024 |
18-
| DO 1.42.0 | Feature | 16-Jan-2024 | 16-Apr-2024 |
19-
| DO 1.43.0 | Feature | 11-Mar-2024 | 11-Jun-2024 |
20-
| DO 1.44.0 | Feature | 04-Jun-2024 | 11-Aug-2024 |
21-
22-
\* Fix for Allowed schema version
23-
24-
Versions no longer supported:
25-
26-
| Software Version | Release Type | First Customer Ship | End of Support |
27-
|------------------|---------------|---------------------|-----------------|
28-
| DO 1.1.0 | Feature | 20-Dec-2018 | 20-Mar-2019 |
29-
| DO 1.2.0 | Feature | 16-Jan-2019 | 16-Apr-2019 |
30-
| DO 1.3.0 | Feature | 27-Feb-2019 | 27-May-2019 |
31-
| DO 1.3.1 | Feature | 07-May-2019 | 07-Aug-2019 |
32-
| DO 1.4.0 | Feature | 08-May-2019 | 08-Aug-2019 |
33-
| DO 1.4.1 | Fix* | 21-May-2019 | 08-Aug-2019 |
34-
| DO 1.5.0 | Feature | 18-Jun-2019 | 18-Sep-2019 |
35-
| DO 1.6.0 | Feature | 30-Jul-2019 | 30-Oct-2019 |
36-
| DO 1.7.0 | Feature | 10-Sep-2019 | 10-Dec-2019 |
37-
| DO 1.8.0 | Feature | 22-Oct-2019 | 22-Jan-2020 |
38-
| DO 1.9.0 | Feature | 03-Dec-2019 | 03-Mar-2020 |
39-
| DO 1.10.0 | Feature | 27-Jan-2020 | 27-Apr-2020 |
40-
| DO 1.11.0 | Feature | 10-Mar-2020 | 10-Jun-2020 |
41-
| DO 1.11.1 | Fix* | 30-Mar-2020 | 10-Jun-2020 |
42-
| DO 1.12.0 | Feature | 21-Apr-2020 | 21-Jul-2020 |
43-
| DO 1.13.0 | Feature | 02-Jun-2020 | 02-Sep-2020 |
44-
| DO 1.14.0 | Feature | 21-Jul-2020 | 21-Oct-2020 |
45-
| DO 1.15.0 | Feature | 01-Sep-2020 | 01-Dec-2020 |
46-
| DO 1.16.0 | Feature | 13-Oct-2020 | 13-Jan-2021 |
47-
| DO 1.17.0 | Feature | 20-Nov-2020 | 20-Feb-2021 |
48-
| DO 1.18.0 | Feature | 12-Jan-2021 | 12-Apr-2021 |
49-
| DO 1.19.0 | Feature | 23-Feb-2021 | 23-May-2021 |
50-
| DO 1.20.0 | Feature | 06-Apr-2021 | 06-Jul-2021 |
51-
| DO 1.21.0 | Feature | 18-May-2021 | 18-Aug-2021 |
52-
| DO 1.22.0 | Feature | 29-Jun-2021 | 29-Sep-2021 |
53-
| DO 1.23.0 | Feature | 09-Aug-2021 | 09-Nov-2021 |
54-
| DO 1.24.0 | Feature | 21-Sep-2021 | 21-Dec-2021 |
55-
| DO 1.25.0 | Feature | 02-Nov-2021 | 02-Feb-2022 |
56-
| DO 1.26.0 | Feature | 14-Dec-2021 | 14-Mar-2022 |
57-
| DO 1.27.0 | Feature | 25-Jan-2022 | 25-Apr-2022 |
58-
| DO 1.28.0 | Feature | 08-Mar-2022 | 02-Jun-2022 |
59-
| DO 1.21.1 | LTS | 23-Jun-2021 | 23-Jun-2022 |
60-
| DO 1.29.0 | Feature | 19-Apr-2022 | 19-Jul-2022 |
61-
| DO 1.30.0 | Feature | 31-May-2022 | 31-Aug-2022 |
62-
| DO 1.31.0 | Feature | 15-Jul-2022 | 15-Oct-2022 |
63-
| DO 1.32.0 | Feature | 23-Aug-2022 | 23-Nov-2022 |
64-
| DO 1.33.0 | Feature | 04-Oct-2022 | 04-Jan-2023 |
65-
| DO 1.27.1 | LTS | 08-Mar-2022 | 08-Mar-2023 |
66-
| DO 1.34.0 | Feature | 15-Nov-2022 | 15-Feb-2023 |
67-
| DO 1.35.0 | Feature | 12-Jan-2023 | 12-Apr-2023 |
68-
| DO 1.36.0 | Feature | 09-Feb-2023 | 09-May-2023 |
69-
| DO 1.37.0 | Feature | 27-Mar-2022 | 27-Jun-2023 |
70-
| DO 1.38.0 | Feature | 22-May-2023 | 22-Aug-2023 |
71-
| DO 1.39.0 | Feature | 24-Jul-2023 | 24-Oct-2023 |
72-
| DO 1.40.0 | Feature | 12-Sep-2023 | 12-Dec-2023 |
73-
| DO 1.41.0 | Feature | 13-Nov-2023 | 13-Feb-2024 |
74-
75-
\* Fix for updated Docker Container packaging only
7+
Please refer KB article [Long Term Support for AS3 and DO confirmation](https://my.f5.com/manage/s/article/K000151239) for DO release information.
768

779
See the [Release notes](https://github.com/F5Networks/f5-declarative-onboarding/releases) and [Declarative Onboarding documentation](https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/) for new features and issues resolved for each release.

contributing/process_release.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,11 @@
8686
* Perform the "Actions after confirming GO for release".
8787
8888
### Actions after confirming GO for release:
89+
* Clone release branch to `<releaseBranch>`-main eg: 1.46.0-main
90+
* Clone release branch to `<releaseBranch>`-docs eg: 1.46.0-docs
8991
* Using the GUI, create 2 MRs
90-
* 1 MR to merge release branch to `main`.
91-
* 1 MR to merge release branch to `develop`.
92+
* 1 MR to merge release branch(`<releaseBranch>`-main) to `main`.
93+
* 1 MR to merge release branch(`<releaseBranch>`) to `develop`.
9294
* Do not squash commits.
9395
* Do not delete branch.
9496
* You can self-approve and merge these MRs.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
# General information about the project.
7777
project = u'F5 Declarative Onboarding'
78-
copyright = u'2024, F5 Networks'
78+
copyright = u'2025, F5 Networks'
7979
author = u'F5 Networks'
8080

8181
# The version info for the project you're documenting, acts as replacement for

docs/revision-history.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Document Revision History
100100
- 12-14-21
101101

102102
* - 1.25
103-
- Updated the documentation for BIG-IP Declarative Onboarding v1.25.0. This release contains the following changes: |br| * Added support for VXLAN tunnels (see :ref:`VXLAN tunnels<vxlan>`) |br| * The **timezone** property of the NTP class now uses **UTC** as the default |br| |br| Issues Resolved: |br| * SnmpTrapDestination, SnmpUser, and SnmpCommunity objects cannot be removed once created |br| * Firewall policies managed by AS3 are not ignored, `GitHub Issue 255 <https://github.com/F5Networks/f5-declarative-onboarding/issues/255>`_ |br| * Unable to use remote auth user on BIG-IQ to deploy BIG-IP DO declaration, `GitHub Issue 264 <https://github.com/F5Networks/f5-declarative-onboarding/issues/264>`_ |br| * BIG-IP DO fails when there is pre-existing route configuration with an interface type, `GitHub Issue 265 <https://github.com/F5Networks/f5-declarative-onboarding/issues/265>`_ |br| * BIG-IP DO always enables DHCP on the management interface after POSTing a declaration, `GitHub Issue 261 <https://github.com/F5Networks/f5-declarative-onboarding/issues/261>`_ |br| * Unable to specify gw and target in Route class, `GitHub Issue 274 <https://github.com/F5Networks/f5-declarative-onboarding/issues/274>`_ |br| * BIG-IP DO 1.24.0 doesn't honor Remote Role Groups "remoteAccess": true setting. Was previously working on 1.21.1, `GitHub Issue 268 <https://github.com/F5Networks/f5-declarative-onboarding/issues/268>`_ |br| * RouteDomain example references objects that do not exist, `GitHub Issue 263 <https://github.com/F5Networks/f5-declarative-onboarding/issues/263>`_
103+
- Updated the documentation for BIG-IP Declarative Onboarding v1.25.0. This release contains the following changes: |br| * Added support for VXLAN tunnels (see :ref:`VXLAN tunnels<vxlan>`) |br| * The **timezone** property of the NTP class now uses **UTC** as the default |br| |br| Issues Resolved: |br| * SnmpTrapDestination, SnmpUser, and SnmpCommunity objects cannot be removed once created |br| * Firewall policies managed by AS3 are not ignored, `GitHub Issue 255 <https://github.com/F5Networks/f5-declarative-onboarding/issues/255>`_ |br| * BIG-IP DO fails when there is pre-existing route configuration with an interface type, `GitHub Issue 265 <https://github.com/F5Networks/f5-declarative-onboarding/issues/265>`_ |br| * BIG-IP DO always enables DHCP on the management interface after POSTing a declaration, `GitHub Issue 261 <https://github.com/F5Networks/f5-declarative-onboarding/issues/261>`_ |br| * Unable to specify gw and target in Route class, `GitHub Issue 274 <https://github.com/F5Networks/f5-declarative-onboarding/issues/274>`_ |br| * BIG-IP DO 1.24.0 doesn't honor Remote Role Groups "remoteAccess": true setting. Was previously working on 1.21.1, `GitHub Issue 268 <https://github.com/F5Networks/f5-declarative-onboarding/issues/268>`_ |br| * RouteDomain example references objects that do not exist, `GitHub Issue 263 <https://github.com/F5Networks/f5-declarative-onboarding/issues/263>`_
104104
- 11-2-21
105105

106106
* - 1.24

examples/ddos.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"class": "Device",
3+
"schemaVersion": "1.47.0",
4+
"async": true,
5+
"controls": {
6+
"class": "Controls",
7+
"trace": true,
8+
"logLevel": "debug",
9+
"traceResponse": true
10+
},
11+
"Common": {
12+
"class": "Tenant",
13+
"DeviceDos": {
14+
"class": "DeviceDOS",
15+
"networkDosMitigationPercentage": 600,
16+
"sipDosMitigationPercentage": 600,
17+
"synCookieDsrFlowResetBy": "bigip",
18+
"autoThresholdSensitivity": 60,
19+
"logPublisher": "local-db-publisher",
20+
"thresholdSensitivity": "low",
21+
"synCookieWhitelist": "enabled",
22+
"dynamicSignatures": {
23+
"dns": {
24+
"detection": "enabled",
25+
"mitigation": "medium"
26+
},
27+
"network": {
28+
"detection": "enabled",
29+
"mitigation": "medium",
30+
"scrubberAdvertisementPeriod": 500,
31+
"scrubberEnable": "yes"
32+
}
33+
},
34+
"dosDeviceVector": [
35+
{
36+
"name": "arp-flood",
37+
"allowAdvertisement": "enabled",
38+
"allowUpstreamScrubbing": "disabled",
39+
"attackedDst": "disabled",
40+
"autoBlacklisting": "disabled",
41+
"autoScrubbing": "disabled",
42+
"autoThreshold": "disabled",
43+
"badActor": "disabled",
44+
"blacklistDetectionSeconds": 61,
45+
"blacklistDuration": 14401,
46+
"detectionThresholdPercent": "500",
47+
"detectionThresholdPps": "10000",
48+
"enforce": "enabled",
49+
"floor": "5000",
50+
"multiplierMitigationPercentage": "inherited-default",
51+
"perDstIpDetectionPps": "infinite",
52+
"perDstIpLimitPps": "infinite",
53+
"perSourceIpDetectionPps": "infinite",
54+
"perSourceIpLimitPps": "infinite",
55+
"scrubbingDetectionSeconds": "10",
56+
"scrubbingDuration": "900",
57+
"simulateAutoThreshold": "disabled",
58+
"state": "mitigate",
59+
"suspicious": "false",
60+
"thresholdMode": "manual"
61+
}
62+
]
63+
}
64+
}
65+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"schemaVersion": "1.0.0",
3+
"class": "Device",
4+
"async": true,
5+
"webhook": "https://example.com/myHook",
6+
"label": "user class",
7+
"Common": {
8+
"class": "Tenant",
9+
"root": {
10+
"class": "User",
11+
"userType": "root",
12+
"disableRootLogin": true
13+
}
14+
}
15+
}

examples/snmp.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@
6161
"port": 80,
6262
"network": "other"
6363
},
64+
"myV2SnmpDestinationHostname": {
65+
"class": "SnmpTrapDestination",
66+
"version": "2c",
67+
"community": "my_snmp_community",
68+
"destination": "myhost.example.com",
69+
"port": 80,
70+
"network": "other"
71+
},
6472
"myV3SnmpDestination": {
6573
"class": "SnmpTrapDestination",
6674
"version": "3",

0 commit comments

Comments
 (0)