f5devcentral / f5-big-iq Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Looking for the steps to convert a standard AS3 declaration in this template style. Does this exist?
AS3 Burst Handling has been added starting from v3.23 but only includes support for API "/mgmt/shared/appsvcs/declare" and to improve AS3 support for BIG-IQ it is needed for BIG-IQ AS3 Templates as well which uses API "/cm/global/appsvcs-templates".
In an automated environment it would be common to push multiple BIG-IQ AS3 templates via BIG-IQ to the related BIG-IPs. Not having this feature makes BIG-IQ AS3 templates less useful.
Describe the solution you'd like
BIG-IQ AS3 Templates must have AS3 support for burst handling
Describe alternatives you've considered
There are no alternatives and not having this feature will deliver failed AS3 deployments when declaring two declarations at the same time.
Current behavior using API "/cm/global/appsvcs-templates"
Deploying two BIG-IQ AS3 templates at nearly the same time
BIG-IQ App is not deployed or gets deployed in "Unknown Applications"
BIG-IQ App gets deployed into the right "Global App", but the other gets deployed in "Unknown Applications"
Deploying a 2nd time things getting deployed correctly
BIG-IQ AS3 Templates us a different API endpoint than regular AS3 declarations.
BIG-IQ AS3 Templates use API: /cm/global/appsvcs-templates
AS3 native use API: /mgmt/shared/appsvcs/declare
AS3 Asynchronous mode is supported for the AS3 Native API and not for BIG-IQ AS3 Templates API.
Is your feature request related to a problem? Please describe.
Yes, this feature request goes along with my issued request for supporting AS3 Burst Handling for BIG-IQ AS3 Templates.
Describe the solution you'd like
Support for AS3 Asynchronous mode for BIG-IQ AS3 templates API will make that the performance experienced via automated pipelines will increase and make BIG-IQ a more mature automation tool.
AS3 Asynchronous mode is needed for API, for GUI it is a nice to have.
Additional context
Here is the functionality as described in F5 clouddocs: https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/userguide/big-iq.html#requirements-for-using-big-ip-as3-with-big-iq
Additionally, we recommend that:
You use BIG-IP AS3โs asynchronous mode (by POSTing with the query parameter ?async=true). BIG-IP AS3 waits for applications to be configured in BIG-IQ, which can result in timeouts when using BIG-IP AS3โs synchronous mode. See Method POST for more information.
IMPORTANT: BIG-IP AS3 3.7.0 introduces new behavior for asynchronous mode. Even if you have asynchronous mode set to false, after 45 seconds BIG-IP AS3 sets asynchronous mode to true (API swap), and returns an async response. This allows you to use GET to poll for status (you should see a 202 status until the declaration is complete). This typically occurs for most declarations to BIG-IQ (and only very large declarations to BIG-IP); if the declaration completes in less than 45 seconds, BIG-IP AS3 does not modify asynchronous mode.
A clear and concise description of what this template does.
{
"type": "object",
"required": [
"class"
],
"properties": {
"class": {
"type": "string",
"const": "Application"
},
"label": {},
"remark": {},
"template": {},
"schemaOverlay": {}
},
"definitions": {
"Pool": {
"type": "object",
"properties": {
"class": {},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"monitors": {
"type": "array",
"const": [
"tcp"
],
"default": [
"tcp"
]
},
"adminState": {
"type": "string",
"default": "enable"
},
"shareNodes": {
"type": "boolean",
"const": true,
"default": true
},
"servicePort": {
"type": "number",
"default": 8081
},
"serverAddresses": {
"type": "array"
}
}
}
},
"monitors": {
"type": "array",
"const": [
"tcp"
],
"default": [
"tcp"
]
}
},
"additionalproperties": false
},
"Service_TCP": {
"type": "object",
"properties": {
"pool": {
"type": "string",
"default": "Pool"
},
"class": {},
"enable": {
"type": "boolean",
"default": true
},
"profileTCP": {
"type": "object",
"properties": {
"use": {
"type": "string",
"default": "TCP_Profile"
}
}
},
"virtualPort": {
"type": "number",
"default": 8080
},
"virtualAddresses": {
"type": "array"
},
"profileAnalyticsTcp": {
"type": "object",
"properties": {
"use": {
"type": "string",
"default": "Analytics_TCP_Profile"
}
}
}
},
"additionalProperties": false
},
"TCP_Profile": {
"type": "object",
"properties": {
"class": {},
"synMaxRetrans": {
"type": "number",
"default": 3
},
"finWaitTimeout": {
"type": "number",
"default": 5
}
},
"additionalProperties": false
},
"Analytics_TCP_Profile": {
"type": "object",
"properties": {
"class": {},
"collectCity": {
"type": "boolean"
},
"collectRegion": {
"type": "boolean",
"default": true
},
"collectCountry": {
"type": "boolean",
"default": true
},
"collectNexthop": {
"type": "boolean"
},
"collectPostCode": {
"type": "boolean"
},
"collectContinent": {
"type": "boolean",
"default": true
},
"collectRemoteHostIp": {
"type": "boolean"
},
"collectedByClientSide": {
"type": "boolean",
"default": true
},
"collectedByServerSide": {
"type": "boolean",
"default": true
},
"collectRemoteHostSubnet": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}
},
"additionalProperties": {
"allOf": [
{
"anyOf": [
{
"properties": {
"class": {
"const": "Pool"
}
}
},
{
"properties": {
"class": {
"const": "Service_TCP"
}
}
},
{
"properties": {
"class": {
"const": "TCP_Profile"
}
}
},
{
"properties": {
"class": {
"const": "Analytics_TCP_Profile"
}
}
}
]
},
{
"if": {
"properties": {
"class": {
"const": "Analytics_TCP_Profile"
}
}
},
"then": {
"$ref": "#/definitions/Analytics_TCP_Profile"
}
},
{
"if": {
"properties": {
"class": {
"const": "Pool"
}
}
},
"then": {
"$ref": "#/definitions/Pool"
}
},
{
"if": {
"properties": {
"class": {
"const": "Service_TCP"
}
}
},
"then": {
"$ref": "#/definitions/Service_TCP"
}
},
{
"if": {
"properties": {
"class": {
"const": "TCP_Profile"
}
}
},
"then": {
"$ref": "#/definitions/TCP_Profile"
}
}
]
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.