If your pipeline downloads the RPM and schema directly from an external URL on every run, consider what happens when that source moves, stops receiving updates, or requires a different authentication process.
In the discussion “Changes to DO and AS3 GitHub — no longer monitored,” community members reported difficulties with downloads, schemas, and release discovery. F5’s response explained the consolidation of distribution through <a href://my.f5.com>MyF5</a> and the routing of support requests through the appropriate channels.
That change alone should not be interpreted as an announcement that AS3 or Declarative Onboarding is being discontinued. However, it does warrant reviewing pipelines built around the previous distribution model.
The approach below separates software acquisition, validation, and deployment. The goal is to reproduce a change and investigate failures without having to determine, during deployment, which package or schema was available.
- Separate extension upgrades from configuration deployments
Declarative Onboarding and AS3 have different responsibilities.
DO provides declarative configuration for BIG-IP infrastructure settings, depending on the capabilities supported by the version. AS3 manages declarative application service configurations.
I would maintain three separate workflows:
- Acquiring, testing, and installing extensions.
- Onboarding and infrastructure changes through DO.
- Deploying application services through AS3.
Changing a pool should not require upgrading AS3. Likewise, an application pipeline should not automatically resubmit an onboarding declaration.
This separation helps identify whether a regression originated in the extension, the infrastructure configuration, or the application declaration.
- Promote an identifiable set of artifacts
For each change, record:
| Component | Required information |
|---|---|
| BIG-IP | Version, build, hotfix, and provisioned modules |
| Extension | RPM name, version, and release |
| Integrity | SHA-256 of the approved artifact |
| Schema | Version, source, and dependencies |
| Declaration | Commit and identification of the rendered configuration |
| Execution environment | Runner, tool, and library versions |
| Target | Device and authorized scope of the change |
Obtain the package through the official channel available for that version, then publish an approved copy to an internal repository with access controls and immutable versioning.
The production pipeline should consume that tested artifact. It should not automatically select a new version because it appears at an address named latest.
An internally calculated checksum detects subsequent changes to the file. It does not independently establish authenticity. Record the artifact’s provenance and verify vendor-provided signatures or hashes when available.
- Treat the schema as a deployment dependency
In AS3, $schema and schemaVersion serve different purposes.
$schema can guide editor validation and autocomplete. schemaVersion, within the ADC declaration, identifies the schema version used by the declaration. Changing the $schema URL does not upgrade the extension installed on BIG-IP.
Keep an identifiable copy of the schema corresponding to the tested combination. If it contains external $ref references, preserve the required dependencies as well.
Explicitly configure the CI validator to use that schema set. The presence of a $schema field alone does not guarantee that the validation tool will load it.
Validation needs to answer three separate questions:
- Is the document valid JSON?
- Does the declaration comply with the selected schema?
- Can the installed extension apply that declaration to the target environment?
Passing schema validation does not establish module availability, the existence of referenced objects, or application functionality.
- Check the installed extension before submitting a declaration
Use the information endpoints:
GET /mgmt/shared/appsvcs/info
GET /mgmt/shared/declarative-onboarding/info
Compare the returned information against the approved combination for the change.
The following example queries AS3 from an administrative workstation with curl and jq:
curl --silent --show-error --fail \
--cacert /etc/pki/ca-trust/source/anchors/bigip-management-ca.pem \
--user automation \
https://bigip-mgmt.example.com/mgmt/shared/appsvcs/info |
jq .
In this interactive example, curl prompts for the password. In CI, use the runner’s secret-management mechanism and an authentication method supported by the environment. Do not store credentials in hardcoded arguments, version-controlled files, or logs.
Validate the management certificate. Permanently using -k removes an important check of the target’s identity.
- Distinguish submission, processing, and completion
The POST response should not be the only success criterion.
For AS3, an asynchronous submission can use:
POST /mgmt/shared/appsvcs/declare?async=true
The returned identifier allows the pipeline to track processing:
GET /mgmt/shared/appsvcs/task/<id>
The pipeline must interpret the task state and the result for each tenant involved. A successful HTTP response to a status query does not necessarily mean the configuration was applied successfully.
For DO, use the endpoints and fields documented for the installed version. Do not reuse the AS3 response parser: their response structures and status semantics are not interchangeable.
Define an overall timeout and polling interval. If the runner loses connectivity after the POST, investigate the task and target state before resubmitting. A transport failure does not prove that the change was rejected.
- Control scope and concurrency
Establish ownership for each managed configuration scope.
In AS3, a tenant is a logical grouping within the declaration; it does not necessarily represent a virtualized F5OS tenant.
Prevent two pipelines from modifying the same AS3 tenant concurrently. Review the rendered declaration before submission, including object removals and references to existing resources.
Manual changes to automation-managed objects require a reconciliation process. Otherwise, the next deployment may reapply a configuration that differs from what the operator expects.
In an HA environment, document the submission target and expected ConfigSync behavior. Do not submit the same change to both members by default without validating the applicable procedure.
- Validate the service after the task completes
Task completion reports the outcome of the configuration operation. Functional validation must check the deployed service.
For an HTTPS application, test at least:
- Virtual server address and port.
- Pool member status.
- Certificate, trust chain, and SNI.
- HTTP response and expected content.
- Persistence or authentication, where applicable.
- Error counters and logs associated with the change.
Record the commit, task identifier, timestamps, and test results. Protect evidence containing sensitive information.
- Define recovery before deployment
Retain the previous approved declaration and the artifacts needed to execute it. Test its reapplication as a new change, with its own validation steps.
Reapplying a declaration does not automatically recover sessions, application data, or every effect of an extension upgrade.
For DO, recovery planning must account for network and management changes that could interrupt remote access. Provide console access and backups appropriate to the change’s scope.
RPM upgrades and declaration changes also require different recovery plans. Do not assume that uninstalling an extension or installing an earlier version restores the service configuration.
The workflow I would use is:
Official acquisition → verification → internal repository → testing → approval → deployment → task monitoring → functional testing.
For those operating AS3 and DO: can you repeat a deployment using the same artifacts, schemas, and tools as the previous run?
References