Avi NetworkProfile Object API

##CLI## ``` - configure networkprofile - show networkprofile ```
More information: https://avinetworks.com/contact-us
Contact Info: support@avinetworks.com
Version: 17.2.4
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

  1. HTTP Basic Authentication

Methods

[ Jump to Models ]

Table of Contents

  1. get /networkprofile
  2. post /networkprofile
  3. delete /networkprofile/{uuid}
  4. get /networkprofile/{uuid}
  5. patch /networkprofile/{uuid}
  6. put /networkprofile/{uuid}
  7. get /networkprofile/{uuid}/runtime/internal/
Up
get /networkprofile
(networkprofileGet)

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
refers_to (optional)
Query Parameter — Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
referred_by (optional)
Query Parameter — Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

NetworkProfileApiResponse

Example data

Content-Type: application/json
{
  "count" : 123,
  "results" : [ {
    "profile" : {
      "tcp_proxy_profile" : {
        "nagles_algorithm" : true,
        "ip_dscp" : 123,
        "time_wait_delay" : 123,
        "idle_connection_timeout" : 123,
        "automatic" : true,
        "max_retransmissions" : 123,
        "aggressive_congestion_avoidance" : true,
        "idle_connection_type" : "aeiou",
        "cc_algo" : "aeiou",
        "receive_window" : 123,
        "max_syn_retransmissions" : 123,
        "ignore_time_wait" : true,
        "max_segment_size" : 123,
        "use_interface_mtu" : true
      },
      "udp_fast_path_profile" : {
        "per_pkt_loadbalance" : true,
        "snat" : true,
        "session_idle_timeout" : 123
      },
      "tcp_fast_path_profile" : {
        "session_idle_timeout" : 123,
        "enable_syn_protection" : true
      },
      "type" : "aeiou"
    },
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "description" : "aeiou",
    "uuid" : "aeiou",
    "url" : "aeiou"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK NetworkProfileApiResponse

401

log in failed

Up
post /networkprofile
(networkprofilePost)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — NetworkProfile object creation

Return type

NetworkProfile

Example data

Content-Type: application/json
{
  "profile" : {
    "tcp_proxy_profile" : {
      "nagles_algorithm" : true,
      "ip_dscp" : 123,
      "time_wait_delay" : 123,
      "idle_connection_timeout" : 123,
      "automatic" : true,
      "max_retransmissions" : 123,
      "aggressive_congestion_avoidance" : true,
      "idle_connection_type" : "aeiou",
      "cc_algo" : "aeiou",
      "receive_window" : 123,
      "max_syn_retransmissions" : 123,
      "ignore_time_wait" : true,
      "max_segment_size" : 123,
      "use_interface_mtu" : true
    },
    "udp_fast_path_profile" : {
      "per_pkt_loadbalance" : true,
      "snat" : true,
      "session_idle_timeout" : 123
    },
    "tcp_fast_path_profile" : {
      "session_idle_timeout" : 123,
      "enable_syn_protection" : true
    },
    "type" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "description" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK NetworkProfile

401

log in failed

Up
delete /networkprofile/{uuid}
(networkprofileUuidDelete)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name

Return type

String

Example data

Content-Type: application/json
"aeiou"

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

object deleted String

404

not found

Up
get /networkprofile/{uuid}
(networkprofileUuidGet)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

NetworkProfile

Example data

Content-Type: application/json
{
  "profile" : {
    "tcp_proxy_profile" : {
      "nagles_algorithm" : true,
      "ip_dscp" : 123,
      "time_wait_delay" : 123,
      "idle_connection_timeout" : 123,
      "automatic" : true,
      "max_retransmissions" : 123,
      "aggressive_congestion_avoidance" : true,
      "idle_connection_type" : "aeiou",
      "cc_algo" : "aeiou",
      "receive_window" : 123,
      "max_syn_retransmissions" : 123,
      "ignore_time_wait" : true,
      "max_segment_size" : 123,
      "use_interface_mtu" : true
    },
    "udp_fast_path_profile" : {
      "per_pkt_loadbalance" : true,
      "snat" : true,
      "session_idle_timeout" : 123
    },
    "tcp_fast_path_profile" : {
      "session_idle_timeout" : 123,
      "enable_syn_protection" : true
    },
    "type" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "description" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK NetworkProfile

401

log in failed

Up
patch /networkprofile/{uuid}
(networkprofileUuidPatch)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — NetworkProfile object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

NetworkProfile

Example data

Content-Type: application/json
{
  "profile" : {
    "tcp_proxy_profile" : {
      "nagles_algorithm" : true,
      "ip_dscp" : 123,
      "time_wait_delay" : 123,
      "idle_connection_timeout" : 123,
      "automatic" : true,
      "max_retransmissions" : 123,
      "aggressive_congestion_avoidance" : true,
      "idle_connection_type" : "aeiou",
      "cc_algo" : "aeiou",
      "receive_window" : 123,
      "max_syn_retransmissions" : 123,
      "ignore_time_wait" : true,
      "max_segment_size" : 123,
      "use_interface_mtu" : true
    },
    "udp_fast_path_profile" : {
      "per_pkt_loadbalance" : true,
      "snat" : true,
      "session_idle_timeout" : 123
    },
    "tcp_fast_path_profile" : {
      "session_idle_timeout" : 123,
      "enable_syn_protection" : true
    },
    "type" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "description" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK NetworkProfile

401

log in failed

Up
put /networkprofile/{uuid}
(networkprofileUuidPut)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — NetworkProfile object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

NetworkProfile

Example data

Content-Type: application/json
{
  "profile" : {
    "tcp_proxy_profile" : {
      "nagles_algorithm" : true,
      "ip_dscp" : 123,
      "time_wait_delay" : 123,
      "idle_connection_timeout" : 123,
      "automatic" : true,
      "max_retransmissions" : 123,
      "aggressive_congestion_avoidance" : true,
      "idle_connection_type" : "aeiou",
      "cc_algo" : "aeiou",
      "receive_window" : 123,
      "max_syn_retransmissions" : 123,
      "ignore_time_wait" : true,
      "max_segment_size" : 123,
      "use_interface_mtu" : true
    },
    "udp_fast_path_profile" : {
      "per_pkt_loadbalance" : true,
      "snat" : true,
      "session_idle_timeout" : 123
    },
    "tcp_fast_path_profile" : {
      "session_idle_timeout" : 123,
      "enable_syn_protection" : true
    },
    "type" : "aeiou"
  },
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "description" : "aeiou",
  "uuid" : "aeiou",
  "url" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK NetworkProfile

401

log in failed

Up
get /networkprofile/{uuid}/runtime/internal/
(networkprofileUuidRuntimeInternalGet)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Return type

String

Example data

Content-Type: application/json
"aeiou"

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK String

401

log in failed

Up

Models

[ Jump to Methods ]

Table of Contents

  1. NetworkProfile
  2. NetworkProfileApiResponse
  3. NetworkProfileUnion
  4. TCPFastPathProfile
  5. TCPProxyProfile
  6. UDPFastPathProfile

NetworkProfile Up

description (optional)
String User defined description for the object.
name
String The name of the network profile.
profile
NetworkProfileUnion Placeholder for description of property profile of obj type NetworkProfile field type str type object
tenant_ref (optional)
String It is a reference to an object of type Tenant.
url (optional)
String url
uuid (optional)
String UUID of the network profile.

NetworkProfileApiResponse Up

count
Integer format: int32
results

NetworkProfileUnion Up

tcp_fast_path_profile (optional)
TCPFastPathProfile Placeholder for description of property tcp_fast_path_profile of obj type NetworkProfileUnion field type str type object
tcp_proxy_profile (optional)
TCPProxyProfile Placeholder for description of property tcp_proxy_profile of obj type NetworkProfileUnion field type str type object
type
String Configure one of either proxy or fast path profiles. Enum options - PROTOCOL_TYPE_TCP_PROXY, PROTOCOL_TYPE_TCP_FAST_PATH, PROTOCOL_TYPE_UDP_FAST_PATH.
udp_fast_path_profile (optional)
UDPFastPathProfile Placeholder for description of property udp_fast_path_profile of obj type NetworkProfileUnion field type str type object

TCPFastPathProfile Up

enable_syn_protection (optional)
Boolean When enabled, Avi will complete the 3-way handshake with the client before forwarding any packets to the server. This will protect the server from SYN flood and half open SYN connections.
session_idle_timeout (optional)
Integer The amount of time (in sec) for which a connection needs to be idle before it is eligible to be deleted. Allowed values are 5-3600. Special values are 0 - 'infinite'. format: int32

TCPProxyProfile Up

aggressive_congestion_avoidance (optional)
Boolean Controls the our congestion window to send, normally it's 1 mss, If this option is turned on, we use 10 msses.
automatic (optional)
Boolean Dynamically pick the relevant parameters for connections.
cc_algo (optional)
String Controls the congestion control algorithm we use. Enum options - CC_ALGO_NEW_RENO, CC_ALGO_CUBIC, CC_ALGO_HTCP.
idle_connection_timeout (optional)
Integer The duration for keepalive probes or session idle timeout. Max value is 3600 seconds, min is 5. Set to 0 to allow infinite idle time. Allowed values are 5-3600. Special values are 0 - 'infinite'. format: int32
idle_connection_type (optional)
String Controls the behavior of idle connections. Enum options - KEEP_ALIVE, CLOSE_IDLE.
ignore_time_wait (optional)
Boolean A new SYN is accepted from the same 4-tuple even if there is already a connection in TIME_WAIT state. This is equivalent of setting Time Wait Delay to 0.
ip_dscp (optional)
Integer Controls the value of the Differentiated Services Code Point field inserted in the IP header. This has two options Set to a specific value, or Pass Through, which uses the incoming DSCP value. Allowed values are 0-63. Special values are MAX - 'Passthrough'. format: int32
max_retransmissions (optional)
Integer The number of attempts at retransmit before closing the connection. Allowed values are 3-8. format: int32
max_segment_size (optional)
Integer Maximum TCP segment size. Allowed values are 512-9000. Special values are 0 - 'Use Interface MTU'. format: int32
max_syn_retransmissions (optional)
Integer The maximum number of attempts at retransmitting a SYN packet before giving up. Allowed values are 3-8. format: int32
nagles_algorithm (optional)
Boolean Consolidates small data packets to send clients fewer but larger packets. Adversely affects real time protocols such as telnet or SSH.
receive_window (optional)
Integer Size of the receive window. Allowed values are 32-65536. format: int32
time_wait_delay (optional)
Integer The time (in millisec) to wait before closing a connection in the TIME_WAIT state. Allowed values are 500-2000. Special values are 0 - 'immediate'. format: int32
use_interface_mtu (optional)
Boolean Use the interface MTU to calculate the TCP max segment size.

UDPFastPathProfile Up

per_pkt_loadbalance (optional)
Boolean When enabled, every UDP packet is considered a new transaction and may be load balanced to a different server. When disabled, packets from the same client source IP and port are sent to the same server.
session_idle_timeout (optional)
Integer The amount of time (in sec) for which a flow needs to be idle before it is deleted. Allowed values are 2-300. format: int32
snat (optional)
Boolean When disabled, Source NAT will not be performed for all client UDP packets.