Giter VIP home page Giter VIP logo

f5-big-iq's Issues

Burst Handling for BIG-IQ AS3 Templates via API

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 AS Templates support for AS3 Asynchronous mode

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.

New Template https

Environment

  • Application Services (AS3) Version: 1.25
  • BIG-IQ Version: 7.1
  • BIG-IP Version: 14.1

Summary

A clear and concise description of what this template does.

BIG-IQ AS3 Template

  1. Submit the following template:
{
    "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"
                }
            }
        ]
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.