> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable GRO GSO

> POST /v2/api/enable_gro_gso



## OpenAPI

````yaml /openapi/10.0/aviatrix-api.json post /v2/api/enable_gro_gso
openapi: 3.1.0
info:
  title: Aviatrix Controller API
  version: '10.0'
  description: >-
    Aviatrix Controller API — version 10.0. Selected operations with Mintlify
    metadata.
servers: []
security: []
tags:
  - name: policies
    x-group: Policies
  - name: authentication
    x-group: Authentication
  - name: account-management
    x-group: Account Management
  - name: rbac
    x-group: RBAC & Permissions
  - name: gateways
    x-group: Gateways
  - name: transit
    x-group: Transit
  - name: nat
    x-group: NAT
  - name: app-domains
    x-group: SmartGroups
  - name: certificates
    x-group: Certificates
  - name: mitm
    x-group: MITM
  - name: monitoring
    x-group: Monitoring & Diagnostics
  - name: fqdn
    x-group: FQDN
  - name: logging
    x-group: Logging
  - name: vpn
    x-group: UserVPN
  - name: site-to-cloud
    x-group: Site-to-Cloud
  - name: controller
    x-group: Controller
  - name: bgp
    x-group: BGP
  - name: general
    x-group: General
  - name: firenet
    x-group: FireNet
  - name: networking
    x-group: Networking
  - name: tgw
    x-group: AWS TGW
  - name: ips
    x-group: IPS
  - name: saml
    x-group: SAML
paths:
  /v2/api/enable_gro_gso:
    post:
      tags:
        - gateways
      operationId: enable_gro_gso
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CID:
                  $ref: '#/components/schemas/CID'
                action:
                  $ref: '#/components/schemas/action'
                additional_cidr_list:
                  description: Edit designated gateway CIDR list.
                  type: string
                advertise_cidr_list:
                  description: Edit advertise gateway CIDR list.
                  type: string
                advertise_gateway_route:
                  description: Edit advertise gateway route.
                  enum:
                    - edit
                  type: string
                advertise_lan_static_route_list:
                  description: Edit advertise gateway lan static route list.
                  type: string
                alias_name:
                  description: Gateway alias name.
                  type: string
                auto_advertise_s2c_cidrs:
                  description: >-
                    Enable/Disable spoke gateway auto advertise s2c virtual
                    cidrs.
                  enum:
                    - disable
                    - enable
                    - show
                    - show_list
                  type: string
                bgp_over_lan:
                  description: Enable/Disable BGP over LAN.
                  enum:
                    - disable
                    - enable
                  type: string
                bgp_over_lan_intf_cnt:
                  description: BGP over LAN interface count.
                  type: integer
                biflow:
                  description: >-
                    Enable/Disable biflow routing for all CSP destinations
                    behind this spoke.
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                cmk:
                  description: Customer managed key.
                  type: string
                customized_cidr_list:
                  description: Edit customized gateway CIDR list.
                  type: string
                customizing_gateway_route:
                  description: Edit customized gateway route.
                  enum:
                    - edit
                  type: string
                delete_alias_name:
                  description: Delete gateway alias name.
                  type: boolean
                disable_skip_rfc1918_routes:
                  description: Disable skip rfc1918 route programming.
                  enum:
                    - disable
                  type: string
                edit_designated_gateway:
                  description: Edit designated gateway.
                  enum:
                    - edit
                  type: string
                edit_private_route_tables:
                  $ref: '#/components/schemas/StringToggle'
                  description: Yes or no.
                edit_secondary_ip:
                  description: Add secondary IP addresses.
                  type: string
                enable_activemesh:
                  $ref: '#/components/schemas/StringToggle'
                  description: Enable/Disable gateway ActiveMesh mode.
                enable_nat:
                  $ref: '#/components/schemas/StringToggle'
                  description: Switch snat config for gateway.
                encrypt_ebs:
                  description: Encrypt gateway volume.
                  type: boolean
                exclude_ctrler_ipsec_policy:
                  description: Enable/disable to exclude controller ipsec policy.
                  enum:
                    - disable
                    - enable
                  type: string
                extended_cidrs:
                  description: Extended public CIDRs.
                  type: string
                filtering_cidr_list:
                  description: Edit filtering gateway CIDR list.
                  type: string
                filtering_gateway_route:
                  description: Edit filtering gateway route.
                  enum:
                    - edit
                  type: string
                gateway_name:
                  description: Gateway name.
                  type: string
                gw_auto_restart:
                  $ref: '#/components/schemas/StringToggle'
                  description: Gateway auto restart config.
                gw_size:
                  description: Gateway size.
                  type: string
                ipsla_txlb:
                  description: >-
                    Enable/Disable Ipsla Txlb on edge gateway for all traffic
                    towards CSP destinations.
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                ipv6_action:
                  description: Enable/Disable gateway IPv6 feature.
                  enum:
                    - disable
                    - enable
                    - enable_vpn
                  type: string
                jumbo_frame:
                  description: Enable/Disable jumbo frame support.
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                log_file:
                  description: Full path of the progress log file.
                  type: string
                migrate_gw_public_ip:
                  description: Migrate gateway Public IP.
                  type: string
                monitor_exclude_gw_list:
                  description: Monitor gateway subnets excluded list.
                  type: string
                monitor_subnets_action:
                  description: Monitor gateway subnets for user instance.
                  enum:
                    - disable
                    - enable
                  type: string
                private_route_tables:
                  description: String of comma separated route table names.
                  type: string
                private_vpc_default:
                  description: >-
                    Enable/Disable VPC private route tables with default route
                    0.0.0.0/0.
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                refresh_all_route_tables:
                  description: Add/replace Aviatrix routes in all known route tables.
                  type: boolean
                refresh_route_table_ids:
                  description: >-
                    Add/replace Aviatrix routes in specific known route tables
                    (comma separated string).
                  type: string
                replace_existing_routes:
                  description: Overwrite existing routes and replace with Aviatrix routes.
                  type: boolean
                rollback:
                  description: Rollback to old image.
                  type: boolean
                route_tables:
                  description: >-
                    Comma-separated managed route table IDs (required when
                    action is edit_managed_route_tables, empty clears).
                  type: string
                rx_queue_size:
                  description: Edit gateway RX queue size.
                  type: string
                secondary_ip:
                  description: SNAT to secondary Ips.
                  type: boolean
                show_rx_queue_size:
                  description: Show gateway RX queue size.
                  type: boolean
                skip_public_vpc_update:
                  description: Enable/Disable skip VPC public route update.
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                smart_gw_resolver:
                  description: >-
                    Enable/Disable/Show per-gateway-group recursive route
                    resolver (Smart Gateway Flag 3).
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                smart_gw_underlay:
                  description: >-
                    Enable/Disable/Show per-gateway-group GoBGP underlay (Smart
                    Gateway Flag 2).
                  enum:
                    - disable
                    - enable
                    - show
                  type: string
                transit_peering_as_onprem_backup:
                  description: Enable or disable transit peering as onprem backup.
                  enum:
                    - disable
                    - enable
                  type: string
                update_spoke_vpc_route_table:
                  description: Update spoke VPC route table.
                  type: boolean
                update_vpc_cidr:
                  description: Update gateway VPC CIDR list.
                  type: boolean
                use_vpc_dns_server:
                  description: Enable or disable using VPC DNS server.
                  enum:
                    - disable
                    - enable
                  type: string
              required:
                - gateway_name
              type: object
        required: true
      responses:
        '200':
          $ref: '#/components/responses/general_response_v2'
        default:
          $ref: '#/components/responses/general_response_v2'
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl -sk -X POST "https://<controller>/v2/api/enable_gro_gso" \
              -H "Authorization: cid <CID>"
        - lang: python
          label: Python
          source: |-
            import requests

            url = "https://<controller>/v2/api/enable_gro_gso"
            headers = {"Authorization": "cid <CID>"}

            response = requests.post(url, headers=headers, verify=False)
            print(response.status_code)
            print(response.text)
        - lang: javascript
          label: JavaScript
          source: |-
            fetch("https://<controller>/v2/api/enable_gro_gso", {
              method: "POST",
              headers: {"Authorization": "cid <CID>"}
            })
              .then(res => res.text())
              .then(console.log)
              .catch(console.error);
        - lang: go
          label: Go
          source: |-
            package main

            import (
              "fmt"
              "net/http"
            )

            func main() {
              req, _ := http.NewRequest("POST", "https://<controller>/v2/api/enable_gro_gso", nil)
              req.Header.Set("Authorization", "cid <CID>")

              client := &http.Client{}
              resp, err := client.Do(req)
              if err != nil {
                panic(err)
              }
              defer resp.Body.Close()

              fmt.Println(resp.Status)
            }
components:
  schemas:
    CID:
      description: The opaque session ID token. Required for 7.2 controllers only.
      type: string
    action:
      description: The API action to perform. Required for 7.2 controllers only.
      type: string
    StringToggle:
      description: A boolean choice expressed as a string
      enum:
        - 'yes'
        - 'no'
      type: string
    general_response_v2:
      additionalProperties: true
      description: A generic API response container for v2 style APIs.
      properties:
        errortype:
          description: Error type if the API failed.
          type: string
        reason:
          description: Failure reason if the API failed.
          type: string
        results:
          oneOf:
            - description: API response data
              type: boolean
            - description: API response data
              type: integer
            - description: API response data
              type: string
            - description: API response data
              type: object
            - description: API response data
              items: {}
              type: array
        return:
          description: Whether the API returned successfully
          type: boolean
      title: General Response v2
      type: object
  responses:
    general_response_v2:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/general_response_v2'
      description: General v2 API response schema.

````