github.com/cilium/cilium@v1.16.2/api/v1/server/embedded_spec.go (about)

     1  // Code generated by go-swagger; DO NOT EDIT.
     2  
     3  // Copyright Authors of Cilium
     4  // SPDX-License-Identifier: Apache-2.0
     5  
     6  package server
     7  
     8  // This file was generated by the swagger tool.
     9  // Editing this file might prove futile when you re-run the swagger generate command
    10  
    11  import (
    12  	"encoding/json"
    13  )
    14  
    15  var (
    16  	// SwaggerJSON embedded version of the swagger document used at generation time
    17  	SwaggerJSON json.RawMessage
    18  	// FlatSwaggerJSON embedded flattened version of the swagger document used at generation time
    19  	FlatSwaggerJSON json.RawMessage
    20  )
    21  
    22  func init() {
    23  	SwaggerJSON = json.RawMessage([]byte(`{
    24    "consumes": [
    25      "application/json"
    26    ],
    27    "produces": [
    28      "application/json"
    29    ],
    30    "swagger": "2.0",
    31    "info": {
    32      "description": "Cilium",
    33      "title": "Cilium API",
    34      "version": "v1beta1"
    35    },
    36    "basePath": "/v1",
    37    "paths": {
    38      "/bgp/peers": {
    39        "get": {
    40          "description": "Retrieves current operational state of BGP peers created by\nCilium BGP virtual router. This includes session state, uptime,\ninformation per address family, etc.\n",
    41          "tags": [
    42            "bgp"
    43          ],
    44          "summary": "Lists operational state of BGP peers",
    45          "responses": {
    46            "200": {
    47              "description": "Success",
    48              "schema": {
    49                "type": "array",
    50                "items": {
    51                  "$ref": "#/definitions/BgpPeer"
    52                }
    53              }
    54            },
    55            "500": {
    56              "description": "Internal Server Error",
    57              "schema": {
    58                "$ref": "#/definitions/Error"
    59              }
    60            },
    61            "501": {
    62              "description": "BGP Control Plane disabled",
    63              "schema": {
    64                "$ref": "#/definitions/Error"
    65              },
    66              "x-go-name": "Disabled"
    67            }
    68          }
    69        }
    70      },
    71      "/bgp/route-policies": {
    72        "get": {
    73          "description": "Retrieves route policies from BGP Control Plane.",
    74          "tags": [
    75            "bgp"
    76          ],
    77          "summary": "Lists BGP route policies configured in BGP Control Plane.",
    78          "parameters": [
    79            {
    80              "$ref": "#/parameters/bgp-router-asn"
    81            }
    82          ],
    83          "responses": {
    84            "200": {
    85              "description": "Success",
    86              "schema": {
    87                "type": "array",
    88                "items": {
    89                  "$ref": "#/definitions/BgpRoutePolicy"
    90                }
    91              }
    92            },
    93            "500": {
    94              "description": "Internal Server Error",
    95              "schema": {
    96                "$ref": "#/definitions/Error"
    97              }
    98            },
    99            "501": {
   100              "description": "BGP Control Plane disabled",
   101              "schema": {
   102                "$ref": "#/definitions/Error"
   103              },
   104              "x-go-name": "Disabled"
   105            }
   106          }
   107        }
   108      },
   109      "/bgp/routes": {
   110        "get": {
   111          "description": "Retrieves routes from BGP Control Plane RIB filtered by parameters you specify",
   112          "tags": [
   113            "bgp"
   114          ],
   115          "summary": "Lists BGP routes from BGP Control Plane RIB.",
   116          "parameters": [
   117            {
   118              "$ref": "#/parameters/bgp-table-type"
   119            },
   120            {
   121              "$ref": "#/parameters/bgp-afi"
   122            },
   123            {
   124              "$ref": "#/parameters/bgp-safi"
   125            },
   126            {
   127              "$ref": "#/parameters/bgp-router-asn"
   128            },
   129            {
   130              "$ref": "#/parameters/bgp-neighbor-address"
   131            }
   132          ],
   133          "responses": {
   134            "200": {
   135              "description": "Success",
   136              "schema": {
   137                "type": "array",
   138                "items": {
   139                  "$ref": "#/definitions/BgpRoute"
   140                }
   141              }
   142            },
   143            "500": {
   144              "description": "Internal Server Error",
   145              "schema": {
   146                "$ref": "#/definitions/Error"
   147              }
   148            },
   149            "501": {
   150              "description": "BGP Control Plane disabled",
   151              "schema": {
   152                "$ref": "#/definitions/Error"
   153              },
   154              "x-go-name": "Disabled"
   155            }
   156          }
   157        }
   158      },
   159      "/cgroup-dump-metadata": {
   160        "get": {
   161          "tags": [
   162            "daemon"
   163          ],
   164          "summary": "Retrieve cgroup metadata for all pods",
   165          "responses": {
   166            "200": {
   167              "description": "Success",
   168              "schema": {
   169                "$ref": "#/definitions/CgroupDumpMetadata"
   170              }
   171            },
   172            "500": {
   173              "description": "CgroupDumpMetadata get failed",
   174              "schema": {
   175                "$ref": "#/definitions/Error"
   176              },
   177              "x-go-name": "Failure"
   178            }
   179          }
   180        }
   181      },
   182      "/cluster/nodes": {
   183        "get": {
   184          "tags": [
   185            "daemon"
   186          ],
   187          "summary": "Get nodes information stored in the cilium-agent",
   188          "parameters": [
   189            {
   190              "type": "integer",
   191              "description": "Client UUID should be used when the client wants to request\na diff of nodes added and / or removed since the last time\nthat client has made a request.\n",
   192              "name": "client-id",
   193              "in": "header"
   194            }
   195          ],
   196          "responses": {
   197            "200": {
   198              "description": "Success",
   199              "schema": {
   200                "$ref": "#/definitions/ClusterNodeStatus"
   201              }
   202            }
   203          }
   204        }
   205      },
   206      "/config": {
   207        "get": {
   208          "description": "Returns the configuration of the Cilium daemon.\n",
   209          "tags": [
   210            "daemon"
   211          ],
   212          "summary": "Get configuration of Cilium daemon",
   213          "responses": {
   214            "200": {
   215              "description": "Success",
   216              "schema": {
   217                "$ref": "#/definitions/DaemonConfiguration"
   218              }
   219            }
   220          }
   221        },
   222        "patch": {
   223          "description": "Updates the daemon configuration by applying the provided\nConfigurationMap and regenerates \u0026 recompiles all required datapath\ncomponents.\n",
   224          "tags": [
   225            "daemon"
   226          ],
   227          "summary": "Modify daemon configuration",
   228          "parameters": [
   229            {
   230              "name": "configuration",
   231              "in": "body",
   232              "required": true,
   233              "schema": {
   234                "$ref": "#/definitions/DaemonConfigurationSpec"
   235              }
   236            }
   237          ],
   238          "responses": {
   239            "200": {
   240              "description": "Success"
   241            },
   242            "400": {
   243              "description": "Bad configuration parameters",
   244              "schema": {
   245                "$ref": "#/definitions/Error"
   246              }
   247            },
   248            "403": {
   249              "description": "Forbidden"
   250            },
   251            "500": {
   252              "description": "Recompilation failed",
   253              "schema": {
   254                "$ref": "#/definitions/Error"
   255              },
   256              "x-go-name": "Failure"
   257            }
   258          }
   259        }
   260      },
   261      "/debuginfo": {
   262        "get": {
   263          "tags": [
   264            "daemon"
   265          ],
   266          "summary": "Retrieve information about the agent and environment for debugging",
   267          "responses": {
   268            "200": {
   269              "description": "Success",
   270              "schema": {
   271                "$ref": "#/definitions/DebugInfo"
   272              }
   273            },
   274            "500": {
   275              "description": "DebugInfo get failed",
   276              "schema": {
   277                "$ref": "#/definitions/Error"
   278              },
   279              "x-go-name": "Failure"
   280            }
   281          }
   282        }
   283      },
   284      "/endpoint": {
   285        "get": {
   286          "description": "Retrieves a list of endpoints that have metadata matching the provided parameters, or all endpoints if no parameters provided.\n",
   287          "tags": [
   288            "endpoint"
   289          ],
   290          "summary": "Retrieves a list of endpoints that have metadata matching the provided parameters.",
   291          "parameters": [
   292            {
   293              "$ref": "#/parameters/labels"
   294            }
   295          ],
   296          "responses": {
   297            "200": {
   298              "description": "Success",
   299              "schema": {
   300                "type": "array",
   301                "items": {
   302                  "$ref": "#/definitions/Endpoint"
   303                }
   304              }
   305            },
   306            "404": {
   307              "description": "Endpoints with provided parameters not found"
   308            },
   309            "429": {
   310              "description": "Rate-limiting too many requests in the given time frame"
   311            }
   312          }
   313        },
   314        "delete": {
   315          "description": "Deletes a list of endpoints that have endpoints matching the provided properties\n",
   316          "tags": [
   317            "endpoint"
   318          ],
   319          "summary": "Deletes a list of endpoints",
   320          "parameters": [
   321            {
   322              "$ref": "#/parameters/endpoint-batch-delete-request"
   323            }
   324          ],
   325          "responses": {
   326            "200": {
   327              "description": "Success"
   328            },
   329            "206": {
   330              "description": "Deleted with a number of errors encountered",
   331              "schema": {
   332                "type": "integer"
   333              },
   334              "x-go-name": "Errors"
   335            },
   336            "400": {
   337              "description": "Invalid endpoint delete request",
   338              "x-go-name": "Invalid"
   339            },
   340            "404": {
   341              "description": "No endpoints with provided parameters found"
   342            },
   343            "429": {
   344              "description": "Rate-limiting too many requests in the given time frame"
   345            }
   346          }
   347        }
   348      },
   349      "/endpoint/{id}": {
   350        "get": {
   351          "description": "Returns endpoint information\n",
   352          "tags": [
   353            "endpoint"
   354          ],
   355          "summary": "Get endpoint by endpoint ID",
   356          "parameters": [
   357            {
   358              "$ref": "#/parameters/endpoint-id"
   359            }
   360          ],
   361          "responses": {
   362            "200": {
   363              "description": "Success",
   364              "schema": {
   365                "$ref": "#/definitions/Endpoint"
   366              }
   367            },
   368            "400": {
   369              "description": "Invalid endpoint ID format for specified type",
   370              "schema": {
   371                "$ref": "#/definitions/Error"
   372              },
   373              "x-go-name": "Invalid"
   374            },
   375            "404": {
   376              "description": "Endpoint not found"
   377            },
   378            "429": {
   379              "description": "Rate-limiting too many requests in the given time frame"
   380            }
   381          }
   382        },
   383        "put": {
   384          "description": "Creates a new endpoint\n",
   385          "tags": [
   386            "endpoint"
   387          ],
   388          "summary": "Create endpoint",
   389          "parameters": [
   390            {
   391              "$ref": "#/parameters/endpoint-id"
   392            },
   393            {
   394              "$ref": "#/parameters/endpoint-change-request"
   395            }
   396          ],
   397          "responses": {
   398            "201": {
   399              "description": "Created",
   400              "schema": {
   401                "$ref": "#/definitions/Endpoint"
   402              }
   403            },
   404            "400": {
   405              "description": "Invalid endpoint in request",
   406              "schema": {
   407                "$ref": "#/definitions/Error"
   408              },
   409              "x-go-name": "Invalid"
   410            },
   411            "403": {
   412              "description": "Forbidden"
   413            },
   414            "409": {
   415              "description": "Endpoint already exists",
   416              "x-go-name": "Exists"
   417            },
   418            "429": {
   419              "description": "Rate-limiting too many requests in the given time frame"
   420            },
   421            "500": {
   422              "description": "Endpoint creation failed",
   423              "schema": {
   424                "$ref": "#/definitions/Error"
   425              },
   426              "x-go-name": "Failed"
   427            }
   428          }
   429        },
   430        "delete": {
   431          "description": "Deletes the endpoint specified by the ID. Deletion is imminent and\natomic, if the deletion request is valid and the endpoint exists,\ndeletion will occur even if errors are encountered in the process. If\nerrors have been encountered, the code 202 will be returned, otherwise\n200 on success.\n\nAll resources associated with the endpoint will be freed and the\nworkload represented by the endpoint will be disconnected.It will no\nlonger be able to initiate or receive communications of any sort.\n",
   432          "tags": [
   433            "endpoint"
   434          ],
   435          "summary": "Delete endpoint",
   436          "parameters": [
   437            {
   438              "$ref": "#/parameters/endpoint-id"
   439            }
   440          ],
   441          "responses": {
   442            "200": {
   443              "description": "Success"
   444            },
   445            "206": {
   446              "description": "Deleted with a number of errors encountered",
   447              "schema": {
   448                "type": "integer"
   449              },
   450              "x-go-name": "Errors"
   451            },
   452            "400": {
   453              "description": "Invalid endpoint ID format for specified type. Details in error\nmessage\n",
   454              "schema": {
   455                "$ref": "#/definitions/Error"
   456              },
   457              "x-go-name": "Invalid"
   458            },
   459            "403": {
   460              "description": "Forbidden"
   461            },
   462            "404": {
   463              "description": "Endpoint not found"
   464            },
   465            "429": {
   466              "description": "Rate-limiting too many requests in the given time frame"
   467            }
   468          }
   469        },
   470        "patch": {
   471          "description": "Applies the endpoint change request to an existing endpoint\n",
   472          "tags": [
   473            "endpoint"
   474          ],
   475          "summary": "Modify existing endpoint",
   476          "deprecated": true,
   477          "parameters": [
   478            {
   479              "$ref": "#/parameters/endpoint-id"
   480            },
   481            {
   482              "$ref": "#/parameters/endpoint-change-request"
   483            }
   484          ],
   485          "responses": {
   486            "200": {
   487              "description": "Success"
   488            },
   489            "400": {
   490              "description": "Invalid modify endpoint request",
   491              "schema": {
   492                "$ref": "#/definitions/Error"
   493              },
   494              "x-go-name": "Invalid"
   495            },
   496            "403": {
   497              "description": "Forbidden"
   498            },
   499            "404": {
   500              "description": "Endpoint does not exist"
   501            },
   502            "429": {
   503              "description": "Rate-limiting too many requests in the given time frame"
   504            },
   505            "500": {
   506              "description": "Endpoint update failed",
   507              "schema": {
   508                "$ref": "#/definitions/Error"
   509              },
   510              "x-go-name": "Failed"
   511            }
   512          }
   513        }
   514      },
   515      "/endpoint/{id}/config": {
   516        "get": {
   517          "description": "Retrieves the configuration of the specified endpoint.\n",
   518          "tags": [
   519            "endpoint"
   520          ],
   521          "summary": "Retrieve endpoint configuration",
   522          "parameters": [
   523            {
   524              "$ref": "#/parameters/endpoint-id"
   525            }
   526          ],
   527          "responses": {
   528            "200": {
   529              "description": "Success",
   530              "schema": {
   531                "$ref": "#/definitions/EndpointConfigurationStatus"
   532              }
   533            },
   534            "404": {
   535              "description": "Endpoint not found"
   536            },
   537            "429": {
   538              "description": "Rate-limiting too many requests in the given time frame"
   539            }
   540          }
   541        },
   542        "patch": {
   543          "description": "Update the configuration of an existing endpoint and regenerates \u0026\nrecompiles the corresponding programs automatically.\n",
   544          "tags": [
   545            "endpoint"
   546          ],
   547          "summary": "Modify mutable endpoint configuration",
   548          "parameters": [
   549            {
   550              "$ref": "#/parameters/endpoint-id"
   551            },
   552            {
   553              "name": "endpoint-configuration",
   554              "in": "body",
   555              "required": true,
   556              "schema": {
   557                "$ref": "#/definitions/EndpointConfigurationSpec"
   558              }
   559            }
   560          ],
   561          "responses": {
   562            "200": {
   563              "description": "Success"
   564            },
   565            "400": {
   566              "description": "Invalid configuration request",
   567              "x-go-name": "Invalid"
   568            },
   569            "403": {
   570              "description": "Forbidden"
   571            },
   572            "404": {
   573              "description": "Endpoint not found"
   574            },
   575            "429": {
   576              "description": "Rate-limiting too many requests in the given time frame"
   577            },
   578            "500": {
   579              "description": "Update failed. Details in message.",
   580              "schema": {
   581                "$ref": "#/definitions/Error"
   582              },
   583              "x-go-name": "Failed"
   584            }
   585          }
   586        }
   587      },
   588      "/endpoint/{id}/healthz": {
   589        "get": {
   590          "tags": [
   591            "endpoint"
   592          ],
   593          "summary": "Retrieves the status logs associated with this endpoint.",
   594          "parameters": [
   595            {
   596              "$ref": "#/parameters/endpoint-id"
   597            }
   598          ],
   599          "responses": {
   600            "200": {
   601              "description": "Success",
   602              "schema": {
   603                "$ref": "#/definitions/EndpointHealth"
   604              }
   605            },
   606            "400": {
   607              "description": "Invalid identity provided",
   608              "x-go-name": "Invalid"
   609            },
   610            "404": {
   611              "description": "Endpoint not found"
   612            },
   613            "429": {
   614              "description": "Rate-limiting too many requests in the given time frame"
   615            }
   616          }
   617        }
   618      },
   619      "/endpoint/{id}/labels": {
   620        "get": {
   621          "tags": [
   622            "endpoint"
   623          ],
   624          "summary": "Retrieves the list of labels associated with an endpoint.",
   625          "parameters": [
   626            {
   627              "$ref": "#/parameters/endpoint-id"
   628            }
   629          ],
   630          "responses": {
   631            "200": {
   632              "description": "Success",
   633              "schema": {
   634                "$ref": "#/definitions/LabelConfiguration"
   635              }
   636            },
   637            "404": {
   638              "description": "Endpoint not found"
   639            },
   640            "429": {
   641              "description": "Rate-limiting too many requests in the given time frame"
   642            }
   643          }
   644        },
   645        "patch": {
   646          "description": "Sets labels associated with an endpoint. These can be user provided or\nderived from the orchestration system.\n",
   647          "tags": [
   648            "endpoint"
   649          ],
   650          "summary": "Set label configuration of endpoint",
   651          "parameters": [
   652            {
   653              "$ref": "#/parameters/endpoint-id"
   654            },
   655            {
   656              "name": "configuration",
   657              "in": "body",
   658              "required": true,
   659              "schema": {
   660                "$ref": "#/definitions/LabelConfigurationSpec"
   661              }
   662            }
   663          ],
   664          "responses": {
   665            "200": {
   666              "description": "Success"
   667            },
   668            "403": {
   669              "description": "Forbidden"
   670            },
   671            "404": {
   672              "description": "Endpoint not found"
   673            },
   674            "429": {
   675              "description": "Rate-limiting too many requests in the given time frame"
   676            },
   677            "500": {
   678              "description": "Error while updating labels",
   679              "schema": {
   680                "$ref": "#/definitions/Error"
   681              },
   682              "x-go-name": "UpdateFailed"
   683            }
   684          }
   685        }
   686      },
   687      "/endpoint/{id}/log": {
   688        "get": {
   689          "tags": [
   690            "endpoint"
   691          ],
   692          "summary": "Retrieves the status logs associated with this endpoint.",
   693          "parameters": [
   694            {
   695              "$ref": "#/parameters/endpoint-id"
   696            }
   697          ],
   698          "responses": {
   699            "200": {
   700              "description": "Success",
   701              "schema": {
   702                "$ref": "#/definitions/EndpointStatusLog"
   703              }
   704            },
   705            "400": {
   706              "description": "Invalid identity provided",
   707              "x-go-name": "Invalid"
   708            },
   709            "404": {
   710              "description": "Endpoint not found"
   711            },
   712            "429": {
   713              "description": "Rate-limiting too many requests in the given time frame"
   714            }
   715          }
   716        }
   717      },
   718      "/fqdn/cache": {
   719        "get": {
   720          "description": "Retrieves the list of DNS lookups intercepted from endpoints,\noptionally filtered by DNS name, CIDR IP range or source.\n",
   721          "tags": [
   722            "policy"
   723          ],
   724          "summary": "Retrieves the list of DNS lookups intercepted from all endpoints.",
   725          "parameters": [
   726            {
   727              "$ref": "#/parameters/matchpattern"
   728            },
   729            {
   730              "$ref": "#/parameters/cidr"
   731            },
   732            {
   733              "$ref": "#/parameters/source"
   734            }
   735          ],
   736          "responses": {
   737            "200": {
   738              "description": "Success",
   739              "schema": {
   740                "type": "array",
   741                "items": {
   742                  "$ref": "#/definitions/DNSLookup"
   743                }
   744              }
   745            },
   746            "400": {
   747              "description": "Invalid request (error parsing parameters)",
   748              "schema": {
   749                "$ref": "#/definitions/Error"
   750              }
   751            },
   752            "404": {
   753              "description": "No DNS data with provided parameters found"
   754            }
   755          }
   756        },
   757        "delete": {
   758          "description": "Deletes matching DNS lookups from the cache, optionally restricted by\nDNS name. The removed IP data will no longer be used in generated\npolicies.\n",
   759          "tags": [
   760            "policy"
   761          ],
   762          "summary": "Deletes matching DNS lookups from the policy-generation cache.",
   763          "parameters": [
   764            {
   765              "$ref": "#/parameters/matchpattern"
   766            }
   767          ],
   768          "responses": {
   769            "200": {
   770              "description": "Success"
   771            },
   772            "400": {
   773              "description": "Invalid request (error parsing parameters)",
   774              "schema": {
   775                "$ref": "#/definitions/Error"
   776              }
   777            },
   778            "403": {
   779              "description": "Forbidden"
   780            }
   781          }
   782        }
   783      },
   784      "/fqdn/cache/{id}": {
   785        "get": {
   786          "description": "Retrieves the list of DNS lookups intercepted from the specific endpoint,\noptionally filtered by endpoint id, DNS name, CIDR IP range or source.\n",
   787          "tags": [
   788            "policy"
   789          ],
   790          "summary": "Retrieves the list of DNS lookups intercepted from an endpoint.",
   791          "parameters": [
   792            {
   793              "$ref": "#/parameters/endpoint-id"
   794            },
   795            {
   796              "$ref": "#/parameters/matchpattern"
   797            },
   798            {
   799              "$ref": "#/parameters/cidr"
   800            },
   801            {
   802              "$ref": "#/parameters/source"
   803            }
   804          ],
   805          "responses": {
   806            "200": {
   807              "description": "Success",
   808              "schema": {
   809                "type": "array",
   810                "items": {
   811                  "$ref": "#/definitions/DNSLookup"
   812                }
   813              }
   814            },
   815            "400": {
   816              "description": "Invalid request (error parsing parameters)",
   817              "schema": {
   818                "$ref": "#/definitions/Error"
   819              }
   820            },
   821            "404": {
   822              "description": "No DNS data with provided parameters found"
   823            }
   824          }
   825        }
   826      },
   827      "/fqdn/names": {
   828        "get": {
   829          "description": "Retrieves the list of DNS-related fields (names to poll, selectors and\ntheir corresponding regexes).\n",
   830          "tags": [
   831            "policy"
   832          ],
   833          "summary": "List internal DNS selector representations",
   834          "responses": {
   835            "200": {
   836              "description": "Success",
   837              "schema": {
   838                "$ref": "#/definitions/NameManager"
   839              }
   840            },
   841            "400": {
   842              "description": "Invalid request (error parsing parameters)",
   843              "schema": {
   844                "$ref": "#/definitions/Error"
   845              }
   846            }
   847          }
   848        }
   849      },
   850      "/healthz": {
   851        "get": {
   852          "description": "Returns health and status information of the Cilium daemon and related\ncomponents such as the local container runtime, connected datastore,\nKubernetes integration and Hubble.\n",
   853          "tags": [
   854            "daemon"
   855          ],
   856          "summary": "Get health of Cilium daemon",
   857          "parameters": [
   858            {
   859              "type": "boolean",
   860              "description": "Brief will return a brief representation of the Cilium status.\n",
   861              "name": "brief",
   862              "in": "header"
   863            }
   864          ],
   865          "responses": {
   866            "200": {
   867              "description": "Success",
   868              "schema": {
   869                "$ref": "#/definitions/StatusResponse"
   870              }
   871            }
   872          }
   873        }
   874      },
   875      "/identity": {
   876        "get": {
   877          "description": "Retrieves a list of identities that have metadata matching the provided parameters, or all identities if no parameters are provided.\n",
   878          "tags": [
   879            "policy"
   880          ],
   881          "summary": "Retrieves a list of identities that have metadata matching the provided parameters.",
   882          "parameters": [
   883            {
   884              "$ref": "#/parameters/labels"
   885            }
   886          ],
   887          "responses": {
   888            "200": {
   889              "description": "Success",
   890              "schema": {
   891                "type": "array",
   892                "items": {
   893                  "$ref": "#/definitions/Identity"
   894                }
   895              }
   896            },
   897            "404": {
   898              "description": "Identities with provided parameters not found"
   899            },
   900            "520": {
   901              "description": "Identity storage unreachable. Likely a network problem.",
   902              "schema": {
   903                "$ref": "#/definitions/Error"
   904              },
   905              "x-go-name": "Unreachable"
   906            },
   907            "521": {
   908              "description": "Invalid identity format in storage",
   909              "schema": {
   910                "$ref": "#/definitions/Error"
   911              },
   912              "x-go-name": "InvalidStorageFormat"
   913            }
   914          }
   915        }
   916      },
   917      "/identity/endpoints": {
   918        "get": {
   919          "tags": [
   920            "policy"
   921          ],
   922          "summary": "Retrieve identities which are being used by local endpoints",
   923          "responses": {
   924            "200": {
   925              "description": "Success",
   926              "schema": {
   927                "type": "array",
   928                "items": {
   929                  "$ref": "#/definitions/IdentityEndpoints"
   930                }
   931              }
   932            },
   933            "404": {
   934              "description": "Set of identities which are being used by local endpoints could not be found."
   935            }
   936          }
   937        }
   938      },
   939      "/identity/{id}": {
   940        "get": {
   941          "tags": [
   942            "policy"
   943          ],
   944          "summary": "Retrieve identity",
   945          "parameters": [
   946            {
   947              "$ref": "#/parameters/identity-id"
   948            }
   949          ],
   950          "responses": {
   951            "200": {
   952              "description": "Success",
   953              "schema": {
   954                "$ref": "#/definitions/Identity"
   955              }
   956            },
   957            "400": {
   958              "description": "Invalid identity provided"
   959            },
   960            "404": {
   961              "description": "Identity not found"
   962            },
   963            "520": {
   964              "description": "Identity storage unreachable. Likely a network problem.",
   965              "schema": {
   966                "$ref": "#/definitions/Error"
   967              },
   968              "x-go-name": "Unreachable"
   969            },
   970            "521": {
   971              "description": "Invalid identity format in storage",
   972              "schema": {
   973                "$ref": "#/definitions/Error"
   974              },
   975              "x-go-name": "InvalidStorageFormat"
   976            }
   977          }
   978        }
   979      },
   980      "/ip": {
   981        "get": {
   982          "description": "Retrieves a list of IPs with known associated information such as\ntheir identities, host addresses, Kubernetes pod names, etc.\nThe list can optionally filtered by a CIDR IP range.\n",
   983          "tags": [
   984            "policy"
   985          ],
   986          "summary": "Lists information about known IP addresses",
   987          "parameters": [
   988            {
   989              "$ref": "#/parameters/cidr"
   990            }
   991          ],
   992          "responses": {
   993            "200": {
   994              "description": "Success",
   995              "schema": {
   996                "type": "array",
   997                "items": {
   998                  "$ref": "#/definitions/IPListEntry"
   999                }
  1000              }
  1001            },
  1002            "400": {
  1003              "description": "Invalid request (error parsing parameters)",
  1004              "schema": {
  1005                "$ref": "#/definitions/Error"
  1006              }
  1007            },
  1008            "404": {
  1009              "description": "No IP cache entries with provided parameters found"
  1010            }
  1011          }
  1012        }
  1013      },
  1014      "/ipam": {
  1015        "post": {
  1016          "tags": [
  1017            "ipam"
  1018          ],
  1019          "summary": "Allocate an IP address",
  1020          "parameters": [
  1021            {
  1022              "$ref": "#/parameters/ipam-family"
  1023            },
  1024            {
  1025              "$ref": "#/parameters/ipam-owner"
  1026            },
  1027            {
  1028              "$ref": "#/parameters/ipam-pool"
  1029            },
  1030            {
  1031              "$ref": "#/parameters/ipam-expiration"
  1032            }
  1033          ],
  1034          "responses": {
  1035            "201": {
  1036              "description": "Success",
  1037              "schema": {
  1038                "$ref": "#/definitions/IPAMResponse"
  1039              }
  1040            },
  1041            "403": {
  1042              "description": "Forbidden"
  1043            },
  1044            "502": {
  1045              "description": "Allocation failure",
  1046              "schema": {
  1047                "$ref": "#/definitions/Error"
  1048              },
  1049              "x-go-name": "Failure"
  1050            }
  1051          }
  1052        }
  1053      },
  1054      "/ipam/{ip}": {
  1055        "post": {
  1056          "tags": [
  1057            "ipam"
  1058          ],
  1059          "summary": "Allocate an IP address",
  1060          "parameters": [
  1061            {
  1062              "$ref": "#/parameters/ipam-ip"
  1063            },
  1064            {
  1065              "$ref": "#/parameters/ipam-owner"
  1066            },
  1067            {
  1068              "$ref": "#/parameters/ipam-pool"
  1069            }
  1070          ],
  1071          "responses": {
  1072            "200": {
  1073              "description": "Success"
  1074            },
  1075            "400": {
  1076              "description": "Invalid IP address",
  1077              "x-go-name": "Invalid"
  1078            },
  1079            "403": {
  1080              "description": "Forbidden"
  1081            },
  1082            "409": {
  1083              "description": "IP already allocated",
  1084              "x-go-name": "Exists"
  1085            },
  1086            "500": {
  1087              "description": "IP allocation failure. Details in message.",
  1088              "schema": {
  1089                "$ref": "#/definitions/Error"
  1090              },
  1091              "x-go-name": "Failure"
  1092            },
  1093            "501": {
  1094              "description": "Allocation for address family disabled",
  1095              "x-go-name": "Disabled"
  1096            }
  1097          }
  1098        },
  1099        "delete": {
  1100          "tags": [
  1101            "ipam"
  1102          ],
  1103          "summary": "Release an allocated IP address",
  1104          "parameters": [
  1105            {
  1106              "$ref": "#/parameters/ipam-ip"
  1107            },
  1108            {
  1109              "$ref": "#/parameters/ipam-pool"
  1110            }
  1111          ],
  1112          "responses": {
  1113            "200": {
  1114              "description": "Success"
  1115            },
  1116            "400": {
  1117              "description": "Invalid IP address",
  1118              "x-go-name": "Invalid"
  1119            },
  1120            "403": {
  1121              "description": "Forbidden"
  1122            },
  1123            "404": {
  1124              "description": "IP address not found"
  1125            },
  1126            "500": {
  1127              "description": "Address release failure",
  1128              "schema": {
  1129                "$ref": "#/definitions/Error"
  1130              },
  1131              "x-go-name": "Failure"
  1132            },
  1133            "501": {
  1134              "description": "Allocation for address family disabled",
  1135              "x-go-name": "Disabled"
  1136            }
  1137          }
  1138        }
  1139      },
  1140      "/lrp": {
  1141        "get": {
  1142          "tags": [
  1143            "service"
  1144          ],
  1145          "summary": "Retrieve list of all local redirect policies",
  1146          "responses": {
  1147            "200": {
  1148              "description": "Success",
  1149              "schema": {
  1150                "type": "array",
  1151                "items": {
  1152                  "$ref": "#/definitions/LRPSpec"
  1153                }
  1154              }
  1155            }
  1156          }
  1157        }
  1158      },
  1159      "/map": {
  1160        "get": {
  1161          "tags": [
  1162            "daemon"
  1163          ],
  1164          "summary": "List all open maps",
  1165          "responses": {
  1166            "200": {
  1167              "description": "Success",
  1168              "schema": {
  1169                "$ref": "#/definitions/BPFMapList"
  1170              }
  1171            }
  1172          }
  1173        }
  1174      },
  1175      "/map/{name}": {
  1176        "get": {
  1177          "tags": [
  1178            "daemon"
  1179          ],
  1180          "summary": "Retrieve contents of BPF map",
  1181          "parameters": [
  1182            {
  1183              "$ref": "#/parameters/map-name"
  1184            }
  1185          ],
  1186          "responses": {
  1187            "200": {
  1188              "description": "Success",
  1189              "schema": {
  1190                "$ref": "#/definitions/BPFMap"
  1191              }
  1192            },
  1193            "404": {
  1194              "description": "Map not found"
  1195            }
  1196          }
  1197        }
  1198      },
  1199      "/map/{name}/events": {
  1200        "get": {
  1201          "tags": [
  1202            "daemon"
  1203          ],
  1204          "summary": "Retrieves the recent event logs associated with this endpoint.",
  1205          "parameters": [
  1206            {
  1207              "$ref": "#/parameters/map-name"
  1208            },
  1209            {
  1210              "$ref": "#/parameters/follow"
  1211            }
  1212          ],
  1213          "responses": {
  1214            "200": {
  1215              "description": "Success",
  1216              "schema": {
  1217                "type": "string",
  1218                "format": "binary"
  1219              }
  1220            },
  1221            "404": {
  1222              "description": "Map not found"
  1223            }
  1224          }
  1225        }
  1226      },
  1227      "/metrics/": {
  1228        "get": {
  1229          "tags": [
  1230            "metrics"
  1231          ],
  1232          "summary": "Retrieve cilium metrics",
  1233          "responses": {
  1234            "200": {
  1235              "description": "Success",
  1236              "schema": {
  1237                "type": "array",
  1238                "items": {
  1239                  "$ref": "#/definitions/Metric"
  1240                }
  1241              }
  1242            },
  1243            "500": {
  1244              "description": "Metrics cannot be retrieved"
  1245            }
  1246          }
  1247        }
  1248      },
  1249      "/node/ids": {
  1250        "get": {
  1251          "description": "Retrieves a list of node IDs allocated by the agent and their\nassociated node IP addresses.\n",
  1252          "tags": [
  1253            "daemon"
  1254          ],
  1255          "summary": "List information about known node IDs",
  1256          "responses": {
  1257            "200": {
  1258              "description": "Success",
  1259              "schema": {
  1260                "type": "array",
  1261                "items": {
  1262                  "$ref": "#/definitions/NodeID"
  1263                }
  1264              }
  1265            }
  1266          }
  1267        }
  1268      },
  1269      "/policy": {
  1270        "get": {
  1271          "description": "Returns the entire policy tree with all children.\n",
  1272          "tags": [
  1273            "policy"
  1274          ],
  1275          "summary": "Retrieve entire policy tree",
  1276          "parameters": [
  1277            {
  1278              "name": "labels",
  1279              "in": "body",
  1280              "schema": {
  1281                "$ref": "#/definitions/Labels"
  1282              }
  1283            }
  1284          ],
  1285          "responses": {
  1286            "200": {
  1287              "description": "Success",
  1288              "schema": {
  1289                "$ref": "#/definitions/Policy"
  1290              }
  1291            },
  1292            "404": {
  1293              "description": "No policy rules found"
  1294            }
  1295          }
  1296        },
  1297        "put": {
  1298          "tags": [
  1299            "policy"
  1300          ],
  1301          "summary": "Create or update a policy (sub)tree",
  1302          "parameters": [
  1303            {
  1304              "$ref": "#/parameters/policy-rules"
  1305            },
  1306            {
  1307              "$ref": "#/parameters/policy-replace"
  1308            },
  1309            {
  1310              "$ref": "#/parameters/policy-replace-with-labels"
  1311            }
  1312          ],
  1313          "responses": {
  1314            "200": {
  1315              "description": "Success",
  1316              "schema": {
  1317                "$ref": "#/definitions/Policy"
  1318              }
  1319            },
  1320            "400": {
  1321              "description": "Invalid policy",
  1322              "schema": {
  1323                "$ref": "#/definitions/Error"
  1324              },
  1325              "x-go-name": "InvalidPolicy"
  1326            },
  1327            "403": {
  1328              "description": "Forbidden"
  1329            },
  1330            "460": {
  1331              "description": "Invalid path",
  1332              "schema": {
  1333                "$ref": "#/definitions/Error"
  1334              },
  1335              "x-go-name": "InvalidPath"
  1336            },
  1337            "500": {
  1338              "description": "Policy import failed",
  1339              "schema": {
  1340                "$ref": "#/definitions/Error"
  1341              },
  1342              "x-go-name": "Failure"
  1343            }
  1344          }
  1345        },
  1346        "delete": {
  1347          "tags": [
  1348            "policy"
  1349          ],
  1350          "summary": "Delete a policy (sub)tree",
  1351          "parameters": [
  1352            {
  1353              "name": "labels",
  1354              "in": "body",
  1355              "schema": {
  1356                "$ref": "#/definitions/Labels"
  1357              }
  1358            }
  1359          ],
  1360          "responses": {
  1361            "200": {
  1362              "description": "Success",
  1363              "schema": {
  1364                "$ref": "#/definitions/Policy"
  1365              }
  1366            },
  1367            "400": {
  1368              "description": "Invalid request",
  1369              "schema": {
  1370                "$ref": "#/definitions/Error"
  1371              },
  1372              "x-go-name": "Invalid"
  1373            },
  1374            "403": {
  1375              "description": "Forbidden"
  1376            },
  1377            "404": {
  1378              "description": "Policy not found"
  1379            },
  1380            "500": {
  1381              "description": "Error while deleting policy",
  1382              "schema": {
  1383                "$ref": "#/definitions/Error"
  1384              },
  1385              "x-go-name": "Failure"
  1386            }
  1387          }
  1388        }
  1389      },
  1390      "/policy/selectors": {
  1391        "get": {
  1392          "tags": [
  1393            "policy"
  1394          ],
  1395          "summary": "See what selectors match which identities",
  1396          "responses": {
  1397            "200": {
  1398              "description": "Success",
  1399              "schema": {
  1400                "$ref": "#/definitions/SelectorCache"
  1401              }
  1402            }
  1403          }
  1404        }
  1405      },
  1406      "/prefilter": {
  1407        "get": {
  1408          "tags": [
  1409            "prefilter"
  1410          ],
  1411          "summary": "Retrieve list of CIDRs",
  1412          "responses": {
  1413            "200": {
  1414              "description": "Success",
  1415              "schema": {
  1416                "$ref": "#/definitions/Prefilter"
  1417              }
  1418            },
  1419            "500": {
  1420              "description": "Prefilter get failed",
  1421              "schema": {
  1422                "$ref": "#/definitions/Error"
  1423              },
  1424              "x-go-name": "Failure"
  1425            }
  1426          }
  1427        },
  1428        "delete": {
  1429          "tags": [
  1430            "prefilter"
  1431          ],
  1432          "summary": "Delete list of CIDRs",
  1433          "parameters": [
  1434            {
  1435              "$ref": "#/parameters/prefilter-spec"
  1436            }
  1437          ],
  1438          "responses": {
  1439            "200": {
  1440              "description": "Deleted",
  1441              "schema": {
  1442                "$ref": "#/definitions/Prefilter"
  1443              }
  1444            },
  1445            "403": {
  1446              "description": "Forbidden"
  1447            },
  1448            "461": {
  1449              "description": "Invalid CIDR prefix",
  1450              "schema": {
  1451                "$ref": "#/definitions/Error"
  1452              },
  1453              "x-go-name": "InvalidCIDR"
  1454            },
  1455            "500": {
  1456              "description": "Prefilter delete failed",
  1457              "schema": {
  1458                "$ref": "#/definitions/Error"
  1459              },
  1460              "x-go-name": "Failure"
  1461            }
  1462          }
  1463        },
  1464        "patch": {
  1465          "tags": [
  1466            "prefilter"
  1467          ],
  1468          "summary": "Update list of CIDRs",
  1469          "parameters": [
  1470            {
  1471              "$ref": "#/parameters/prefilter-spec"
  1472            }
  1473          ],
  1474          "responses": {
  1475            "200": {
  1476              "description": "Updated",
  1477              "schema": {
  1478                "$ref": "#/definitions/Prefilter"
  1479              }
  1480            },
  1481            "403": {
  1482              "description": "Forbidden"
  1483            },
  1484            "461": {
  1485              "description": "Invalid CIDR prefix",
  1486              "schema": {
  1487                "$ref": "#/definitions/Error"
  1488              },
  1489              "x-go-name": "InvalidCIDR"
  1490            },
  1491            "500": {
  1492              "description": "Prefilter update failed",
  1493              "schema": {
  1494                "$ref": "#/definitions/Error"
  1495              },
  1496              "x-go-name": "Failure"
  1497            }
  1498          }
  1499        }
  1500      },
  1501      "/recorder": {
  1502        "get": {
  1503          "tags": [
  1504            "recorder"
  1505          ],
  1506          "summary": "Retrieve list of all recorders",
  1507          "responses": {
  1508            "200": {
  1509              "description": "Success",
  1510              "schema": {
  1511                "type": "array",
  1512                "items": {
  1513                  "$ref": "#/definitions/Recorder"
  1514                }
  1515              }
  1516            }
  1517          }
  1518        }
  1519      },
  1520      "/recorder/masks": {
  1521        "get": {
  1522          "tags": [
  1523            "recorder"
  1524          ],
  1525          "summary": "Retrieve list of all recorder masks",
  1526          "responses": {
  1527            "200": {
  1528              "description": "Success",
  1529              "schema": {
  1530                "type": "array",
  1531                "items": {
  1532                  "$ref": "#/definitions/RecorderMask"
  1533                }
  1534              }
  1535            }
  1536          }
  1537        }
  1538      },
  1539      "/recorder/{id}": {
  1540        "get": {
  1541          "tags": [
  1542            "recorder"
  1543          ],
  1544          "summary": "Retrieve configuration of a recorder",
  1545          "parameters": [
  1546            {
  1547              "$ref": "#/parameters/recorder-id"
  1548            }
  1549          ],
  1550          "responses": {
  1551            "200": {
  1552              "description": "Success",
  1553              "schema": {
  1554                "$ref": "#/definitions/Recorder"
  1555              }
  1556            },
  1557            "404": {
  1558              "description": "Recorder not found"
  1559            }
  1560          }
  1561        },
  1562        "put": {
  1563          "tags": [
  1564            "recorder"
  1565          ],
  1566          "summary": "Create or update recorder",
  1567          "parameters": [
  1568            {
  1569              "$ref": "#/parameters/recorder-id"
  1570            },
  1571            {
  1572              "$ref": "#/parameters/recorder-config"
  1573            }
  1574          ],
  1575          "responses": {
  1576            "200": {
  1577              "description": "Updated"
  1578            },
  1579            "201": {
  1580              "description": "Created"
  1581            },
  1582            "403": {
  1583              "description": "Forbidden"
  1584            },
  1585            "500": {
  1586              "description": "Error while creating recorder",
  1587              "schema": {
  1588                "$ref": "#/definitions/Error"
  1589              },
  1590              "x-go-name": "Failure"
  1591            }
  1592          }
  1593        },
  1594        "delete": {
  1595          "tags": [
  1596            "recorder"
  1597          ],
  1598          "summary": "Delete a recorder",
  1599          "parameters": [
  1600            {
  1601              "$ref": "#/parameters/recorder-id"
  1602            }
  1603          ],
  1604          "responses": {
  1605            "200": {
  1606              "description": "Success"
  1607            },
  1608            "403": {
  1609              "description": "Forbidden"
  1610            },
  1611            "404": {
  1612              "description": "Recorder not found"
  1613            },
  1614            "500": {
  1615              "description": "Recorder deletion failed",
  1616              "schema": {
  1617                "$ref": "#/definitions/Error"
  1618              },
  1619              "x-go-name": "Failure"
  1620            }
  1621          }
  1622        }
  1623      },
  1624      "/service": {
  1625        "get": {
  1626          "tags": [
  1627            "service"
  1628          ],
  1629          "summary": "Retrieve list of all services",
  1630          "responses": {
  1631            "200": {
  1632              "description": "Success",
  1633              "schema": {
  1634                "type": "array",
  1635                "items": {
  1636                  "$ref": "#/definitions/Service"
  1637                }
  1638              }
  1639            }
  1640          }
  1641        }
  1642      },
  1643      "/service/{id}": {
  1644        "get": {
  1645          "tags": [
  1646            "service"
  1647          ],
  1648          "summary": "Retrieve configuration of a service",
  1649          "parameters": [
  1650            {
  1651              "$ref": "#/parameters/service-id"
  1652            }
  1653          ],
  1654          "responses": {
  1655            "200": {
  1656              "description": "Success",
  1657              "schema": {
  1658                "$ref": "#/definitions/Service"
  1659              }
  1660            },
  1661            "404": {
  1662              "description": "Service not found"
  1663            }
  1664          }
  1665        },
  1666        "put": {
  1667          "tags": [
  1668            "service"
  1669          ],
  1670          "summary": "Create or update service",
  1671          "parameters": [
  1672            {
  1673              "$ref": "#/parameters/service-id"
  1674            },
  1675            {
  1676              "$ref": "#/parameters/service-config"
  1677            }
  1678          ],
  1679          "responses": {
  1680            "200": {
  1681              "description": "Updated"
  1682            },
  1683            "201": {
  1684              "description": "Created"
  1685            },
  1686            "403": {
  1687              "description": "Forbidden"
  1688            },
  1689            "460": {
  1690              "description": "Invalid frontend in service configuration",
  1691              "schema": {
  1692                "$ref": "#/definitions/Error"
  1693              },
  1694              "x-go-name": "InvalidFrontend"
  1695            },
  1696            "461": {
  1697              "description": "Invalid backend in service configuration",
  1698              "schema": {
  1699                "$ref": "#/definitions/Error"
  1700              },
  1701              "x-go-name": "InvalidBackend"
  1702            },
  1703            "500": {
  1704              "description": "Error while creating service",
  1705              "schema": {
  1706                "$ref": "#/definitions/Error"
  1707              },
  1708              "x-go-name": "Failure"
  1709            },
  1710            "501": {
  1711              "description": "Error while updating backend states",
  1712              "schema": {
  1713                "$ref": "#/definitions/Error"
  1714              },
  1715              "x-go-name": "UpdateBackendFailure"
  1716            }
  1717          }
  1718        },
  1719        "delete": {
  1720          "tags": [
  1721            "service"
  1722          ],
  1723          "summary": "Delete a service",
  1724          "parameters": [
  1725            {
  1726              "$ref": "#/parameters/service-id"
  1727            }
  1728          ],
  1729          "responses": {
  1730            "200": {
  1731              "description": "Success"
  1732            },
  1733            "403": {
  1734              "description": "Forbidden"
  1735            },
  1736            "404": {
  1737              "description": "Service not found"
  1738            },
  1739            "500": {
  1740              "description": "Service deletion failed",
  1741              "schema": {
  1742                "$ref": "#/definitions/Error"
  1743              },
  1744              "x-go-name": "Failure"
  1745            }
  1746          }
  1747        }
  1748      }
  1749    },
  1750    "definitions": {
  1751      "Address": {
  1752        "description": "IP address",
  1753        "type": "string"
  1754      },
  1755      "AddressPair": {
  1756        "description": "Addressing information of an endpoint",
  1757        "type": "object",
  1758        "properties": {
  1759          "ipv4": {
  1760            "description": "IPv4 address",
  1761            "type": "string"
  1762          },
  1763          "ipv4-expiration-uuid": {
  1764            "description": "UUID of IPv4 expiration timer",
  1765            "type": "string"
  1766          },
  1767          "ipv4-pool-name": {
  1768            "description": "IPAM pool from which this IPv4 address was allocated",
  1769            "type": "string"
  1770          },
  1771          "ipv6": {
  1772            "description": "IPv6 address",
  1773            "type": "string"
  1774          },
  1775          "ipv6-expiration-uuid": {
  1776            "description": "UUID of IPv6 expiration timer",
  1777            "type": "string"
  1778          },
  1779          "ipv6-pool-name": {
  1780            "description": "IPAM pool from which this IPv6 address was allocated",
  1781            "type": "string"
  1782          }
  1783        }
  1784      },
  1785      "AllocationMap": {
  1786        "description": "Map of allocated IPs\n",
  1787        "type": "object",
  1788        "additionalProperties": {
  1789          "type": "string"
  1790        }
  1791      },
  1792      "AttachMode": {
  1793        "description": "Core datapath attachment mode",
  1794        "type": "string",
  1795        "enum": [
  1796          "tc",
  1797          "tcx"
  1798        ]
  1799      },
  1800      "BPFMap": {
  1801        "description": "BPF map definition and content",
  1802        "type": "object",
  1803        "properties": {
  1804          "cache": {
  1805            "description": "Contents of cache",
  1806            "type": "array",
  1807            "items": {
  1808              "$ref": "#/definitions/BPFMapEntry"
  1809            }
  1810          },
  1811          "path": {
  1812            "description": "Path to BPF map",
  1813            "type": "string"
  1814          }
  1815        }
  1816      },
  1817      "BPFMapEntry": {
  1818        "description": "BPF map cache entry",
  1819        "type": "object",
  1820        "properties": {
  1821          "desired-action": {
  1822            "description": "Desired action to be performed",
  1823            "type": "string",
  1824            "enum": [
  1825              "ok",
  1826              "insert",
  1827              "delete"
  1828            ]
  1829          },
  1830          "key": {
  1831            "description": "Key of map entry",
  1832            "type": "string"
  1833          },
  1834          "last-error": {
  1835            "description": "Last error seen while performing desired action",
  1836            "type": "string"
  1837          },
  1838          "value": {
  1839            "description": "Value of map entry",
  1840            "type": "string"
  1841          }
  1842        }
  1843      },
  1844      "BPFMapList": {
  1845        "description": "List of BPF Maps",
  1846        "type": "object",
  1847        "properties": {
  1848          "maps": {
  1849            "description": "Array of open BPF map lists",
  1850            "type": "array",
  1851            "items": {
  1852              "$ref": "#/definitions/BPFMap"
  1853            }
  1854          }
  1855        }
  1856      },
  1857      "BPFMapProperties": {
  1858        "description": "BPF map properties",
  1859        "type": "object",
  1860        "properties": {
  1861          "name": {
  1862            "description": "Name of the BPF map",
  1863            "type": "string"
  1864          },
  1865          "size": {
  1866            "description": "Size of the BPF map",
  1867            "type": "integer"
  1868          }
  1869        }
  1870      },
  1871      "BPFMapStatus": {
  1872        "description": "BPF map status\n\n+k8s:deepcopy-gen=true\n",
  1873        "type": "object",
  1874        "properties": {
  1875          "dynamic-size-ratio": {
  1876            "description": "Ratio of total system memory to use for dynamic sizing of BPF maps",
  1877            "type": "number"
  1878          },
  1879          "maps": {
  1880            "description": "BPF maps",
  1881            "type": "array",
  1882            "items": {
  1883              "$ref": "#/definitions/BPFMapProperties"
  1884            }
  1885          }
  1886        }
  1887      },
  1888      "BackendAddress": {
  1889        "description": "Service backend address",
  1890        "type": "object",
  1891        "required": [
  1892          "ip"
  1893        ],
  1894        "properties": {
  1895          "ip": {
  1896            "description": "Layer 3 address",
  1897            "type": "string"
  1898          },
  1899          "nodeName": {
  1900            "description": "Optional name of the node on which this backend runs",
  1901            "type": "string"
  1902          },
  1903          "port": {
  1904            "description": "Layer 4 port number",
  1905            "type": "integer",
  1906            "format": "uint16"
  1907          },
  1908          "preferred": {
  1909            "description": "Indicator if this backend is preferred in the context of clustermesh service affinity. The value is set based\non related annotation of global service. Applicable for active state only.",
  1910            "type": "boolean"
  1911          },
  1912          "state": {
  1913            "description": "State of the backend for load-balancing service traffic",
  1914            "type": "string",
  1915            "enum": [
  1916              "active",
  1917              "terminating",
  1918              "quarantined",
  1919              "maintenance"
  1920            ]
  1921          },
  1922          "weight": {
  1923            "description": "Backend weight",
  1924            "type": "integer",
  1925            "format": "uint16",
  1926            "x-nullable": true
  1927          },
  1928          "zone": {
  1929            "description": "Optional name of the zone in which this backend runs",
  1930            "type": "string"
  1931          }
  1932        }
  1933      },
  1934      "BandwidthManager": {
  1935        "description": "Status of bandwidth manager\n\n+k8s:deepcopy-gen=true",
  1936        "type": "object",
  1937        "properties": {
  1938          "congestionControl": {
  1939            "type": "string",
  1940            "enum": [
  1941              "cubic",
  1942              "bbr"
  1943            ]
  1944          },
  1945          "devices": {
  1946            "type": "array",
  1947            "items": {
  1948              "type": "string"
  1949            }
  1950          },
  1951          "enabled": {
  1952            "description": "Is bandwidth manager enabled",
  1953            "type": "boolean"
  1954          }
  1955        }
  1956      },
  1957      "BgpFamily": {
  1958        "description": "Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path",
  1959        "properties": {
  1960          "afi": {
  1961            "description": "Address Family Indicator (AFI) of the path",
  1962            "type": "string"
  1963          },
  1964          "safi": {
  1965            "description": "Subsequent Address Family Indicator (SAFI) of the path",
  1966            "type": "string"
  1967          }
  1968        }
  1969      },
  1970      "BgpGracefulRestart": {
  1971        "description": "BGP graceful restart parameters negotiated with the peer.\n\n+k8s:deepcopy-gen=true",
  1972        "properties": {
  1973          "enabled": {
  1974            "description": "When set, graceful restart capability is negotiated for all AFI/SAFIs of\nthis peer.",
  1975            "type": "boolean"
  1976          },
  1977          "restart-time-seconds": {
  1978            "description": "This is the time advertised to peer for the BGP session to be re-established\nafter a restart. After this period, peer will remove stale routes.\n(RFC 4724 section 4.2)",
  1979            "type": "integer"
  1980          }
  1981        }
  1982      },
  1983      "BgpNlri": {
  1984        "description": "Network Layer Reachability Information (NLRI) of the path",
  1985        "properties": {
  1986          "base64": {
  1987            "description": "Base64-encoded NLRI in the BGP UPDATE message format",
  1988            "type": "string"
  1989          }
  1990        }
  1991      },
  1992      "BgpPath": {
  1993        "description": "Single BGP routing Path containing BGP Network Layer Reachability Information (NLRI) and path attributes",
  1994        "properties": {
  1995          "age-nanoseconds": {
  1996            "description": "Age of the path (time since its creation) in nanoseconds",
  1997            "type": "integer"
  1998          },
  1999          "best": {
  2000            "description": "True value flags the best path towards the destination prefix",
  2001            "type": "boolean"
  2002          },
  2003          "family": {
  2004            "description": "Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path",
  2005            "$ref": "#/definitions/BgpFamily"
  2006          },
  2007          "nlri": {
  2008            "description": "Network Layer Reachability Information of the path",
  2009            "$ref": "#/definitions/BgpNlri"
  2010          },
  2011          "path-attributes": {
  2012            "description": "List of BGP path attributes specific for the path",
  2013            "type": "array",
  2014            "items": {
  2015              "$ref": "#/definitions/BgpPathAttribute"
  2016            }
  2017          },
  2018          "stale": {
  2019            "description": "True value marks the path as stale",
  2020            "type": "boolean"
  2021          }
  2022        }
  2023      },
  2024      "BgpPathAttribute": {
  2025        "description": "Single BGP path attribute specific for the path",
  2026        "properties": {
  2027          "base64": {
  2028            "description": "Base64-encoded BGP path attribute in the BGP UPDATE message format",
  2029            "type": "string"
  2030          }
  2031        }
  2032      },
  2033      "BgpPeer": {
  2034        "description": "State of a BGP Peer\n\n+k8s:deepcopy-gen=true",
  2035        "properties": {
  2036          "applied-hold-time-seconds": {
  2037            "description": "Applied initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds.\nThe applied value holds the value that is in effect on the current BGP session.\n",
  2038            "type": "integer"
  2039          },
  2040          "applied-keep-alive-time-seconds": {
  2041            "description": "Applied initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds.\nThe applied value holds the value that is in effect on the current BGP session.\n",
  2042            "type": "integer"
  2043          },
  2044          "configured-hold-time-seconds": {
  2045            "description": "Configured initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds.\nThe configured value will be used for negotiation with the peer during the BGP session establishment.\n",
  2046            "type": "integer"
  2047          },
  2048          "configured-keep-alive-time-seconds": {
  2049            "description": "Configured initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds.\nThe applied value may be different than the configured value, as it depends on the negotiated hold time interval.\n",
  2050            "type": "integer"
  2051          },
  2052          "connect-retry-time-seconds": {
  2053            "description": "Initial value for the BGP ConnectRetryTimer (RFC 4271, Section 8) in seconds",
  2054            "type": "integer"
  2055          },
  2056          "ebgp-multihop-ttl": {
  2057            "description": "Time To Live (TTL) value used in BGP packets sent to the eBGP neighbor.\n1 implies that eBGP multi-hop feature is disabled (only a single hop is allowed).\n",
  2058            "type": "integer"
  2059          },
  2060          "families": {
  2061            "description": "BGP peer address family state",
  2062            "type": "array",
  2063            "items": {
  2064              "$ref": "#/definitions/BgpPeerFamilies"
  2065            }
  2066          },
  2067          "graceful-restart": {
  2068            "description": "Graceful restart capability",
  2069            "$ref": "#/definitions/BgpGracefulRestart"
  2070          },
  2071          "local-asn": {
  2072            "description": "Local AS Number",
  2073            "type": "integer"
  2074          },
  2075          "peer-address": {
  2076            "description": "IP Address of peer",
  2077            "type": "string"
  2078          },
  2079          "peer-asn": {
  2080            "description": "Peer AS Number",
  2081            "type": "integer"
  2082          },
  2083          "peer-port": {
  2084            "description": "TCP port number of peer",
  2085            "type": "integer",
  2086            "maximum": 65535,
  2087            "minimum": 1
  2088          },
  2089          "session-state": {
  2090            "description": "BGP peer operational state as described here\nhttps://www.rfc-editor.org/rfc/rfc4271#section-8.2.2\n",
  2091            "type": "string"
  2092          },
  2093          "tcp-password-enabled": {
  2094            "description": "Set when a TCP password is configured for communications with this peer",
  2095            "type": "boolean"
  2096          },
  2097          "uptime-nanoseconds": {
  2098            "description": "BGP peer connection uptime in nano seconds.",
  2099            "type": "integer"
  2100          }
  2101        }
  2102      },
  2103      "BgpPeerFamilies": {
  2104        "description": "BGP AFI SAFI state of the peer\n\n+k8s:deepcopy-gen=true",
  2105        "properties": {
  2106          "accepted": {
  2107            "description": "Number of routes accepted from the peer of this address family",
  2108            "type": "integer"
  2109          },
  2110          "advertised": {
  2111            "description": "Number of routes advertised of this address family to the peer",
  2112            "type": "integer"
  2113          },
  2114          "afi": {
  2115            "description": "BGP address family indicator",
  2116            "type": "string"
  2117          },
  2118          "received": {
  2119            "description": "Number of routes received from the peer of this address family",
  2120            "type": "integer"
  2121          },
  2122          "safi": {
  2123            "description": "BGP subsequent address family indicator",
  2124            "type": "string"
  2125          }
  2126        }
  2127      },
  2128      "BgpRoute": {
  2129        "description": "Single BGP route retrieved from the RIB of underlying router",
  2130        "properties": {
  2131          "neighbor": {
  2132            "description": "IP address specifying a BGP neighbor if the source table type is adj-rib-in or adj-rib-out",
  2133            "type": "string"
  2134          },
  2135          "paths": {
  2136            "description": "List of routing paths leading towards the prefix",
  2137            "type": "array",
  2138            "items": {
  2139              "$ref": "#/definitions/BgpPath"
  2140            }
  2141          },
  2142          "prefix": {
  2143            "description": "IP prefix of the route",
  2144            "type": "string"
  2145          },
  2146          "router-asn": {
  2147            "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance",
  2148            "type": "integer"
  2149          }
  2150        }
  2151      },
  2152      "BgpRoutePolicy": {
  2153        "description": "Single BGP route policy retrieved from the underlying router",
  2154        "properties": {
  2155          "name": {
  2156            "description": "Name of the route policy",
  2157            "type": "string"
  2158          },
  2159          "router-asn": {
  2160            "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance",
  2161            "type": "integer"
  2162          },
  2163          "statements": {
  2164            "description": "List of the route policy statements",
  2165            "type": "array",
  2166            "items": {
  2167              "$ref": "#/definitions/BgpRoutePolicyStatement"
  2168            }
  2169          },
  2170          "type": {
  2171            "description": "Type of the route policy",
  2172            "type": "string",
  2173            "enum": [
  2174              "export",
  2175              "import"
  2176            ]
  2177          }
  2178        }
  2179      },
  2180      "BgpRoutePolicyPrefixMatch": {
  2181        "description": "Matches a CIDR prefix in a BGP route policy",
  2182        "properties": {
  2183          "cidr": {
  2184            "description": "CIDR prefix to match with",
  2185            "type": "string"
  2186          },
  2187          "prefix-len-max": {
  2188            "description": "Maximal prefix length that will match if it falls under CIDR",
  2189            "type": "integer"
  2190          },
  2191          "prefix-len-min": {
  2192            "description": "Minimal prefix length that will match if it falls under CIDR",
  2193            "type": "integer"
  2194          }
  2195        }
  2196      },
  2197      "BgpRoutePolicyStatement": {
  2198        "description": "Single BGP route policy statement",
  2199        "properties": {
  2200          "add-communities": {
  2201            "description": "List of BGP standard community values to be added to the matched route",
  2202            "type": "array",
  2203            "items": {
  2204              "type": "string"
  2205            }
  2206          },
  2207          "add-large-communities": {
  2208            "description": "List of BGP large community values to be added to the matched route",
  2209            "type": "array",
  2210            "items": {
  2211              "type": "string"
  2212            }
  2213          },
  2214          "match-neighbors": {
  2215            "description": "Matches any of the provided BGP neighbor IP addresses. If empty matches all neighbors.",
  2216            "type": "array",
  2217            "items": {
  2218              "type": "string"
  2219            }
  2220          },
  2221          "match-prefixes": {
  2222            "description": "Matches any of the provided prefixes. If empty matches all prefixes.",
  2223            "type": "array",
  2224            "items": {
  2225              "$ref": "#/definitions/BgpRoutePolicyPrefixMatch"
  2226            }
  2227          },
  2228          "route-action": {
  2229            "description": "RIB processing action taken on the matched route",
  2230            "type": "string",
  2231            "enum": [
  2232              "none",
  2233              "accept",
  2234              "reject"
  2235            ]
  2236          },
  2237          "set-local-preference": {
  2238            "description": "BGP local preference value to be set on the matched route",
  2239            "type": "integer"
  2240          }
  2241        }
  2242      },
  2243      "CIDRList": {
  2244        "description": "List of CIDRs",
  2245        "type": "object",
  2246        "properties": {
  2247          "list": {
  2248            "type": "array",
  2249            "items": {
  2250              "type": "string"
  2251            }
  2252          },
  2253          "revision": {
  2254            "type": "integer"
  2255          }
  2256        }
  2257      },
  2258      "CIDRPolicy": {
  2259        "description": "CIDR endpoint policy\n\n+k8s:deepcopy-gen=true",
  2260        "type": "object",
  2261        "properties": {
  2262          "egress": {
  2263            "description": "List of CIDR egress rules",
  2264            "type": "array",
  2265            "items": {
  2266              "$ref": "#/definitions/PolicyRule"
  2267            }
  2268          },
  2269          "ingress": {
  2270            "description": "List of CIDR ingress rules",
  2271            "type": "array",
  2272            "items": {
  2273              "$ref": "#/definitions/PolicyRule"
  2274            }
  2275          }
  2276        }
  2277      },
  2278      "CNIChainingStatus": {
  2279        "description": "Status of CNI chaining\n\n+k8s:deepcopy-gen=true",
  2280        "properties": {
  2281          "mode": {
  2282            "type": "string",
  2283            "enum": [
  2284              "none",
  2285              "aws-cni",
  2286              "flannel",
  2287              "generic-veth",
  2288              "portmap"
  2289            ]
  2290          }
  2291        }
  2292      },
  2293      "CgroupContainerMetadata": {
  2294        "description": "cgroup container metadata",
  2295        "type": "object",
  2296        "properties": {
  2297          "cgroup-id": {
  2298            "type": "integer",
  2299            "format": "uint64"
  2300          },
  2301          "cgroup-path": {
  2302            "type": "string"
  2303          }
  2304        }
  2305      },
  2306      "CgroupDumpMetadata": {
  2307        "description": "cgroup full metadata",
  2308        "type": "object",
  2309        "properties": {
  2310          "pod-metadatas": {
  2311            "type": "array",
  2312            "items": {
  2313              "$ref": "#/definitions/CgroupPodMetadata"
  2314            }
  2315          }
  2316        }
  2317      },
  2318      "CgroupPodMetadata": {
  2319        "description": "cgroup pod metadata",
  2320        "type": "object",
  2321        "properties": {
  2322          "containers": {
  2323            "type": "array",
  2324            "items": {
  2325              "$ref": "#/definitions/CgroupContainerMetadata"
  2326            }
  2327          },
  2328          "ips": {
  2329            "type": "array",
  2330            "items": {
  2331              "type": "string"
  2332            }
  2333          },
  2334          "name": {
  2335            "type": "string"
  2336          },
  2337          "namespace": {
  2338            "type": "string"
  2339          }
  2340        }
  2341      },
  2342      "ClockSource": {
  2343        "description": "Status of BPF clock source\n\n+k8s:deepcopy-gen=true",
  2344        "type": "object",
  2345        "properties": {
  2346          "hertz": {
  2347            "description": "Kernel Hz",
  2348            "type": "integer"
  2349          },
  2350          "mode": {
  2351            "description": "Datapath clock source",
  2352            "type": "string",
  2353            "enum": [
  2354              "ktime",
  2355              "jiffies"
  2356            ]
  2357          }
  2358        }
  2359      },
  2360      "ClusterMeshStatus": {
  2361        "description": "Status of ClusterMesh\n\n+k8s:deepcopy-gen=true",
  2362        "properties": {
  2363          "clusters": {
  2364            "description": "List of remote clusters",
  2365            "type": "array",
  2366            "items": {
  2367              "$ref": "#/definitions/RemoteCluster"
  2368            }
  2369          },
  2370          "num-global-services": {
  2371            "description": "Number of global services",
  2372            "type": "integer"
  2373          }
  2374        }
  2375      },
  2376      "ClusterNodeStatus": {
  2377        "description": "Status of cluster",
  2378        "properties": {
  2379          "client-id": {
  2380            "description": "ID that should be used by the client to receive a diff from the previous request",
  2381            "type": "integer"
  2382          },
  2383          "nodes-added": {
  2384            "description": "List of known nodes",
  2385            "type": "array",
  2386            "items": {
  2387              "$ref": "#/definitions/NodeElement"
  2388            }
  2389          },
  2390          "nodes-removed": {
  2391            "description": "List of known nodes",
  2392            "type": "array",
  2393            "items": {
  2394              "$ref": "#/definitions/NodeElement"
  2395            }
  2396          },
  2397          "self": {
  2398            "description": "Name of local node (if available)",
  2399            "type": "string"
  2400          }
  2401        }
  2402      },
  2403      "ClusterNodesResponse": {
  2404        "properties": {
  2405          "nodes": {
  2406            "description": "List of known nodes",
  2407            "type": "array",
  2408            "items": {
  2409              "$ref": "#/definitions/NodeElement"
  2410            }
  2411          },
  2412          "self": {
  2413            "description": "Name of local node (if available)",
  2414            "type": "string"
  2415          }
  2416        }
  2417      },
  2418      "ClusterStatus": {
  2419        "description": "Status of cluster\n\n+k8s:deepcopy-gen=true",
  2420        "properties": {
  2421          "ciliumHealth": {
  2422            "description": "Status of local cilium-health daemon",
  2423            "$ref": "#/definitions/Status"
  2424          },
  2425          "nodes": {
  2426            "description": "List of known nodes",
  2427            "type": "array",
  2428            "items": {
  2429              "$ref": "#/definitions/NodeElement"
  2430            }
  2431          },
  2432          "self": {
  2433            "description": "Name of local node (if available)",
  2434            "type": "string"
  2435          }
  2436        }
  2437      },
  2438      "ConfigurationMap": {
  2439        "description": "Map of configuration key/value pairs.\n",
  2440        "type": "object",
  2441        "additionalProperties": {
  2442          "type": "string"
  2443        }
  2444      },
  2445      "ControllerStatus": {
  2446        "description": "Status of a controller\n\n+k8s:deepcopy-gen=true",
  2447        "type": "object",
  2448        "properties": {
  2449          "configuration": {
  2450            "description": "Configuration of controller\n\n+deepequal-gen=true\n+k8s:deepcopy-gen=true",
  2451            "type": "object",
  2452            "properties": {
  2453              "error-retry": {
  2454                "description": "Retry on error",
  2455                "type": "boolean"
  2456              },
  2457              "error-retry-base": {
  2458                "description": "Base error retry back-off time",
  2459                "type": "string",
  2460                "format": "duration"
  2461              },
  2462              "interval": {
  2463                "description": "Regular synchronization interval",
  2464                "type": "string",
  2465                "format": "duration"
  2466              }
  2467            }
  2468          },
  2469          "name": {
  2470            "description": "Name of controller",
  2471            "type": "string"
  2472          },
  2473          "status": {
  2474            "description": "Current status of controller\n\n+k8s:deepcopy-gen=true",
  2475            "type": "object",
  2476            "properties": {
  2477              "consecutive-failure-count": {
  2478                "description": "Number of consecutive errors since last success",
  2479                "type": "integer"
  2480              },
  2481              "failure-count": {
  2482                "description": "Total number of failed runs",
  2483                "type": "integer"
  2484              },
  2485              "last-failure-msg": {
  2486                "description": "Error message of last failed run",
  2487                "type": "string"
  2488              },
  2489              "last-failure-timestamp": {
  2490                "description": "Timestamp of last error",
  2491                "type": "string",
  2492                "format": "date-time"
  2493              },
  2494              "last-success-timestamp": {
  2495                "description": "Timestamp of last success",
  2496                "type": "string",
  2497                "format": "date-time"
  2498              },
  2499              "success-count": {
  2500                "description": "Total number of successful runs",
  2501                "type": "integer"
  2502              }
  2503            }
  2504          },
  2505          "uuid": {
  2506            "description": "UUID of controller",
  2507            "type": "string",
  2508            "format": "uuid"
  2509          }
  2510        }
  2511      },
  2512      "ControllerStatuses": {
  2513        "description": "Collection of controller statuses",
  2514        "type": "array",
  2515        "items": {
  2516          "$ref": "#/definitions/ControllerStatus"
  2517        }
  2518      },
  2519      "DNSLookup": {
  2520        "description": "An IP -\u003e DNS mapping, with metadata",
  2521        "type": "object",
  2522        "properties": {
  2523          "endpoint-id": {
  2524            "description": "The endpoint that made this lookup, or 0 for the agent itself.",
  2525            "type": "integer"
  2526          },
  2527          "expiration-time": {
  2528            "description": "The absolute time when this data will expire in this cache",
  2529            "type": "string",
  2530            "format": "date-time"
  2531          },
  2532          "fqdn": {
  2533            "description": "DNS name",
  2534            "type": "string"
  2535          },
  2536          "ips": {
  2537            "description": "IP addresses returned in this lookup",
  2538            "type": "array",
  2539            "items": {
  2540              "type": "string"
  2541            }
  2542          },
  2543          "lookup-time": {
  2544            "description": "The absolute time when this data was received",
  2545            "type": "string",
  2546            "format": "date-time"
  2547          },
  2548          "source": {
  2549            "description": "The reason this FQDN IP association exists. Either a DNS lookup or an ongoing connection to an IP that was created by a DNS lookup.",
  2550            "type": "string"
  2551          },
  2552          "ttl": {
  2553            "description": "The TTL in the DNS response",
  2554            "type": "integer"
  2555          }
  2556        }
  2557      },
  2558      "DaemonConfiguration": {
  2559        "description": "Response to a daemon configuration request.\n",
  2560        "type": "object",
  2561        "properties": {
  2562          "spec": {
  2563            "description": "Changeable configuration",
  2564            "$ref": "#/definitions/DaemonConfigurationSpec"
  2565          },
  2566          "status": {
  2567            "description": "Current daemon configuration related status.Contains the addressing\ninformation, k8s, node monitor and immutable and mutable\nconfiguration settings.\n",
  2568            "$ref": "#/definitions/DaemonConfigurationStatus"
  2569          }
  2570        }
  2571      },
  2572      "DaemonConfigurationSpec": {
  2573        "description": "The controllable configuration of the daemon.",
  2574        "type": "object",
  2575        "properties": {
  2576          "options": {
  2577            "description": "Changeable configuration",
  2578            "$ref": "#/definitions/ConfigurationMap"
  2579          },
  2580          "policy-enforcement": {
  2581            "description": "The policy-enforcement mode",
  2582            "type": "string",
  2583            "enum": [
  2584              "default",
  2585              "always",
  2586              "never"
  2587            ]
  2588          }
  2589        }
  2590      },
  2591      "DaemonConfigurationStatus": {
  2592        "description": "Response to a daemon configuration request. Contains the addressing\ninformation, k8s, node monitor and immutable and mutable configuration\nsettings.\n",
  2593        "type": "object",
  2594        "properties": {
  2595          "GROIPv4MaxSize": {
  2596            "description": "Maximum IPv4 GRO size on workload facing devices",
  2597            "type": "integer"
  2598          },
  2599          "GROMaxSize": {
  2600            "description": "Maximum IPv6 GRO size on workload facing devices",
  2601            "type": "integer"
  2602          },
  2603          "GSOIPv4MaxSize": {
  2604            "description": "Maximum IPv4 GSO size on workload facing devices",
  2605            "type": "integer"
  2606          },
  2607          "GSOMaxSize": {
  2608            "description": "Maximum IPv6 GSO size on workload facing devices",
  2609            "type": "integer"
  2610          },
  2611          "addressing": {
  2612            "$ref": "#/definitions/NodeAddressing"
  2613          },
  2614          "daemonConfigurationMap": {
  2615            "description": "Config map which contains all the active daemon configurations",
  2616            "additionalProperties": {
  2617              "type": "object"
  2618            }
  2619          },
  2620          "datapathMode": {
  2621            "$ref": "#/definitions/DatapathMode"
  2622          },
  2623          "deviceMTU": {
  2624            "description": "MTU on workload facing devices",
  2625            "type": "integer"
  2626          },
  2627          "egress-multi-home-ip-rule-compat": {
  2628            "description": "Configured compatibility mode for --egress-multi-home-ip-rule-compat",
  2629            "type": "boolean"
  2630          },
  2631          "enableRouteMTUForCNIChaining": {
  2632            "description": "Enable route MTU for pod netns when CNI chaining is used",
  2633            "type": "boolean"
  2634          },
  2635          "immutable": {
  2636            "description": "Immutable configuration (read-only)",
  2637            "$ref": "#/definitions/ConfigurationMap"
  2638          },
  2639          "ipLocalReservedPorts": {
  2640            "description": "Comma-separated list of IP ports should be reserved in the workload network namespace",
  2641            "type": "string"
  2642          },
  2643          "ipam-mode": {
  2644            "description": "Configured IPAM mode",
  2645            "type": "string"
  2646          },
  2647          "k8s-configuration": {
  2648            "type": "string"
  2649          },
  2650          "k8s-endpoint": {
  2651            "type": "string"
  2652          },
  2653          "kvstoreConfiguration": {
  2654            "$ref": "#/definitions/KVstoreConfiguration"
  2655          },
  2656          "masquerade": {
  2657            "type": "boolean"
  2658          },
  2659          "masqueradeProtocols": {
  2660            "description": "Status of masquerading feature",
  2661            "type": "object",
  2662            "properties": {
  2663              "ipv4": {
  2664                "description": "Status of masquerading for IPv4 traffic",
  2665                "type": "boolean"
  2666              },
  2667              "ipv6": {
  2668                "description": "Status of masquerading for IPv6 traffic",
  2669                "type": "boolean"
  2670              }
  2671            }
  2672          },
  2673          "nodeMonitor": {
  2674            "description": "Status of the node monitor",
  2675            "$ref": "#/definitions/MonitorStatus"
  2676          },
  2677          "realized": {
  2678            "description": "Currently applied configuration",
  2679            "$ref": "#/definitions/DaemonConfigurationSpec"
  2680          },
  2681          "routeMTU": {
  2682            "description": "MTU for network facing routes",
  2683            "type": "integer"
  2684          }
  2685        }
  2686      },
  2687      "DatapathMode": {
  2688        "description": "Datapath mode",
  2689        "type": "string",
  2690        "enum": [
  2691          "veth",
  2692          "netkit",
  2693          "netkit-l2"
  2694        ]
  2695      },
  2696      "DebugInfo": {
  2697        "description": "groups some debugging related information on the agent",
  2698        "type": "object",
  2699        "properties": {
  2700          "cilium-memory-map": {
  2701            "type": "string"
  2702          },
  2703          "cilium-nodemonitor-memory-map": {
  2704            "type": "string"
  2705          },
  2706          "cilium-status": {
  2707            "$ref": "#/definitions/StatusResponse"
  2708          },
  2709          "cilium-version": {
  2710            "type": "string"
  2711          },
  2712          "encryption": {
  2713            "type": "object",
  2714            "properties": {
  2715              "wireguard": {
  2716                "description": "Status of the WireGuard agent",
  2717                "$ref": "#/definitions/WireguardStatus"
  2718              }
  2719            }
  2720          },
  2721          "endpoint-list": {
  2722            "type": "array",
  2723            "items": {
  2724              "$ref": "#/definitions/Endpoint"
  2725            }
  2726          },
  2727          "environment-variables": {
  2728            "type": "array",
  2729            "items": {
  2730              "type": "string"
  2731            }
  2732          },
  2733          "kernel-version": {
  2734            "type": "string"
  2735          },
  2736          "policy": {
  2737            "$ref": "#/definitions/Policy"
  2738          },
  2739          "service-list": {
  2740            "type": "array",
  2741            "items": {
  2742              "$ref": "#/definitions/Service"
  2743            }
  2744          },
  2745          "subsystem": {
  2746            "type": "object",
  2747            "additionalProperties": {
  2748              "type": "string"
  2749            }
  2750          }
  2751        }
  2752      },
  2753      "EncryptionStatus": {
  2754        "description": "Status of transparent encryption\n\n+k8s:deepcopy-gen=true",
  2755        "properties": {
  2756          "ipsec": {
  2757            "description": "Status of the IPsec agent",
  2758            "$ref": "#/definitions/IPsecStatus"
  2759          },
  2760          "mode": {
  2761            "type": "string",
  2762            "enum": [
  2763              "Disabled",
  2764              "IPsec",
  2765              "Wireguard"
  2766            ]
  2767          },
  2768          "msg": {
  2769            "description": "Human readable error/warning message",
  2770            "type": "string"
  2771          },
  2772          "wireguard": {
  2773            "description": "Status of the WireGuard agent",
  2774            "$ref": "#/definitions/WireguardStatus"
  2775          }
  2776        }
  2777      },
  2778      "Endpoint": {
  2779        "description": "An endpoint is a namespaced network interface to which cilium applies policies",
  2780        "type": "object",
  2781        "properties": {
  2782          "id": {
  2783            "description": "The cilium-agent-local ID of the endpoint",
  2784            "type": "integer"
  2785          },
  2786          "spec": {
  2787            "description": "The desired configuration state of the endpoint",
  2788            "$ref": "#/definitions/EndpointConfigurationSpec"
  2789          },
  2790          "status": {
  2791            "description": "The desired and realized configuration state of the endpoint",
  2792            "$ref": "#/definitions/EndpointStatus"
  2793          }
  2794        }
  2795      },
  2796      "EndpointBatchDeleteRequest": {
  2797        "description": "Properties selecting a batch of endpoints to delete.\n",
  2798        "type": "object",
  2799        "properties": {
  2800          "container-id": {
  2801            "description": "ID assigned by container runtime",
  2802            "type": "string"
  2803          }
  2804        }
  2805      },
  2806      "EndpointChangeRequest": {
  2807        "description": "Structure which contains the mutable elements of an Endpoint.\n",
  2808        "type": "object",
  2809        "required": [
  2810          "state"
  2811        ],
  2812        "properties": {
  2813          "addressing": {
  2814            "$ref": "#/definitions/AddressPair"
  2815          },
  2816          "container-id": {
  2817            "description": "ID assigned by container runtime",
  2818            "type": "string"
  2819          },
  2820          "container-interface-name": {
  2821            "description": "Name of network device in container netns",
  2822            "type": "string"
  2823          },
  2824          "container-name": {
  2825            "description": "Name assigned to container",
  2826            "type": "string"
  2827          },
  2828          "datapath-configuration": {
  2829            "$ref": "#/definitions/EndpointDatapathConfiguration"
  2830          },
  2831          "datapath-map-id": {
  2832            "description": "ID of datapath tail call map",
  2833            "type": "integer"
  2834          },
  2835          "disable-legacy-identifiers": {
  2836            "description": "Disables lookup using legacy endpoint identifiers (container name, container id, pod name) for this endpoint",
  2837            "type": "boolean"
  2838          },
  2839          "docker-endpoint-id": {
  2840            "description": "Docker endpoint ID",
  2841            "type": "string"
  2842          },
  2843          "docker-network-id": {
  2844            "description": "Docker network ID",
  2845            "type": "string"
  2846          },
  2847          "host-mac": {
  2848            "description": "MAC address",
  2849            "type": "string"
  2850          },
  2851          "id": {
  2852            "description": "Local endpoint ID",
  2853            "type": "integer"
  2854          },
  2855          "interface-index": {
  2856            "description": "Index of network device in host netns",
  2857            "type": "integer"
  2858          },
  2859          "interface-name": {
  2860            "description": "Name of network device in host netns",
  2861            "type": "string"
  2862          },
  2863          "k8s-namespace": {
  2864            "description": "Kubernetes namespace name",
  2865            "type": "string"
  2866          },
  2867          "k8s-pod-name": {
  2868            "description": "Kubernetes pod name",
  2869            "type": "string"
  2870          },
  2871          "k8s-uid": {
  2872            "description": "Kubernetes pod UID",
  2873            "type": "string"
  2874          },
  2875          "labels": {
  2876            "description": "Labels describing the identity",
  2877            "$ref": "#/definitions/Labels"
  2878          },
  2879          "mac": {
  2880            "description": "MAC address",
  2881            "type": "string"
  2882          },
  2883          "netns-cookie": {
  2884            "description": "Network namespace cookie",
  2885            "type": "string"
  2886          },
  2887          "pid": {
  2888            "description": "Process ID of the workload belonging to this endpoint",
  2889            "type": "integer"
  2890          },
  2891          "policy-enabled": {
  2892            "description": "Whether policy enforcement is enabled or not",
  2893            "type": "boolean"
  2894          },
  2895          "properties": {
  2896            "description": "Properties is used to store information about the endpoint at creation. Useful for tests.",
  2897            "additionalProperties": {
  2898              "type": "object"
  2899            }
  2900          },
  2901          "state": {
  2902            "description": "Current state of endpoint",
  2903            "$ref": "#/definitions/EndpointState"
  2904          },
  2905          "sync-build-endpoint": {
  2906            "description": "Whether to build an endpoint synchronously\n",
  2907            "type": "boolean"
  2908          }
  2909        }
  2910      },
  2911      "EndpointConfigurationSpec": {
  2912        "description": "An endpoint's configuration",
  2913        "type": "object",
  2914        "properties": {
  2915          "label-configuration": {
  2916            "description": "the endpoint's labels",
  2917            "$ref": "#/definitions/LabelConfigurationSpec"
  2918          },
  2919          "options": {
  2920            "description": "Changeable configuration",
  2921            "$ref": "#/definitions/ConfigurationMap"
  2922          }
  2923        }
  2924      },
  2925      "EndpointConfigurationStatus": {
  2926        "description": "An endpoint's configuration",
  2927        "type": "object",
  2928        "properties": {
  2929          "error": {
  2930            "description": "Most recent error, if applicable",
  2931            "$ref": "#/definitions/Error"
  2932          },
  2933          "immutable": {
  2934            "description": "Immutable configuration (read-only)",
  2935            "$ref": "#/definitions/ConfigurationMap"
  2936          },
  2937          "realized": {
  2938            "description": "currently applied changeable configuration",
  2939            "$ref": "#/definitions/EndpointConfigurationSpec"
  2940          }
  2941        }
  2942      },
  2943      "EndpointDatapathConfiguration": {
  2944        "description": "Datapath configuration to be used for the endpoint",
  2945        "type": "object",
  2946        "properties": {
  2947          "disable-sip-verification": {
  2948            "description": "Disable source IP verification for the endpoint.\n",
  2949            "type": "boolean"
  2950          },
  2951          "external-ipam": {
  2952            "description": "Indicates that IPAM is done external to Cilium. This will prevent the IP from being released and re-allocation of the IP address is skipped on restore.\n",
  2953            "type": "boolean"
  2954          },
  2955          "install-endpoint-route": {
  2956            "description": "Installs a route in the Linux routing table pointing to the device of the endpoint's interface.\n",
  2957            "type": "boolean"
  2958          },
  2959          "require-arp-passthrough": {
  2960            "description": "Enable ARP passthrough mode",
  2961            "type": "boolean"
  2962          },
  2963          "require-egress-prog": {
  2964            "description": "Endpoint requires a host-facing egress program to be attached to implement ingress policy and reverse NAT.\n",
  2965            "type": "boolean"
  2966          },
  2967          "require-routing": {
  2968            "description": "Endpoint requires BPF routing to be enabled, when disabled, routing is delegated to Linux routing.\n",
  2969            "type": "boolean",
  2970            "default": true
  2971          }
  2972        }
  2973      },
  2974      "EndpointHealth": {
  2975        "description": "Health of the endpoint\n\n+deepequal-gen=true",
  2976        "type": "object",
  2977        "properties": {
  2978          "bpf": {
  2979            "$ref": "#/definitions/EndpointHealthStatus"
  2980          },
  2981          "connected": {
  2982            "description": "Is this endpoint reachable",
  2983            "type": "boolean"
  2984          },
  2985          "overallHealth": {
  2986            "$ref": "#/definitions/EndpointHealthStatus"
  2987          },
  2988          "policy": {
  2989            "$ref": "#/definitions/EndpointHealthStatus"
  2990          }
  2991        }
  2992      },
  2993      "EndpointHealthStatus": {
  2994        "description": "A common set of statuses for endpoint health * ` + "`" + `` + "`" + `OK` + "`" + `` + "`" + ` = All components operational * ` + "`" + `` + "`" + `Bootstrap` + "`" + `` + "`" + ` = This component is being created * ` + "`" + `` + "`" + `Pending` + "`" + `` + "`" + ` = A change is being processed to be applied * ` + "`" + `` + "`" + `Warning` + "`" + `` + "`" + ` = This component is not applying up-to-date policies (but is still applying the previous version) * ` + "`" + `` + "`" + `Failure` + "`" + `` + "`" + ` = An error has occurred and no policy is being applied * ` + "`" + `` + "`" + `Disabled` + "`" + `` + "`" + ` = This endpoint is disabled and will not handle traffic\n",
  2995        "type": "string",
  2996        "enum": [
  2997          "OK",
  2998          "Bootstrap",
  2999          "Pending",
  3000          "Warning",
  3001          "Failure",
  3002          "Disabled"
  3003        ]
  3004      },
  3005      "EndpointIdentifiers": {
  3006        "description": "Unique identifiers for this endpoint from outside cilium\n\n+deepequal-gen=true",
  3007        "type": "object",
  3008        "properties": {
  3009          "cni-attachment-id": {
  3010            "description": "ID assigned to this attachment by container runtime",
  3011            "type": "string"
  3012          },
  3013          "container-id": {
  3014            "description": "ID assigned by container runtime (deprecated, may not be unique)",
  3015            "type": "string"
  3016          },
  3017          "container-name": {
  3018            "description": "Name assigned to container (deprecated, may not be unique)",
  3019            "type": "string"
  3020          },
  3021          "docker-endpoint-id": {
  3022            "description": "Docker endpoint ID",
  3023            "type": "string"
  3024          },
  3025          "docker-network-id": {
  3026            "description": "Docker network ID",
  3027            "type": "string"
  3028          },
  3029          "k8s-namespace": {
  3030            "description": "K8s namespace for this endpoint (deprecated, may not be unique)",
  3031            "type": "string"
  3032          },
  3033          "k8s-pod-name": {
  3034            "description": "K8s pod name for this endpoint (deprecated, may not be unique)",
  3035            "type": "string"
  3036          },
  3037          "pod-name": {
  3038            "description": "K8s pod for this endpoint (deprecated, may not be unique)",
  3039            "type": "string"
  3040          }
  3041        }
  3042      },
  3043      "EndpointNetworking": {
  3044        "description": "Unique identifiers for this endpoint from outside cilium",
  3045        "type": "object",
  3046        "properties": {
  3047          "addressing": {
  3048            "description": "IP4/6 addresses assigned to this Endpoint",
  3049            "type": "array",
  3050            "items": {
  3051              "$ref": "#/definitions/AddressPair"
  3052            }
  3053          },
  3054          "container-interface-name": {
  3055            "description": "Name of network device in container netns",
  3056            "type": "string"
  3057          },
  3058          "host-addressing": {
  3059            "$ref": "#/definitions/NodeAddressing"
  3060          },
  3061          "host-mac": {
  3062            "description": "MAC address",
  3063            "type": "string"
  3064          },
  3065          "interface-index": {
  3066            "description": "Index of network device in host netns",
  3067            "type": "integer"
  3068          },
  3069          "interface-name": {
  3070            "description": "Name of network device in host netns",
  3071            "type": "string"
  3072          },
  3073          "mac": {
  3074            "description": "MAC address",
  3075            "type": "string"
  3076          }
  3077        }
  3078      },
  3079      "EndpointPolicy": {
  3080        "description": "Policy information of an endpoint\n\n+k8s:deepcopy-gen=true",
  3081        "type": "object",
  3082        "properties": {
  3083          "allowed-egress-identities": {
  3084            "description": "List of identities to which this endpoint is allowed to communicate\n",
  3085            "type": "array",
  3086            "items": {
  3087              "type": "integer"
  3088            }
  3089          },
  3090          "allowed-ingress-identities": {
  3091            "description": "List of identities allowed to communicate to this endpoint\n",
  3092            "type": "array",
  3093            "items": {
  3094              "type": "integer"
  3095            }
  3096          },
  3097          "build": {
  3098            "description": "Build number of calculated policy in use",
  3099            "type": "integer"
  3100          },
  3101          "cidr-policy": {
  3102            "$ref": "#/definitions/CIDRPolicy"
  3103          },
  3104          "denied-egress-identities": {
  3105            "description": "List of identities to which this endpoint is not allowed to communicate\n",
  3106            "type": "array",
  3107            "items": {
  3108              "type": "integer"
  3109            }
  3110          },
  3111          "denied-ingress-identities": {
  3112            "description": "List of identities not allowed to communicate to this endpoint\n",
  3113            "type": "array",
  3114            "items": {
  3115              "type": "integer"
  3116            }
  3117          },
  3118          "id": {
  3119            "description": "Own identity of endpoint",
  3120            "type": "integer"
  3121          },
  3122          "l4": {
  3123            "$ref": "#/definitions/L4Policy"
  3124          },
  3125          "policy-enabled": {
  3126            "description": "Whether policy enforcement is enabled (ingress, egress, both or none)",
  3127            "$ref": "#/definitions/EndpointPolicyEnabled"
  3128          },
  3129          "policy-revision": {
  3130            "description": "The agent-local policy revision",
  3131            "type": "integer"
  3132          }
  3133        }
  3134      },
  3135      "EndpointPolicyEnabled": {
  3136        "description": "Whether policy enforcement is enabled (ingress, egress, both or none)",
  3137        "type": "string",
  3138        "enum": [
  3139          "none",
  3140          "ingress",
  3141          "egress",
  3142          "both",
  3143          "audit-ingress",
  3144          "audit-egress",
  3145          "audit-both"
  3146        ]
  3147      },
  3148      "EndpointPolicyStatus": {
  3149        "description": "Policy information of an endpoint",
  3150        "type": "object",
  3151        "properties": {
  3152          "proxy-policy-revision": {
  3153            "description": "The policy revision currently enforced in the proxy for this endpoint",
  3154            "type": "integer"
  3155          },
  3156          "proxy-statistics": {
  3157            "description": "Statistics of the proxy redirects configured for this endpoint",
  3158            "type": "array",
  3159            "items": {
  3160              "$ref": "#/definitions/ProxyStatistics"
  3161            }
  3162          },
  3163          "realized": {
  3164            "description": "The policy in the datapath for this endpoint",
  3165            "$ref": "#/definitions/EndpointPolicy"
  3166          },
  3167          "spec": {
  3168            "description": "The policy that should apply to this endpoint",
  3169            "$ref": "#/definitions/EndpointPolicy"
  3170          }
  3171        }
  3172      },
  3173      "EndpointState": {
  3174        "description": "State of endpoint",
  3175        "type": "string",
  3176        "enum": [
  3177          "waiting-for-identity",
  3178          "not-ready",
  3179          "waiting-to-regenerate",
  3180          "regenerating",
  3181          "restoring",
  3182          "ready",
  3183          "disconnecting",
  3184          "disconnected",
  3185          "invalid"
  3186        ]
  3187      },
  3188      "EndpointStatus": {
  3189        "description": "The current state and configuration of the endpoint, its policy \u0026 datapath, and subcomponents",
  3190        "type": "object",
  3191        "required": [
  3192          "state"
  3193        ],
  3194        "properties": {
  3195          "controllers": {
  3196            "description": "Status of internal controllers attached to this endpoint",
  3197            "$ref": "#/definitions/ControllerStatuses"
  3198          },
  3199          "external-identifiers": {
  3200            "description": "Unique identifiers for this endpoint from outside cilium",
  3201            "$ref": "#/definitions/EndpointIdentifiers"
  3202          },
  3203          "health": {
  3204            "description": "Summary overall endpoint \u0026 subcomponent health",
  3205            "$ref": "#/definitions/EndpointHealth"
  3206          },
  3207          "identity": {
  3208            "description": "The security identity for this endpoint",
  3209            "$ref": "#/definitions/Identity"
  3210          },
  3211          "labels": {
  3212            "description": "Labels applied to this endpoint",
  3213            "$ref": "#/definitions/LabelConfigurationStatus"
  3214          },
  3215          "log": {
  3216            "description": "Most recent status log. See endpoint/{id}/log for the complete log.",
  3217            "$ref": "#/definitions/EndpointStatusLog"
  3218          },
  3219          "namedPorts": {
  3220            "description": "List of named ports that can be used in Network Policy",
  3221            "$ref": "#/definitions/NamedPorts"
  3222          },
  3223          "networking": {
  3224            "description": "Networking properties of the endpoint",
  3225            "$ref": "#/definitions/EndpointNetworking"
  3226          },
  3227          "policy": {
  3228            "description": "The policy applied to this endpoint from the policy repository",
  3229            "$ref": "#/definitions/EndpointPolicyStatus"
  3230          },
  3231          "realized": {
  3232            "description": "The configuration in effect on this endpoint",
  3233            "$ref": "#/definitions/EndpointConfigurationSpec"
  3234          },
  3235          "state": {
  3236            "description": "Current state of endpoint",
  3237            "$ref": "#/definitions/EndpointState"
  3238          }
  3239        }
  3240      },
  3241      "EndpointStatusChange": {
  3242        "description": "Indication of a change of status\n\n+deepequal-gen=true",
  3243        "type": "object",
  3244        "properties": {
  3245          "code": {
  3246            "description": "Code indicate type of status change",
  3247            "type": "string",
  3248            "enum": [
  3249              "ok",
  3250              "failed"
  3251            ]
  3252          },
  3253          "message": {
  3254            "description": "Status message",
  3255            "type": "string"
  3256          },
  3257          "state": {
  3258            "$ref": "#/definitions/EndpointState"
  3259          },
  3260          "timestamp": {
  3261            "description": "Timestamp when status change occurred",
  3262            "type": "string"
  3263          }
  3264        }
  3265      },
  3266      "EndpointStatusLog": {
  3267        "description": "Status log of endpoint",
  3268        "type": "array",
  3269        "items": {
  3270          "$ref": "#/definitions/EndpointStatusChange"
  3271        }
  3272      },
  3273      "Error": {
  3274        "type": "string"
  3275      },
  3276      "FrontendAddress": {
  3277        "description": "Layer 4 address. The protocol is currently ignored, all services will\nbehave as if protocol any is specified. To restrict to a particular\nprotocol, use policy.\n",
  3278        "type": "object",
  3279        "properties": {
  3280          "ip": {
  3281            "description": "Layer 3 address",
  3282            "type": "string"
  3283          },
  3284          "port": {
  3285            "description": "Layer 4 port number",
  3286            "type": "integer",
  3287            "format": "uint16"
  3288          },
  3289          "protocol": {
  3290            "description": "Layer 4 protocol",
  3291            "type": "string",
  3292            "enum": [
  3293              "tcp",
  3294              "udp",
  3295              "any"
  3296            ]
  3297          },
  3298          "scope": {
  3299            "description": "Load balancing scope for frontend address",
  3300            "type": "string",
  3301            "enum": [
  3302              "external",
  3303              "internal"
  3304            ]
  3305          }
  3306        }
  3307      },
  3308      "FrontendMapping": {
  3309        "description": "Mapping of frontend to backend pods of an LRP",
  3310        "type": "object",
  3311        "properties": {
  3312          "backends": {
  3313            "description": "Pod backends of an LRP",
  3314            "type": "array",
  3315            "items": {
  3316              "$ref": "#/definitions/LRPBackend"
  3317            }
  3318          },
  3319          "frontend-address": {
  3320            "$ref": "#/definitions/FrontendAddress"
  3321          }
  3322        }
  3323      },
  3324      "HostFirewall": {
  3325        "description": "Status of the host firewall\n\n+k8s:deepcopy-gen=true",
  3326        "type": "object",
  3327        "properties": {
  3328          "devices": {
  3329            "type": "array",
  3330            "items": {
  3331              "type": "string"
  3332            }
  3333          },
  3334          "mode": {
  3335            "type": "string",
  3336            "enum": [
  3337              "Disabled",
  3338              "Enabled"
  3339            ]
  3340          }
  3341        }
  3342      },
  3343      "HubbleStatus": {
  3344        "description": "Status of the Hubble server\n\n+k8s:deepcopy-gen=true",
  3345        "type": "object",
  3346        "properties": {
  3347          "metrics": {
  3348            "description": "Status of the Hubble metrics server",
  3349            "type": "object",
  3350            "properties": {
  3351              "state": {
  3352                "description": "State of the Hubble metrics",
  3353                "type": "string",
  3354                "enum": [
  3355                  "Ok",
  3356                  "Warning",
  3357                  "Failure",
  3358                  "Disabled"
  3359                ]
  3360              }
  3361            }
  3362          },
  3363          "msg": {
  3364            "description": "Human readable status/error/warning message",
  3365            "type": "string"
  3366          },
  3367          "observer": {
  3368            "description": "Status of the Hubble observer\n\n+k8s:deepcopy-gen=true",
  3369            "type": "object",
  3370            "properties": {
  3371              "current-flows": {
  3372                "description": "Current number of flows this Hubble observer stores",
  3373                "type": "integer"
  3374              },
  3375              "max-flows": {
  3376                "description": "Maximum number of flows this Hubble observer is able to store",
  3377                "type": "integer"
  3378              },
  3379              "seen-flows": {
  3380                "description": "Total number of flows this Hubble observer has seen",
  3381                "type": "integer"
  3382              },
  3383              "uptime": {
  3384                "description": "Uptime of this Hubble observer instance",
  3385                "type": "string",
  3386                "format": "duration"
  3387              }
  3388            }
  3389          },
  3390          "state": {
  3391            "description": "State the component is in",
  3392            "type": "string",
  3393            "enum": [
  3394              "Ok",
  3395              "Warning",
  3396              "Failure",
  3397              "Disabled"
  3398            ]
  3399          }
  3400        }
  3401      },
  3402      "IPAMAddressResponse": {
  3403        "description": "IPAM configuration of an individual address family",
  3404        "type": "object",
  3405        "properties": {
  3406          "cidrs": {
  3407            "description": "List of CIDRs out of which IPs are allocated",
  3408            "type": "array",
  3409            "items": {
  3410              "type": "string"
  3411            }
  3412          },
  3413          "expiration-uuid": {
  3414            "description": "The UUID for the expiration timer. Set when expiration has been\nenabled while allocating.\n",
  3415            "type": "string"
  3416          },
  3417          "gateway": {
  3418            "description": "IP of gateway",
  3419            "type": "string"
  3420          },
  3421          "interface-number": {
  3422            "description": "InterfaceNumber is a field for generically identifying an interface. This is only useful in ENI mode.\n",
  3423            "type": "string"
  3424          },
  3425          "ip": {
  3426            "description": "Allocated IP for endpoint",
  3427            "type": "string"
  3428          },
  3429          "master-mac": {
  3430            "description": "MAC of master interface if address is a slave/secondary of a master interface",
  3431            "type": "string"
  3432          }
  3433        }
  3434      },
  3435      "IPAMResponse": {
  3436        "description": "IPAM configuration of an endpoint",
  3437        "type": "object",
  3438        "required": [
  3439          "address",
  3440          "host-addressing"
  3441        ],
  3442        "properties": {
  3443          "address": {
  3444            "$ref": "#/definitions/AddressPair"
  3445          },
  3446          "host-addressing": {
  3447            "$ref": "#/definitions/NodeAddressing"
  3448          },
  3449          "ipv4": {
  3450            "$ref": "#/definitions/IPAMAddressResponse"
  3451          },
  3452          "ipv6": {
  3453            "$ref": "#/definitions/IPAMAddressResponse"
  3454          }
  3455        }
  3456      },
  3457      "IPAMStatus": {
  3458        "description": "Status of IP address management\n\n+k8s:deepcopy-gen=true",
  3459        "properties": {
  3460          "allocations": {
  3461            "$ref": "#/definitions/AllocationMap"
  3462          },
  3463          "ipv4": {
  3464            "type": "array",
  3465            "items": {
  3466              "type": "string"
  3467            }
  3468          },
  3469          "ipv6": {
  3470            "type": "array",
  3471            "items": {
  3472              "type": "string"
  3473            }
  3474          },
  3475          "status": {
  3476            "type": "string"
  3477          }
  3478        }
  3479      },
  3480      "IPListEntry": {
  3481        "description": "IP entry with metadata",
  3482        "type": "object",
  3483        "required": [
  3484          "cidr",
  3485          "identity"
  3486        ],
  3487        "properties": {
  3488          "cidr": {
  3489            "description": "Key of the entry in the form of a CIDR range",
  3490            "type": "string"
  3491          },
  3492          "encryptKey": {
  3493            "description": "The context ID for the encryption session",
  3494            "type": "integer"
  3495          },
  3496          "hostIP": {
  3497            "description": "IP address of the host",
  3498            "type": "string"
  3499          },
  3500          "identity": {
  3501            "description": "Numerical identity assigned to the IP",
  3502            "type": "integer"
  3503          },
  3504          "metadata": {
  3505            "$ref": "#/definitions/IPListEntryMetadata"
  3506          }
  3507        }
  3508      },
  3509      "IPListEntryMetadata": {
  3510        "description": "Additional metadata assigned to an IP list entry",
  3511        "type": "object",
  3512        "properties": {
  3513          "name": {
  3514            "description": "Name assigned to the IP (e.g. Kubernetes pod name)",
  3515            "type": "string"
  3516          },
  3517          "namespace": {
  3518            "description": "Namespace of the IP (e.g. Kubernetes namespace)",
  3519            "type": "string"
  3520          },
  3521          "source": {
  3522            "description": "Source of the IP entry and its metadata",
  3523            "type": "string",
  3524            "example": "k8s"
  3525          }
  3526        }
  3527      },
  3528      "IPV4BigTCP": {
  3529        "description": "Status of IPv4 BIG TCP\n\n+k8s:deepcopy-gen=true",
  3530        "type": "object",
  3531        "properties": {
  3532          "enabled": {
  3533            "description": "Is IPv4 BIG TCP enabled",
  3534            "type": "boolean"
  3535          },
  3536          "maxGRO": {
  3537            "description": "Maximum IPv4 GRO size",
  3538            "type": "integer"
  3539          },
  3540          "maxGSO": {
  3541            "description": "Maximum IPv4 GSO size",
  3542            "type": "integer"
  3543          }
  3544        }
  3545      },
  3546      "IPV6BigTCP": {
  3547        "description": "Status of IPv6 BIG TCP\n\n+k8s:deepcopy-gen=true",
  3548        "type": "object",
  3549        "properties": {
  3550          "enabled": {
  3551            "description": "Is IPv6 BIG TCP enabled",
  3552            "type": "boolean"
  3553          },
  3554          "maxGRO": {
  3555            "description": "Maximum IPv6 GRO size",
  3556            "type": "integer"
  3557          },
  3558          "maxGSO": {
  3559            "description": "Maximum IPv6 GSO size",
  3560            "type": "integer"
  3561          }
  3562        }
  3563      },
  3564      "IPsecStatus": {
  3565        "description": "Status of the IPsec agent\n\n+k8s:deepcopy-gen=true",
  3566        "properties": {
  3567          "decrypt-interfaces": {
  3568            "description": "IPsec decryption interfaces",
  3569            "type": "array",
  3570            "items": {
  3571              "type": "string"
  3572            }
  3573          },
  3574          "error-count": {
  3575            "description": "IPsec error count",
  3576            "type": "integer"
  3577          },
  3578          "keys-in-use": {
  3579            "description": "IPsec keys in use",
  3580            "type": "integer"
  3581          },
  3582          "max-seq-number": {
  3583            "description": "IPsec max sequence number",
  3584            "type": "string"
  3585          },
  3586          "xfrm-errors": {
  3587            "description": "IPsec XFRM errors",
  3588            "type": "object",
  3589            "additionalProperties": {
  3590              "type": "integer"
  3591            }
  3592          }
  3593        }
  3594      },
  3595      "Identity": {
  3596        "description": "Security identity",
  3597        "type": "object",
  3598        "properties": {
  3599          "id": {
  3600            "description": "Unique identifier",
  3601            "type": "integer"
  3602          },
  3603          "labels": {
  3604            "description": "Labels describing the identity",
  3605            "$ref": "#/definitions/Labels"
  3606          },
  3607          "labelsSHA256": {
  3608            "description": "SHA256 of labels",
  3609            "type": "string"
  3610          }
  3611        }
  3612      },
  3613      "IdentityEndpoints": {
  3614        "description": "Security identities owned by endpoints on the local node",
  3615        "type": "object",
  3616        "properties": {
  3617          "identity": {
  3618            "description": "Security identity",
  3619            "$ref": "#/definitions/Identity"
  3620          },
  3621          "refCount": {
  3622            "description": "number of endpoints consuming this identity locally (should always be \u003e 0)",
  3623            "type": "integer"
  3624          }
  3625        }
  3626      },
  3627      "IdentityRange": {
  3628        "description": "Status of identity range of the cluster\n\n+k8s:deepcopy-gen=true",
  3629        "properties": {
  3630          "max-identity": {
  3631            "description": "Maximum identity of the cluster",
  3632            "type": "integer"
  3633          },
  3634          "min-identity": {
  3635            "description": "Minimum identity of the cluster",
  3636            "type": "integer"
  3637          }
  3638        }
  3639      },
  3640      "K8sStatus": {
  3641        "description": "Status of Kubernetes integration\n\n+k8s:deepcopy-gen=true",
  3642        "type": "object",
  3643        "properties": {
  3644          "k8s-api-versions": {
  3645            "type": "array",
  3646            "items": {
  3647              "type": "string"
  3648            }
  3649          },
  3650          "msg": {
  3651            "description": "Human readable status/error/warning message",
  3652            "type": "string"
  3653          },
  3654          "state": {
  3655            "description": "State the component is in",
  3656            "type": "string",
  3657            "enum": [
  3658              "Ok",
  3659              "Warning",
  3660              "Failure",
  3661              "Disabled"
  3662            ]
  3663          }
  3664        }
  3665      },
  3666      "KVstoreConfiguration": {
  3667        "description": "Configuration used for the kvstore",
  3668        "properties": {
  3669          "options": {
  3670            "description": "Configuration options",
  3671            "type": "object",
  3672            "additionalProperties": {
  3673              "type": "string"
  3674            }
  3675          },
  3676          "type": {
  3677            "description": "Type of kvstore",
  3678            "type": "string"
  3679          }
  3680        }
  3681      },
  3682      "KubeProxyReplacement": {
  3683        "description": "Status of kube-proxy replacement\n\n+k8s:deepcopy-gen=true",
  3684        "type": "object",
  3685        "properties": {
  3686          "deviceList": {
  3687            "description": "\n\n+k8s:deepcopy-gen=true",
  3688            "type": "array",
  3689            "items": {
  3690              "description": "\n\n+k8s:deepcopy-gen=true",
  3691              "type": "object",
  3692              "properties": {
  3693                "ip": {
  3694                  "description": "\n\n+k8s:deepcopy-gen=true",
  3695                  "type": "array",
  3696                  "items": {
  3697                    "type": "string"
  3698                  }
  3699                },
  3700                "name": {
  3701                  "type": "string"
  3702                }
  3703              }
  3704            }
  3705          },
  3706          "devices": {
  3707            "type": "array",
  3708            "items": {
  3709              "type": "string"
  3710            }
  3711          },
  3712          "directRoutingDevice": {
  3713            "type": "string"
  3714          },
  3715          "features": {
  3716            "description": "\n\n+k8s:deepcopy-gen=true",
  3717            "type": "object",
  3718            "properties": {
  3719              "bpfSocketLBHostnsOnly": {
  3720                "description": "flag bpf-lb-sock-hostns-only",
  3721                "type": "boolean"
  3722              },
  3723              "externalIPs": {
  3724                "description": "\n\n+k8s:deepcopy-gen=true",
  3725                "type": "object",
  3726                "properties": {
  3727                  "enabled": {
  3728                    "type": "boolean"
  3729                  }
  3730                }
  3731              },
  3732              "gracefulTermination": {
  3733                "description": "\n\n+k8s:deepcopy-gen=true",
  3734                "type": "object",
  3735                "properties": {
  3736                  "enabled": {
  3737                    "type": "boolean"
  3738                  }
  3739                }
  3740              },
  3741              "hostPort": {
  3742                "description": "\n\n+k8s:deepcopy-gen=true",
  3743                "type": "object",
  3744                "properties": {
  3745                  "enabled": {
  3746                    "type": "boolean"
  3747                  }
  3748                }
  3749              },
  3750              "hostReachableServices": {
  3751                "description": "\n\n+k8s:deepcopy-gen=true",
  3752                "type": "object",
  3753                "properties": {
  3754                  "enabled": {
  3755                    "type": "boolean"
  3756                  },
  3757                  "protocols": {
  3758                    "type": "array",
  3759                    "items": {
  3760                      "type": "string"
  3761                    }
  3762                  }
  3763                }
  3764              },
  3765              "nat46X64": {
  3766                "description": "\n\n+k8s:deepcopy-gen=true",
  3767                "type": "object",
  3768                "properties": {
  3769                  "enabled": {
  3770                    "type": "boolean"
  3771                  },
  3772                  "gateway": {
  3773                    "description": "\n\n+k8s:deepcopy-gen=true",
  3774                    "type": "object",
  3775                    "properties": {
  3776                      "enabled": {
  3777                        "type": "boolean"
  3778                      },
  3779                      "prefixes": {
  3780                        "type": "array",
  3781                        "items": {
  3782                          "type": "string"
  3783                        }
  3784                      }
  3785                    }
  3786                  },
  3787                  "service": {
  3788                    "description": "\n\n+k8s:deepcopy-gen=true",
  3789                    "type": "object",
  3790                    "properties": {
  3791                      "enabled": {
  3792                        "type": "boolean"
  3793                      }
  3794                    }
  3795                  }
  3796                }
  3797              },
  3798              "nodePort": {
  3799                "description": "\n\n+k8s:deepcopy-gen=true",
  3800                "type": "object",
  3801                "properties": {
  3802                  "acceleration": {
  3803                    "type": "string",
  3804                    "enum": [
  3805                      "None",
  3806                      "Native",
  3807                      "Generic",
  3808                      "Best-Effort"
  3809                    ]
  3810                  },
  3811                  "algorithm": {
  3812                    "type": "string",
  3813                    "enum": [
  3814                      "Random",
  3815                      "Maglev"
  3816                    ]
  3817                  },
  3818                  "dsrMode": {
  3819                    "type": "string",
  3820                    "enum": [
  3821                      "IP Option/Extension",
  3822                      "IPIP",
  3823                      "Geneve"
  3824                    ]
  3825                  },
  3826                  "enabled": {
  3827                    "type": "boolean"
  3828                  },
  3829                  "lutSize": {
  3830                    "type": "integer"
  3831                  },
  3832                  "mode": {
  3833                    "type": "string",
  3834                    "enum": [
  3835                      "SNAT",
  3836                      "DSR",
  3837                      "Hybrid"
  3838                    ]
  3839                  },
  3840                  "portMax": {
  3841                    "type": "integer"
  3842                  },
  3843                  "portMin": {
  3844                    "type": "integer"
  3845                  }
  3846                }
  3847              },
  3848              "sessionAffinity": {
  3849                "description": "\n\n+k8s:deepcopy-gen=true",
  3850                "type": "object",
  3851                "properties": {
  3852                  "enabled": {
  3853                    "type": "boolean"
  3854                  }
  3855                }
  3856              },
  3857              "socketLB": {
  3858                "description": "\n\n+k8s:deepcopy-gen=true",
  3859                "type": "object",
  3860                "properties": {
  3861                  "enabled": {
  3862                    "type": "boolean"
  3863                  }
  3864                }
  3865              },
  3866              "socketLBTracing": {
  3867                "description": "\n\n+k8s:deepcopy-gen=true",
  3868                "type": "object",
  3869                "properties": {
  3870                  "enabled": {
  3871                    "type": "boolean"
  3872                  }
  3873                }
  3874              }
  3875            }
  3876          },
  3877          "mode": {
  3878            "type": "string",
  3879            "enum": [
  3880              "True",
  3881              "False"
  3882            ]
  3883          }
  3884        }
  3885      },
  3886      "L4Policy": {
  3887        "description": "L4 endpoint policy\n\n+k8s:deepcopy-gen=true",
  3888        "type": "object",
  3889        "properties": {
  3890          "egress": {
  3891            "description": "List of L4 egress rules",
  3892            "type": "array",
  3893            "items": {
  3894              "$ref": "#/definitions/PolicyRule"
  3895            }
  3896          },
  3897          "ingress": {
  3898            "description": "List of L4 ingress rules",
  3899            "type": "array",
  3900            "items": {
  3901              "$ref": "#/definitions/PolicyRule"
  3902            }
  3903          }
  3904        }
  3905      },
  3906      "LRPBackend": {
  3907        "description": "Pod backend of an LRP",
  3908        "type": "object",
  3909        "properties": {
  3910          "backend-address": {
  3911            "$ref": "#/definitions/BackendAddress"
  3912          },
  3913          "pod-id": {
  3914            "description": "Namespace and name of the backend pod",
  3915            "type": "string"
  3916          }
  3917        }
  3918      },
  3919      "LRPSpec": {
  3920        "description": "Configuration of an LRP",
  3921        "type": "object",
  3922        "properties": {
  3923          "frontend-mappings": {
  3924            "description": "mapping of frontends to pod backends",
  3925            "type": "array",
  3926            "items": {
  3927              "$ref": "#/definitions/FrontendMapping"
  3928            }
  3929          },
  3930          "frontend-type": {
  3931            "description": "LRP frontend type",
  3932            "type": "string"
  3933          },
  3934          "lrp-type": {
  3935            "description": "LRP config type",
  3936            "type": "string"
  3937          },
  3938          "name": {
  3939            "description": "LRP service name",
  3940            "type": "string"
  3941          },
  3942          "namespace": {
  3943            "description": "LRP service namespace",
  3944            "type": "string"
  3945          },
  3946          "service-id": {
  3947            "description": "matching k8s service namespace and name",
  3948            "type": "string"
  3949          },
  3950          "uid": {
  3951            "description": "Unique identification",
  3952            "type": "string"
  3953          }
  3954        }
  3955      },
  3956      "Label": {
  3957        "description": "Label is the Cilium's representation of a container label",
  3958        "type": "object",
  3959        "properties": {
  3960          "key": {
  3961            "type": "string"
  3962          },
  3963          "source": {
  3964            "description": "Source can be one of the above values (e.g. LabelSourceContainer)",
  3965            "type": "string"
  3966          },
  3967          "value": {
  3968            "type": "string"
  3969          }
  3970        }
  3971      },
  3972      "LabelArray": {
  3973        "description": "LabelArray is an array of labels forming a set",
  3974        "type": "array",
  3975        "items": {
  3976          "$ref": "#/definitions/Label"
  3977        }
  3978      },
  3979      "LabelConfiguration": {
  3980        "description": "Label configuration of an endpoint",
  3981        "type": "object",
  3982        "properties": {
  3983          "spec": {
  3984            "description": "The user provided desired configuration",
  3985            "$ref": "#/definitions/LabelConfigurationSpec"
  3986          },
  3987          "status": {
  3988            "description": "The current configuration",
  3989            "$ref": "#/definitions/LabelConfigurationStatus"
  3990          }
  3991        }
  3992      },
  3993      "LabelConfigurationSpec": {
  3994        "description": "User desired Label configuration of an endpoint",
  3995        "type": "object",
  3996        "properties": {
  3997          "user": {
  3998            "description": "Custom labels in addition to orchestration system labels.",
  3999            "$ref": "#/definitions/Labels"
  4000          }
  4001        }
  4002      },
  4003      "LabelConfigurationStatus": {
  4004        "description": "Labels and label configuration of an endpoint",
  4005        "type": "object",
  4006        "properties": {
  4007          "derived": {
  4008            "description": "All labels derived from the orchestration system",
  4009            "$ref": "#/definitions/Labels"
  4010          },
  4011          "disabled": {
  4012            "description": "Labels derived from orchestration system which have been disabled.",
  4013            "$ref": "#/definitions/Labels"
  4014          },
  4015          "realized": {
  4016            "description": "The current configuration",
  4017            "$ref": "#/definitions/LabelConfigurationSpec"
  4018          },
  4019          "security-relevant": {
  4020            "description": "Labels derived from orchestration system that are used in computing a security identity",
  4021            "$ref": "#/definitions/Labels"
  4022          }
  4023        }
  4024      },
  4025      "Labels": {
  4026        "description": "Set of labels",
  4027        "type": "array",
  4028        "items": {
  4029          "type": "string"
  4030        }
  4031      },
  4032      "MapEvent": {
  4033        "description": "Event on Map",
  4034        "type": "object",
  4035        "properties": {
  4036          "action": {
  4037            "description": "Action type for event",
  4038            "type": "string",
  4039            "enum": [
  4040              "update",
  4041              "delete"
  4042            ]
  4043          },
  4044          "desired-action": {
  4045            "description": "Desired action to be performed after this event",
  4046            "type": "string",
  4047            "enum": [
  4048              "ok",
  4049              "insert",
  4050              "delete"
  4051            ]
  4052          },
  4053          "key": {
  4054            "description": "Map key on which the event occured",
  4055            "type": "string"
  4056          },
  4057          "last-error": {
  4058            "description": "Last error seen while performing desired action",
  4059            "type": "string"
  4060          },
  4061          "timestamp": {
  4062            "description": "Timestamp when the event occurred",
  4063            "type": "string",
  4064            "format": "date-time"
  4065          },
  4066          "value": {
  4067            "description": "Map value on which the event occured",
  4068            "type": "string"
  4069          }
  4070        }
  4071      },
  4072      "Masquerading": {
  4073        "description": "Status of masquerading\n\n+k8s:deepcopy-gen=true",
  4074        "type": "object",
  4075        "properties": {
  4076          "enabled": {
  4077            "type": "boolean"
  4078          },
  4079          "enabledProtocols": {
  4080            "description": "Is masquerading enabled",
  4081            "type": "object",
  4082            "properties": {
  4083              "ipv4": {
  4084                "description": "Is masquerading enabled for IPv4 traffic",
  4085                "type": "boolean"
  4086              },
  4087              "ipv6": {
  4088                "description": "Is masquerading enabled for IPv6 traffic",
  4089                "type": "boolean"
  4090              }
  4091            }
  4092          },
  4093          "ip-masq-agent": {
  4094            "description": "Is BPF ip-masq-agent enabled",
  4095            "type": "boolean"
  4096          },
  4097          "mode": {
  4098            "type": "string",
  4099            "enum": [
  4100              "BPF",
  4101              "iptables"
  4102            ]
  4103          },
  4104          "snat-exclusion-cidr": {
  4105            "description": "This field is obsolete, please use snat-exclusion-cidr-v4 or snat-exclusion-cidr-v6.",
  4106            "type": "string"
  4107          },
  4108          "snat-exclusion-cidr-v4": {
  4109            "description": "SnatExclusionCIDRv4 exempts SNAT from being performed on any packet sent to\nan IPv4 address that belongs to this CIDR.",
  4110            "type": "string"
  4111          },
  4112          "snat-exclusion-cidr-v6": {
  4113            "description": "SnatExclusionCIDRv6 exempts SNAT from being performed on any packet sent to\nan IPv6 address that belongs to this CIDR.\nFor IPv6 we only do masquerading in iptables mode.",
  4114            "type": "string"
  4115          }
  4116        }
  4117      },
  4118      "MessageForwardingStatistics": {
  4119        "description": "Statistics of a message forwarding entity",
  4120        "type": "object",
  4121        "properties": {
  4122          "denied": {
  4123            "description": "Number of messages denied",
  4124            "type": "integer"
  4125          },
  4126          "error": {
  4127            "description": "Number of errors while parsing messages",
  4128            "type": "integer"
  4129          },
  4130          "forwarded": {
  4131            "description": "Number of messages forwarded",
  4132            "type": "integer"
  4133          },
  4134          "received": {
  4135            "description": "Number of messages received",
  4136            "type": "integer"
  4137          }
  4138        }
  4139      },
  4140      "Metric": {
  4141        "description": "Metric information",
  4142        "type": "object",
  4143        "properties": {
  4144          "labels": {
  4145            "description": "Labels of the metric",
  4146            "type": "object",
  4147            "additionalProperties": {
  4148              "type": "string"
  4149            }
  4150          },
  4151          "name": {
  4152            "description": "Name of the metric",
  4153            "type": "string"
  4154          },
  4155          "value": {
  4156            "description": "Value of the metric",
  4157            "type": "number"
  4158          }
  4159        }
  4160      },
  4161      "MonitorStatus": {
  4162        "description": "Status of the node monitor",
  4163        "properties": {
  4164          "cpus": {
  4165            "description": "Number of CPUs to listen on for events.",
  4166            "type": "integer"
  4167          },
  4168          "lost": {
  4169            "description": "Number of samples lost by perf.",
  4170            "type": "integer"
  4171          },
  4172          "npages": {
  4173            "description": "Number of pages used for the perf ring buffer.",
  4174            "type": "integer"
  4175          },
  4176          "pagesize": {
  4177            "description": "Pages size used for the perf ring buffer.",
  4178            "type": "integer"
  4179          },
  4180          "unknown": {
  4181            "description": "Number of unknown samples.",
  4182            "type": "integer"
  4183          }
  4184        }
  4185      },
  4186      "NameManager": {
  4187        "description": "Internal state about DNS names in relation to policy subsystem",
  4188        "type": "object",
  4189        "properties": {
  4190          "DNSPollNames": {
  4191            "description": "Names to poll for DNS Poller",
  4192            "type": "array",
  4193            "items": {
  4194              "type": "string"
  4195            }
  4196          },
  4197          "FQDNPolicySelectors": {
  4198            "description": "Mapping of FQDNSelectors to corresponding regular expressions",
  4199            "type": "array",
  4200            "items": {
  4201              "$ref": "#/definitions/SelectorEntry"
  4202            }
  4203          }
  4204        }
  4205      },
  4206      "NamedPorts": {
  4207        "description": "List of named Layer 4 port and protocol pairs which will be used in Network\nPolicy specs.\n\n+deepequal-gen=true\n+k8s:deepcopy-gen=true",
  4208        "type": "array",
  4209        "items": {
  4210          "$ref": "#/definitions/Port"
  4211        }
  4212      },
  4213      "NodeAddressing": {
  4214        "description": "Addressing information of a node for all address families\n\n+k8s:deepcopy-gen=true",
  4215        "type": "object",
  4216        "properties": {
  4217          "ipv4": {
  4218            "$ref": "#/definitions/NodeAddressingElement"
  4219          },
  4220          "ipv6": {
  4221            "$ref": "#/definitions/NodeAddressingElement"
  4222          }
  4223        }
  4224      },
  4225      "NodeAddressingElement": {
  4226        "description": "Addressing information",
  4227        "type": "object",
  4228        "properties": {
  4229          "address-type": {
  4230            "description": "Node address type, one of HostName, ExternalIP or InternalIP",
  4231            "type": "string"
  4232          },
  4233          "alloc-range": {
  4234            "description": "Address pool to be used for local endpoints",
  4235            "type": "string"
  4236          },
  4237          "enabled": {
  4238            "description": "True if address family is enabled",
  4239            "type": "boolean"
  4240          },
  4241          "ip": {
  4242            "description": "IP address of node",
  4243            "type": "string"
  4244          }
  4245        }
  4246      },
  4247      "NodeElement": {
  4248        "description": "Known node in the cluster\n\n+k8s:deepcopy-gen=true",
  4249        "properties": {
  4250          "health-endpoint-address": {
  4251            "description": "Address used for probing cluster connectivity",
  4252            "$ref": "#/definitions/NodeAddressing"
  4253          },
  4254          "ingress-address": {
  4255            "description": "Source address for Ingress listener",
  4256            "$ref": "#/definitions/NodeAddressing"
  4257          },
  4258          "name": {
  4259            "description": "Name of the node including the cluster association. This is typically\n\u003cclustername\u003e/\u003chostname\u003e.\n",
  4260            "type": "string"
  4261          },
  4262          "primary-address": {
  4263            "description": "Primary address used for intra-cluster communication",
  4264            "$ref": "#/definitions/NodeAddressing"
  4265          },
  4266          "secondary-addresses": {
  4267            "description": "Alternative addresses assigned to the node",
  4268            "type": "array",
  4269            "items": {
  4270              "$ref": "#/definitions/NodeAddressingElement"
  4271            }
  4272          },
  4273          "source": {
  4274            "description": "Source of the node configuration",
  4275            "type": "string"
  4276          }
  4277        }
  4278      },
  4279      "NodeID": {
  4280        "description": "Node ID with associated node IP addresses",
  4281        "type": "object",
  4282        "required": [
  4283          "id",
  4284          "ips"
  4285        ],
  4286        "properties": {
  4287          "id": {
  4288            "description": "ID allocated by the agent for the node",
  4289            "type": "integer"
  4290          },
  4291          "ips": {
  4292            "description": "IP addresses of the node associated with the ID in the agent",
  4293            "type": "array",
  4294            "items": {
  4295              "type": "string"
  4296            }
  4297          }
  4298        }
  4299      },
  4300      "Policy": {
  4301        "description": "Policy definition",
  4302        "type": "object",
  4303        "properties": {
  4304          "policy": {
  4305            "description": "Policy definition as JSON.",
  4306            "type": "string"
  4307          },
  4308          "revision": {
  4309            "description": "Revision number of the policy. Incremented each time the policy is\nchanged in the agent's repository\n",
  4310            "type": "integer"
  4311          }
  4312        }
  4313      },
  4314      "PolicyRule": {
  4315        "description": "A policy rule including the rule labels it derives from\n\n+k8s:deepcopy-gen=true",
  4316        "properties": {
  4317          "derived-from-rules": {
  4318            "description": "The policy rule labels identifying the policy rules this rule derives from",
  4319            "type": "array",
  4320            "items": {
  4321              "type": "array",
  4322              "items": {
  4323                "type": "string"
  4324              }
  4325            }
  4326          },
  4327          "rule": {
  4328            "description": "The policy rule as json",
  4329            "type": "string"
  4330          },
  4331          "rules-by-selector": {
  4332            "description": "The policy rule labels identifying the policy rules this rule derives from, mapped by selector",
  4333            "type": "object",
  4334            "additionalProperties": {
  4335              "type": "array",
  4336              "items": {
  4337                "type": "array",
  4338                "items": {
  4339                  "type": "string"
  4340                }
  4341              }
  4342            }
  4343          }
  4344        }
  4345      },
  4346      "PolicyTraceResult": {
  4347        "description": "Response to a policy resolution process",
  4348        "type": "object",
  4349        "properties": {
  4350          "log": {
  4351            "type": "string"
  4352          },
  4353          "verdict": {
  4354            "type": "string"
  4355          }
  4356        }
  4357      },
  4358      "Port": {
  4359        "description": "Layer 4 port / protocol pair\n\n+deepequal-gen=true",
  4360        "type": "object",
  4361        "properties": {
  4362          "name": {
  4363            "description": "Optional layer 4 port name",
  4364            "type": "string"
  4365          },
  4366          "port": {
  4367            "description": "Layer 4 port number",
  4368            "type": "integer",
  4369            "format": "uint16"
  4370          },
  4371          "protocol": {
  4372            "description": "Layer 4 protocol",
  4373            "type": "string",
  4374            "enum": [
  4375              "TCP",
  4376              "UDP",
  4377              "SCTP",
  4378              "ICMP",
  4379              "ICMPV6",
  4380              "ANY"
  4381            ]
  4382          }
  4383        }
  4384      },
  4385      "Prefilter": {
  4386        "description": "Collection of endpoints to be served",
  4387        "type": "object",
  4388        "properties": {
  4389          "spec": {
  4390            "$ref": "#/definitions/PrefilterSpec"
  4391          },
  4392          "status": {
  4393            "$ref": "#/definitions/PrefilterStatus"
  4394          }
  4395        }
  4396      },
  4397      "PrefilterSpec": {
  4398        "description": "CIDR ranges implemented in the Prefilter",
  4399        "type": "object",
  4400        "properties": {
  4401          "deny": {
  4402            "type": "array",
  4403            "items": {
  4404              "type": "string"
  4405            }
  4406          },
  4407          "revision": {
  4408            "type": "integer"
  4409          }
  4410        }
  4411      },
  4412      "PrefilterStatus": {
  4413        "description": "CIDR ranges implemented in the Prefilter",
  4414        "type": "object",
  4415        "properties": {
  4416          "realized": {
  4417            "$ref": "#/definitions/PrefilterSpec"
  4418          }
  4419        }
  4420      },
  4421      "ProxyRedirect": {
  4422        "description": "Configured proxy redirection state",
  4423        "type": "object",
  4424        "properties": {
  4425          "name": {
  4426            "description": "Name of the proxy redirect",
  4427            "type": "string"
  4428          },
  4429          "proxy": {
  4430            "description": "Name of the proxy this redirect points to",
  4431            "type": "string"
  4432          },
  4433          "proxy-port": {
  4434            "description": "Host port that this redirect points to",
  4435            "type": "integer"
  4436          }
  4437        }
  4438      },
  4439      "ProxyStatistics": {
  4440        "description": "Statistics of a set of proxy redirects for an endpoint\n\n+k8s:deepcopy-gen=true",
  4441        "type": "object",
  4442        "properties": {
  4443          "allocated-proxy-port": {
  4444            "description": "The port the proxy is listening on",
  4445            "type": "integer"
  4446          },
  4447          "location": {
  4448            "description": "Location of where the redirect is installed",
  4449            "type": "string",
  4450            "enum": [
  4451              "ingress",
  4452              "egress"
  4453            ]
  4454          },
  4455          "port": {
  4456            "description": "The port subject to the redirect",
  4457            "type": "integer"
  4458          },
  4459          "protocol": {
  4460            "description": "Name of the L7 protocol",
  4461            "type": "string"
  4462          },
  4463          "statistics": {
  4464            "description": "Statistics of this set of proxy redirect",
  4465            "$ref": "#/definitions/RequestResponseStatistics"
  4466          }
  4467        }
  4468      },
  4469      "ProxyStatus": {
  4470        "description": "Status of proxy\n\n+k8s:deepcopy-gen=true",
  4471        "type": "object",
  4472        "properties": {
  4473          "envoy-deployment-mode": {
  4474            "description": "Deployment mode of Envoy L7 proxy",
  4475            "type": "string",
  4476            "enum": [
  4477              "embedded",
  4478              "external"
  4479            ]
  4480          },
  4481          "ip": {
  4482            "description": "IP address that the proxy listens on",
  4483            "type": "string"
  4484          },
  4485          "port-range": {
  4486            "description": "Port range used for proxying",
  4487            "type": "string"
  4488          },
  4489          "redirects": {
  4490            "description": "Detailed description of configured redirects",
  4491            "type": "array",
  4492            "items": {
  4493              "$ref": "#/definitions/ProxyRedirect"
  4494            }
  4495          },
  4496          "total-ports": {
  4497            "description": "Total number of listening proxy ports",
  4498            "type": "integer"
  4499          },
  4500          "total-redirects": {
  4501            "description": "Total number of ports configured to redirect to proxies",
  4502            "type": "integer"
  4503          }
  4504        }
  4505      },
  4506      "Recorder": {
  4507        "description": "Collection of wildcard filters for pcap recorder",
  4508        "type": "object",
  4509        "properties": {
  4510          "spec": {
  4511            "$ref": "#/definitions/RecorderSpec"
  4512          },
  4513          "status": {
  4514            "$ref": "#/definitions/RecorderStatus"
  4515          }
  4516        }
  4517      },
  4518      "RecorderFilter": {
  4519        "description": "n-tuple filter to match traffic to be recorded",
  4520        "type": "object",
  4521        "properties": {
  4522          "dst-port": {
  4523            "description": "Layer 4 destination port, zero (or in future range)",
  4524            "type": "string"
  4525          },
  4526          "dst-prefix": {
  4527            "description": "Layer 3 destination CIDR",
  4528            "type": "string"
  4529          },
  4530          "protocol": {
  4531            "description": "Layer 4 protocol",
  4532            "type": "string",
  4533            "enum": [
  4534              "TCP",
  4535              "UDP",
  4536              "SCTP",
  4537              "ANY"
  4538            ]
  4539          },
  4540          "src-port": {
  4541            "description": "Layer 4 source port, zero (or in future range)",
  4542            "type": "string"
  4543          },
  4544          "src-prefix": {
  4545            "description": "Layer 3 source CIDR",
  4546            "type": "string"
  4547          }
  4548        }
  4549      },
  4550      "RecorderMask": {
  4551        "description": "Individual mask for pcap recorder",
  4552        "type": "object",
  4553        "properties": {
  4554          "status": {
  4555            "$ref": "#/definitions/RecorderMaskStatus"
  4556          }
  4557        }
  4558      },
  4559      "RecorderMaskSpec": {
  4560        "description": "Configuration of a recorder mask",
  4561        "type": "object",
  4562        "properties": {
  4563          "dst-port-mask": {
  4564            "description": "Layer 4 destination port mask",
  4565            "type": "string"
  4566          },
  4567          "dst-prefix-mask": {
  4568            "description": "Layer 3 destination IP mask",
  4569            "type": "string"
  4570          },
  4571          "priority": {
  4572            "description": "Priority of this mask",
  4573            "type": "integer"
  4574          },
  4575          "protocol-mask": {
  4576            "description": "Layer 4 protocol mask",
  4577            "type": "string"
  4578          },
  4579          "src-port-mask": {
  4580            "description": "Layer 4 source port mask",
  4581            "type": "string"
  4582          },
  4583          "src-prefix-mask": {
  4584            "description": "Layer 3 source IP mask",
  4585            "type": "string"
  4586          },
  4587          "users": {
  4588            "description": "Number of users of this mask",
  4589            "type": "integer"
  4590          }
  4591        }
  4592      },
  4593      "RecorderMaskStatus": {
  4594        "description": "Configuration of a recorder mask",
  4595        "type": "object",
  4596        "properties": {
  4597          "realized": {
  4598            "$ref": "#/definitions/RecorderMaskSpec"
  4599          }
  4600        }
  4601      },
  4602      "RecorderSpec": {
  4603        "description": "Configuration of a recorder",
  4604        "type": "object",
  4605        "required": [
  4606          "id",
  4607          "filters"
  4608        ],
  4609        "properties": {
  4610          "capture-length": {
  4611            "description": "Maximum packet length or zero for full packet length",
  4612            "type": "integer"
  4613          },
  4614          "filters": {
  4615            "description": "List of wildcard filters for given recorder",
  4616            "type": "array",
  4617            "items": {
  4618              "$ref": "#/definitions/RecorderFilter"
  4619            }
  4620          },
  4621          "id": {
  4622            "description": "Unique identification",
  4623            "type": "integer"
  4624          }
  4625        }
  4626      },
  4627      "RecorderStatus": {
  4628        "description": "Configuration of a recorder",
  4629        "type": "object",
  4630        "properties": {
  4631          "realized": {
  4632            "$ref": "#/definitions/RecorderSpec"
  4633          }
  4634        }
  4635      },
  4636      "RemoteCluster": {
  4637        "description": "Status of remote cluster\n\n+k8s:deepcopy-gen=true",
  4638        "properties": {
  4639          "config": {
  4640            "description": "Cluster configuration exposed by the remote cluster",
  4641            "$ref": "#/definitions/RemoteClusterConfig"
  4642          },
  4643          "connected": {
  4644            "description": "Indicates whether the connection to the remote kvstore is established",
  4645            "type": "boolean"
  4646          },
  4647          "last-failure": {
  4648            "description": "Time of last failure that occurred while attempting to reach the cluster",
  4649            "type": "string",
  4650            "format": "date-time"
  4651          },
  4652          "name": {
  4653            "description": "Name of the cluster",
  4654            "type": "string"
  4655          },
  4656          "num-endpoints": {
  4657            "description": "Number of endpoints in the cluster",
  4658            "type": "integer"
  4659          },
  4660          "num-failures": {
  4661            "description": "Number of failures reaching the cluster",
  4662            "type": "integer"
  4663          },
  4664          "num-identities": {
  4665            "description": "Number of identities in the cluster",
  4666            "type": "integer"
  4667          },
  4668          "num-nodes": {
  4669            "description": "Number of nodes in the cluster",
  4670            "type": "integer"
  4671          },
  4672          "num-shared-services": {
  4673            "description": "Number of services in the cluster",
  4674            "type": "integer"
  4675          },
  4676          "ready": {
  4677            "description": "Indicates readiness of the remote cluster",
  4678            "type": "boolean"
  4679          },
  4680          "status": {
  4681            "description": "Status of the control plane",
  4682            "type": "string"
  4683          },
  4684          "synced": {
  4685            "description": "Synchronization status about each resource type",
  4686            "$ref": "#/definitions/RemoteClusterSynced"
  4687          }
  4688        }
  4689      },
  4690      "RemoteClusterConfig": {
  4691        "description": "Cluster configuration exposed by the remote cluster\n\n+k8s:deepcopy-gen=true",
  4692        "properties": {
  4693          "cluster-id": {
  4694            "description": "The Cluster ID advertised by the remote cluster",
  4695            "type": "integer"
  4696          },
  4697          "kvstoremesh": {
  4698            "description": "Whether the remote cluster information is locally cached by kvstoremesh",
  4699            "type": "boolean"
  4700          },
  4701          "required": {
  4702            "description": "Whether the configuration is required to be present",
  4703            "type": "boolean"
  4704          },
  4705          "retrieved": {
  4706            "description": "Whether the configuration has been correctly retrieved",
  4707            "type": "boolean"
  4708          },
  4709          "sync-canaries": {
  4710            "description": "Whether the remote cluster supports per-prefix \"synced\" canaries",
  4711            "type": "boolean"
  4712          }
  4713        }
  4714      },
  4715      "RemoteClusterSynced": {
  4716        "description": "Status of the synchronization with the remote cluster, about each resource\ntype. A given resource is considered to be synchronized if the initial\nlist of entries has been completely received from the remote cluster, and\nnew events are currently being watched.\n\n+k8s:deepcopy-gen=true",
  4717        "properties": {
  4718          "endpoints": {
  4719            "description": "Endpoints synchronization status",
  4720            "type": "boolean"
  4721          },
  4722          "identities": {
  4723            "description": "Identities synchronization status",
  4724            "type": "boolean"
  4725          },
  4726          "nodes": {
  4727            "description": "Nodes synchronization status",
  4728            "type": "boolean"
  4729          },
  4730          "services": {
  4731            "description": "Services synchronization status",
  4732            "type": "boolean"
  4733          }
  4734        }
  4735      },
  4736      "RequestResponseStatistics": {
  4737        "description": "Statistics of a proxy redirect\n\n+k8s:deepcopy-gen=true",
  4738        "type": "object",
  4739        "properties": {
  4740          "requests": {
  4741            "$ref": "#/definitions/MessageForwardingStatistics"
  4742          },
  4743          "responses": {
  4744            "$ref": "#/definitions/MessageForwardingStatistics"
  4745          }
  4746        }
  4747      },
  4748      "Routing": {
  4749        "description": "Status of routing\n\n+k8s:deepcopy-gen=true",
  4750        "type": "object",
  4751        "properties": {
  4752          "inter-host-routing-mode": {
  4753            "description": "Datapath routing mode for cross-cluster connectivity",
  4754            "type": "string",
  4755            "enum": [
  4756              "Native",
  4757              "Tunnel"
  4758            ]
  4759          },
  4760          "intra-host-routing-mode": {
  4761            "description": "Datapath routing mode for connectivity within the host",
  4762            "type": "string",
  4763            "enum": [
  4764              "BPF",
  4765              "Legacy"
  4766            ]
  4767          },
  4768          "tunnel-protocol": {
  4769            "description": "Tunnel protocol in use for cross-cluster connectivity",
  4770            "type": "string"
  4771          }
  4772        }
  4773      },
  4774      "SelectorCache": {
  4775        "description": "cache of which identities match selectors in the policy repository",
  4776        "type": "array",
  4777        "items": {
  4778          "$ref": "#/definitions/SelectorIdentityMapping"
  4779        }
  4780      },
  4781      "SelectorEntry": {
  4782        "description": "Mapping of FQDNSelector to corresponding regular expression",
  4783        "type": "object",
  4784        "properties": {
  4785          "regexString": {
  4786            "description": "String representation of regular expression form of FQDNSelector",
  4787            "type": "string"
  4788          },
  4789          "selectorString": {
  4790            "description": "FQDNSelector in string representation",
  4791            "type": "string"
  4792          }
  4793        }
  4794      },
  4795      "SelectorIdentityMapping": {
  4796        "description": "mapping of selector to identities which match it",
  4797        "type": "object",
  4798        "properties": {
  4799          "identities": {
  4800            "description": "identities mapping to this selector",
  4801            "type": "array",
  4802            "items": {
  4803              "type": "integer"
  4804            }
  4805          },
  4806          "labels": {
  4807            "description": "Labels are the metadata labels associated with the selector",
  4808            "$ref": "#/definitions/LabelArray"
  4809          },
  4810          "selector": {
  4811            "description": "string form of selector",
  4812            "type": "string"
  4813          },
  4814          "users": {
  4815            "description": "number of users of this selector in the cache",
  4816            "type": "integer"
  4817          }
  4818        }
  4819      },
  4820      "Service": {
  4821        "description": "Collection of endpoints to be served",
  4822        "type": "object",
  4823        "properties": {
  4824          "spec": {
  4825            "$ref": "#/definitions/ServiceSpec"
  4826          },
  4827          "status": {
  4828            "$ref": "#/definitions/ServiceStatus"
  4829          }
  4830        }
  4831      },
  4832      "ServiceSpec": {
  4833        "description": "Configuration of a service",
  4834        "type": "object",
  4835        "required": [
  4836          "frontend-address"
  4837        ],
  4838        "properties": {
  4839          "backend-addresses": {
  4840            "description": "List of backend addresses",
  4841            "type": "array",
  4842            "items": {
  4843              "$ref": "#/definitions/BackendAddress"
  4844            }
  4845          },
  4846          "flags": {
  4847            "description": "Optional service configuration flags",
  4848            "type": "object",
  4849            "properties": {
  4850              "cluster": {
  4851                "description": "Service cluster",
  4852                "type": "string"
  4853              },
  4854              "extTrafficPolicy": {
  4855                "description": "Service external traffic policy",
  4856                "type": "string",
  4857                "enum": [
  4858                  "Cluster",
  4859                  "Local"
  4860                ]
  4861              },
  4862              "healthCheckNodePort": {
  4863                "description": "Service health check node port",
  4864                "type": "integer",
  4865                "format": "uint16"
  4866              },
  4867              "intTrafficPolicy": {
  4868                "description": "Service internal traffic policy",
  4869                "type": "string",
  4870                "enum": [
  4871                  "Cluster",
  4872                  "Local"
  4873                ]
  4874              },
  4875              "name": {
  4876                "description": "Service name  (e.g. Kubernetes service name)",
  4877                "type": "string"
  4878              },
  4879              "namespace": {
  4880                "description": "Service namespace  (e.g. Kubernetes namespace)",
  4881                "type": "string"
  4882              },
  4883              "natPolicy": {
  4884                "description": "Service protocol NAT policy",
  4885                "type": "string",
  4886                "enum": [
  4887                  "None",
  4888                  "Nat46",
  4889                  "Nat64"
  4890                ]
  4891              },
  4892              "trafficPolicy": {
  4893                "description": "Service external traffic policy (deprecated in favor of extTrafficPolicy)",
  4894                "type": "string",
  4895                "enum": [
  4896                  "Cluster",
  4897                  "Local"
  4898                ]
  4899              },
  4900              "type": {
  4901                "description": "Service type",
  4902                "type": "string",
  4903                "enum": [
  4904                  "ClusterIP",
  4905                  "NodePort",
  4906                  "ExternalIPs",
  4907                  "HostPort",
  4908                  "LoadBalancer",
  4909                  "LocalRedirect"
  4910                ]
  4911              }
  4912            }
  4913          },
  4914          "frontend-address": {
  4915            "description": "Frontend address",
  4916            "$ref": "#/definitions/FrontendAddress"
  4917          },
  4918          "id": {
  4919            "description": "Unique identification",
  4920            "type": "integer"
  4921          },
  4922          "updateServices": {
  4923            "description": "Update all services selecting the backends with their given states\n(id and frontend are ignored)\n",
  4924            "type": "boolean"
  4925          }
  4926        }
  4927      },
  4928      "ServiceStatus": {
  4929        "description": "Configuration of a service",
  4930        "type": "object",
  4931        "properties": {
  4932          "realized": {
  4933            "$ref": "#/definitions/ServiceSpec"
  4934          }
  4935        }
  4936      },
  4937      "Srv6": {
  4938        "description": "Status of the SRv6\n\n+k8s:deepcopy-gen=true",
  4939        "type": "object",
  4940        "properties": {
  4941          "enabled": {
  4942            "type": "boolean"
  4943          },
  4944          "srv6EncapMode": {
  4945            "type": "string",
  4946            "enum": [
  4947              "SRH",
  4948              "Reduced"
  4949            ]
  4950          }
  4951        }
  4952      },
  4953      "StateDBQuery": {
  4954        "description": "StateDB query",
  4955        "type": "object",
  4956        "properties": {
  4957          "index": {
  4958            "description": "Index to query against",
  4959            "type": "string"
  4960          },
  4961          "key": {
  4962            "description": "Key to query with. Base64 encoded.",
  4963            "type": "string"
  4964          },
  4965          "lowerbound": {
  4966            "description": "LowerBound prefix search or full-matching Get",
  4967            "type": "boolean"
  4968          },
  4969          "table": {
  4970            "description": "Name of the table to query",
  4971            "type": "string"
  4972          }
  4973        }
  4974      },
  4975      "Status": {
  4976        "description": "Status of an individual component",
  4977        "type": "object",
  4978        "properties": {
  4979          "msg": {
  4980            "description": "Human readable status/error/warning message",
  4981            "type": "string"
  4982          },
  4983          "state": {
  4984            "description": "State the component is in",
  4985            "type": "string",
  4986            "enum": [
  4987              "Ok",
  4988              "Warning",
  4989              "Failure",
  4990              "Disabled"
  4991            ]
  4992          }
  4993        }
  4994      },
  4995      "StatusResponse": {
  4996        "description": "Health and status information of daemon\n\n+k8s:deepcopy-gen=true",
  4997        "type": "object",
  4998        "properties": {
  4999          "attach-mode": {
  5000            "description": "Status of core datapath attachment mode",
  5001            "$ref": "#/definitions/AttachMode"
  5002          },
  5003          "auth-certificate-provider": {
  5004            "description": "Status of Mutual Authentication certificate provider",
  5005            "$ref": "#/definitions/Status"
  5006          },
  5007          "bandwidth-manager": {
  5008            "description": "Status of bandwidth manager",
  5009            "$ref": "#/definitions/BandwidthManager"
  5010          },
  5011          "bpf-maps": {
  5012            "description": "Status of BPF maps",
  5013            "$ref": "#/definitions/BPFMapStatus"
  5014          },
  5015          "cilium": {
  5016            "description": "Status of Cilium daemon",
  5017            "$ref": "#/definitions/Status"
  5018          },
  5019          "client-id": {
  5020            "description": "When supported by the API, this client ID should be used by the\nclient when making another request to the server.\nSee for example \"/cluster/nodes\".\n",
  5021            "type": "integer"
  5022          },
  5023          "clock-source": {
  5024            "description": "Status of clock source",
  5025            "$ref": "#/definitions/ClockSource"
  5026          },
  5027          "cluster": {
  5028            "description": "Status of cluster",
  5029            "$ref": "#/definitions/ClusterStatus"
  5030          },
  5031          "cluster-mesh": {
  5032            "description": "Status of ClusterMesh",
  5033            "$ref": "#/definitions/ClusterMeshStatus"
  5034          },
  5035          "cni-chaining": {
  5036            "description": "Status of CNI chaining",
  5037            "$ref": "#/definitions/CNIChainingStatus"
  5038          },
  5039          "cni-file": {
  5040            "description": "Status of the CNI configuration file",
  5041            "$ref": "#/definitions/Status"
  5042          },
  5043          "container-runtime": {
  5044            "description": "Status of local container runtime",
  5045            "$ref": "#/definitions/Status"
  5046          },
  5047          "controllers": {
  5048            "description": "Status of all endpoint controllers",
  5049            "$ref": "#/definitions/ControllerStatuses"
  5050          },
  5051          "datapath-mode": {
  5052            "description": "Status of datapath mode",
  5053            "$ref": "#/definitions/DatapathMode"
  5054          },
  5055          "encryption": {
  5056            "description": "Status of transparent encryption",
  5057            "$ref": "#/definitions/EncryptionStatus"
  5058          },
  5059          "host-firewall": {
  5060            "description": "Status of the host firewall",
  5061            "$ref": "#/definitions/HostFirewall"
  5062          },
  5063          "hubble": {
  5064            "description": "Status of Hubble server",
  5065            "$ref": "#/definitions/HubbleStatus"
  5066          },
  5067          "identity-range": {
  5068            "description": "Status of identity range of the cluster",
  5069            "$ref": "#/definitions/IdentityRange"
  5070          },
  5071          "ipam": {
  5072            "description": "Status of IP address management",
  5073            "$ref": "#/definitions/IPAMStatus"
  5074          },
  5075          "ipv4-big-tcp": {
  5076            "description": "Status of IPv4 BIG TCP",
  5077            "$ref": "#/definitions/IPV4BigTCP"
  5078          },
  5079          "ipv6-big-tcp": {
  5080            "description": "Status of IPv6 BIG TCP",
  5081            "$ref": "#/definitions/IPV6BigTCP"
  5082          },
  5083          "kube-proxy-replacement": {
  5084            "description": "Status of kube-proxy replacement",
  5085            "$ref": "#/definitions/KubeProxyReplacement"
  5086          },
  5087          "kubernetes": {
  5088            "description": "Status of Kubernetes integration",
  5089            "$ref": "#/definitions/K8sStatus"
  5090          },
  5091          "kvstore": {
  5092            "description": "Status of key/value datastore",
  5093            "$ref": "#/definitions/Status"
  5094          },
  5095          "masquerading": {
  5096            "description": "Status of masquerading",
  5097            "$ref": "#/definitions/Masquerading"
  5098          },
  5099          "nodeMonitor": {
  5100            "description": "Status of the node monitor",
  5101            "$ref": "#/definitions/MonitorStatus"
  5102          },
  5103          "proxy": {
  5104            "description": "Status of proxy",
  5105            "$ref": "#/definitions/ProxyStatus"
  5106          },
  5107          "routing": {
  5108            "description": "Status of routing",
  5109            "$ref": "#/definitions/Routing"
  5110          },
  5111          "srv6": {
  5112            "description": "Status of SRv6",
  5113            "$ref": "#/definitions/Srv6"
  5114          },
  5115          "stale": {
  5116            "description": "List of stale information in the status",
  5117            "type": "object",
  5118            "additionalProperties": {
  5119              "description": "Timestamp when the probe was started",
  5120              "type": "string",
  5121              "format": "date-time"
  5122            }
  5123          }
  5124        }
  5125      },
  5126      "TraceFrom": {
  5127        "type": "object",
  5128        "properties": {
  5129          "labels": {
  5130            "$ref": "#/definitions/Labels"
  5131          }
  5132        }
  5133      },
  5134      "TraceSelector": {
  5135        "description": "Context describing a pair of source and destination identity",
  5136        "type": "object",
  5137        "properties": {
  5138          "from": {
  5139            "$ref": "#/definitions/TraceFrom"
  5140          },
  5141          "to": {
  5142            "$ref": "#/definitions/TraceTo"
  5143          },
  5144          "verbose": {
  5145            "description": "Enable verbose tracing.\n",
  5146            "type": "boolean"
  5147          }
  5148        }
  5149      },
  5150      "TraceTo": {
  5151        "type": "object",
  5152        "properties": {
  5153          "dports": {
  5154            "description": "List of Layer 4 port and protocol pairs which will be used in communication\nfrom the source identity to the destination identity.\n",
  5155            "type": "array",
  5156            "items": {
  5157              "$ref": "#/definitions/Port"
  5158            }
  5159          },
  5160          "labels": {
  5161            "$ref": "#/definitions/Labels"
  5162          }
  5163        }
  5164      },
  5165      "WireguardInterface": {
  5166        "description": "Status of a WireGuard interface\n\n+k8s:deepcopy-gen=true",
  5167        "properties": {
  5168          "listen-port": {
  5169            "description": "Port on which the WireGuard endpoint is exposed",
  5170            "type": "integer"
  5171          },
  5172          "name": {
  5173            "description": "Name of the interface",
  5174            "type": "string"
  5175          },
  5176          "peer-count": {
  5177            "description": "Number of peers configured on this interface",
  5178            "type": "integer"
  5179          },
  5180          "peers": {
  5181            "description": "Optional list of WireGuard peers",
  5182            "type": "array",
  5183            "items": {
  5184              "$ref": "#/definitions/WireguardPeer"
  5185            }
  5186          },
  5187          "public-key": {
  5188            "description": "Public key of this interface",
  5189            "type": "string"
  5190          }
  5191        }
  5192      },
  5193      "WireguardPeer": {
  5194        "description": "Status of a WireGuard peer\n\n+k8s:deepcopy-gen=true",
  5195        "properties": {
  5196          "allowed-ips": {
  5197            "description": "List of IPs which may be routed through this peer",
  5198            "type": "array",
  5199            "items": {
  5200              "type": "string"
  5201            }
  5202          },
  5203          "endpoint": {
  5204            "description": "Endpoint on which we are connected to this peer",
  5205            "type": "string"
  5206          },
  5207          "last-handshake-time": {
  5208            "description": "Timestamp of the last handshake with this peer",
  5209            "type": "string",
  5210            "format": "date-time"
  5211          },
  5212          "public-key": {
  5213            "description": "Public key of this peer",
  5214            "type": "string"
  5215          },
  5216          "transfer-rx": {
  5217            "description": "Number of received bytes",
  5218            "type": "integer"
  5219          },
  5220          "transfer-tx": {
  5221            "description": "Number of sent bytes",
  5222            "type": "integer"
  5223          }
  5224        }
  5225      },
  5226      "WireguardStatus": {
  5227        "description": "Status of the WireGuard agent\n\n+k8s:deepcopy-gen=true",
  5228        "properties": {
  5229          "interfaces": {
  5230            "description": "WireGuard interfaces managed by this Cilium instance",
  5231            "type": "array",
  5232            "items": {
  5233              "$ref": "#/definitions/WireguardInterface"
  5234            }
  5235          },
  5236          "node-encryption": {
  5237            "description": "Node Encryption status",
  5238            "type": "string"
  5239          }
  5240        }
  5241      }
  5242    },
  5243    "parameters": {
  5244      "bgp-afi": {
  5245        "type": "string",
  5246        "description": "Address Family Indicator (AFI) of a BGP route",
  5247        "name": "afi",
  5248        "in": "query",
  5249        "required": true
  5250      },
  5251      "bgp-neighbor-address": {
  5252        "type": "string",
  5253        "description": "IP address specifying a BGP neighbor.\nHas to be specified only when table type is adj-rib-in or adj-rib-out.\n",
  5254        "name": "neighbor",
  5255        "in": "query"
  5256      },
  5257      "bgp-router-asn": {
  5258        "type": "integer",
  5259        "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance.\nIf not specified, all virtual router instances are selected.\n",
  5260        "name": "router_asn",
  5261        "in": "query"
  5262      },
  5263      "bgp-safi": {
  5264        "type": "string",
  5265        "description": "Subsequent Address Family Indicator (SAFI) of a BGP route",
  5266        "name": "safi",
  5267        "in": "query",
  5268        "required": true
  5269      },
  5270      "bgp-table-type": {
  5271        "enum": [
  5272          "loc-rib",
  5273          "adj-rib-in",
  5274          "adj-rib-out"
  5275        ],
  5276        "type": "string",
  5277        "description": "BGP Routing Information Base (RIB) table type",
  5278        "name": "table_type",
  5279        "in": "query",
  5280        "required": true
  5281      },
  5282      "cidr": {
  5283        "type": "string",
  5284        "description": "A CIDR range of IPs",
  5285        "name": "cidr",
  5286        "in": "query"
  5287      },
  5288      "endpoint-batch-delete-request": {
  5289        "name": "endpoint",
  5290        "in": "body",
  5291        "required": true,
  5292        "schema": {
  5293          "$ref": "#/definitions/EndpointBatchDeleteRequest"
  5294        }
  5295      },
  5296      "endpoint-change-request": {
  5297        "name": "endpoint",
  5298        "in": "body",
  5299        "required": true,
  5300        "schema": {
  5301          "$ref": "#/definitions/EndpointChangeRequest"
  5302        }
  5303      },
  5304      "endpoint-id": {
  5305        "type": "string",
  5306        "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  5307        "name": "id",
  5308        "in": "path",
  5309        "required": true
  5310      },
  5311      "follow": {
  5312        "type": "boolean",
  5313        "description": "Whether to follow streamed requests",
  5314        "name": "follow",
  5315        "in": "query"
  5316      },
  5317      "identity-id": {
  5318        "type": "string",
  5319        "description": "Cluster wide unique identifier of a security identity.\n",
  5320        "name": "id",
  5321        "in": "path",
  5322        "required": true
  5323      },
  5324      "ipam-expiration": {
  5325        "type": "boolean",
  5326        "name": "expiration",
  5327        "in": "header"
  5328      },
  5329      "ipam-family": {
  5330        "enum": [
  5331          "ipv4",
  5332          "ipv6"
  5333        ],
  5334        "type": "string",
  5335        "name": "family",
  5336        "in": "query"
  5337      },
  5338      "ipam-ip": {
  5339        "type": "string",
  5340        "description": "IP address",
  5341        "name": "ip",
  5342        "in": "path",
  5343        "required": true
  5344      },
  5345      "ipam-owner": {
  5346        "type": "string",
  5347        "name": "owner",
  5348        "in": "query"
  5349      },
  5350      "ipam-pool": {
  5351        "type": "string",
  5352        "name": "pool",
  5353        "in": "query"
  5354      },
  5355      "labels": {
  5356        "description": "List of labels\n",
  5357        "name": "labels",
  5358        "in": "body",
  5359        "schema": {
  5360          "$ref": "#/definitions/Labels"
  5361        }
  5362      },
  5363      "map-name": {
  5364        "type": "string",
  5365        "description": "Name of map",
  5366        "name": "name",
  5367        "in": "path",
  5368        "required": true
  5369      },
  5370      "matchpattern": {
  5371        "type": "string",
  5372        "description": "A toFQDNs compatible matchPattern expression",
  5373        "name": "matchpattern",
  5374        "in": "query"
  5375      },
  5376      "pod-name": {
  5377        "type": "string",
  5378        "description": "K8s pod name\n",
  5379        "name": "pod",
  5380        "in": "path",
  5381        "required": true
  5382      },
  5383      "policy-replace": {
  5384        "type": "boolean",
  5385        "description": "If true, indicates that existing rules with identical labels should be replaced.",
  5386        "name": "replace",
  5387        "in": "query"
  5388      },
  5389      "policy-replace-with-labels": {
  5390        "type": "array",
  5391        "items": {
  5392          "type": "string"
  5393        },
  5394        "description": "If present, indicates that existing rules with the given labels should be deleted.",
  5395        "name": "replace-with-labels",
  5396        "in": "query"
  5397      },
  5398      "policy-rules": {
  5399        "description": "Policy rules",
  5400        "name": "policy",
  5401        "in": "body",
  5402        "required": true,
  5403        "schema": {
  5404          "type": "string"
  5405        }
  5406      },
  5407      "prefilter-spec": {
  5408        "description": "List of CIDR ranges for filter table",
  5409        "name": "prefilter-spec",
  5410        "in": "body",
  5411        "required": true,
  5412        "schema": {
  5413          "$ref": "#/definitions/PrefilterSpec"
  5414        }
  5415      },
  5416      "recorder-config": {
  5417        "description": "Recorder configuration",
  5418        "name": "config",
  5419        "in": "body",
  5420        "required": true,
  5421        "schema": {
  5422          "$ref": "#/definitions/RecorderSpec"
  5423        }
  5424      },
  5425      "recorder-id": {
  5426        "type": "integer",
  5427        "description": "ID of recorder",
  5428        "name": "id",
  5429        "in": "path",
  5430        "required": true
  5431      },
  5432      "service-address": {
  5433        "description": "Service address configuration",
  5434        "name": "address",
  5435        "in": "body",
  5436        "schema": {
  5437          "$ref": "#/definitions/FrontendAddress"
  5438        }
  5439      },
  5440      "service-config": {
  5441        "description": "Service configuration",
  5442        "name": "config",
  5443        "in": "body",
  5444        "required": true,
  5445        "schema": {
  5446          "$ref": "#/definitions/ServiceSpec"
  5447        }
  5448      },
  5449      "service-id": {
  5450        "type": "integer",
  5451        "description": "ID of service",
  5452        "name": "id",
  5453        "in": "path",
  5454        "required": true
  5455      },
  5456      "source": {
  5457        "type": "string",
  5458        "description": "Source from which FQDN entries come from",
  5459        "name": "source",
  5460        "in": "query"
  5461      },
  5462      "trace-selector": {
  5463        "description": "Context to provide policy evaluation on",
  5464        "name": "trace-selector",
  5465        "in": "body",
  5466        "schema": {
  5467          "$ref": "#/definitions/TraceSelector"
  5468        }
  5469      }
  5470    },
  5471    "x-schemes": [
  5472      "unix"
  5473    ]
  5474  }`))
  5475  	FlatSwaggerJSON = json.RawMessage([]byte(`{
  5476    "consumes": [
  5477      "application/json"
  5478    ],
  5479    "produces": [
  5480      "application/json"
  5481    ],
  5482    "swagger": "2.0",
  5483    "info": {
  5484      "description": "Cilium",
  5485      "title": "Cilium API",
  5486      "version": "v1beta1"
  5487    },
  5488    "basePath": "/v1",
  5489    "paths": {
  5490      "/bgp/peers": {
  5491        "get": {
  5492          "description": "Retrieves current operational state of BGP peers created by\nCilium BGP virtual router. This includes session state, uptime,\ninformation per address family, etc.\n",
  5493          "tags": [
  5494            "bgp"
  5495          ],
  5496          "summary": "Lists operational state of BGP peers",
  5497          "responses": {
  5498            "200": {
  5499              "description": "Success",
  5500              "schema": {
  5501                "type": "array",
  5502                "items": {
  5503                  "$ref": "#/definitions/BgpPeer"
  5504                }
  5505              }
  5506            },
  5507            "500": {
  5508              "description": "Internal Server Error",
  5509              "schema": {
  5510                "$ref": "#/definitions/Error"
  5511              }
  5512            },
  5513            "501": {
  5514              "description": "BGP Control Plane disabled",
  5515              "schema": {
  5516                "$ref": "#/definitions/Error"
  5517              },
  5518              "x-go-name": "Disabled"
  5519            }
  5520          }
  5521        }
  5522      },
  5523      "/bgp/route-policies": {
  5524        "get": {
  5525          "description": "Retrieves route policies from BGP Control Plane.",
  5526          "tags": [
  5527            "bgp"
  5528          ],
  5529          "summary": "Lists BGP route policies configured in BGP Control Plane.",
  5530          "parameters": [
  5531            {
  5532              "type": "integer",
  5533              "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance.\nIf not specified, all virtual router instances are selected.\n",
  5534              "name": "router_asn",
  5535              "in": "query"
  5536            }
  5537          ],
  5538          "responses": {
  5539            "200": {
  5540              "description": "Success",
  5541              "schema": {
  5542                "type": "array",
  5543                "items": {
  5544                  "$ref": "#/definitions/BgpRoutePolicy"
  5545                }
  5546              }
  5547            },
  5548            "500": {
  5549              "description": "Internal Server Error",
  5550              "schema": {
  5551                "$ref": "#/definitions/Error"
  5552              }
  5553            },
  5554            "501": {
  5555              "description": "BGP Control Plane disabled",
  5556              "schema": {
  5557                "$ref": "#/definitions/Error"
  5558              },
  5559              "x-go-name": "Disabled"
  5560            }
  5561          }
  5562        }
  5563      },
  5564      "/bgp/routes": {
  5565        "get": {
  5566          "description": "Retrieves routes from BGP Control Plane RIB filtered by parameters you specify",
  5567          "tags": [
  5568            "bgp"
  5569          ],
  5570          "summary": "Lists BGP routes from BGP Control Plane RIB.",
  5571          "parameters": [
  5572            {
  5573              "enum": [
  5574                "loc-rib",
  5575                "adj-rib-in",
  5576                "adj-rib-out"
  5577              ],
  5578              "type": "string",
  5579              "description": "BGP Routing Information Base (RIB) table type",
  5580              "name": "table_type",
  5581              "in": "query",
  5582              "required": true
  5583            },
  5584            {
  5585              "type": "string",
  5586              "description": "Address Family Indicator (AFI) of a BGP route",
  5587              "name": "afi",
  5588              "in": "query",
  5589              "required": true
  5590            },
  5591            {
  5592              "type": "string",
  5593              "description": "Subsequent Address Family Indicator (SAFI) of a BGP route",
  5594              "name": "safi",
  5595              "in": "query",
  5596              "required": true
  5597            },
  5598            {
  5599              "type": "integer",
  5600              "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance.\nIf not specified, all virtual router instances are selected.\n",
  5601              "name": "router_asn",
  5602              "in": "query"
  5603            },
  5604            {
  5605              "type": "string",
  5606              "description": "IP address specifying a BGP neighbor.\nHas to be specified only when table type is adj-rib-in or adj-rib-out.\n",
  5607              "name": "neighbor",
  5608              "in": "query"
  5609            }
  5610          ],
  5611          "responses": {
  5612            "200": {
  5613              "description": "Success",
  5614              "schema": {
  5615                "type": "array",
  5616                "items": {
  5617                  "$ref": "#/definitions/BgpRoute"
  5618                }
  5619              }
  5620            },
  5621            "500": {
  5622              "description": "Internal Server Error",
  5623              "schema": {
  5624                "$ref": "#/definitions/Error"
  5625              }
  5626            },
  5627            "501": {
  5628              "description": "BGP Control Plane disabled",
  5629              "schema": {
  5630                "$ref": "#/definitions/Error"
  5631              },
  5632              "x-go-name": "Disabled"
  5633            }
  5634          }
  5635        }
  5636      },
  5637      "/cgroup-dump-metadata": {
  5638        "get": {
  5639          "tags": [
  5640            "daemon"
  5641          ],
  5642          "summary": "Retrieve cgroup metadata for all pods",
  5643          "responses": {
  5644            "200": {
  5645              "description": "Success",
  5646              "schema": {
  5647                "$ref": "#/definitions/CgroupDumpMetadata"
  5648              }
  5649            },
  5650            "500": {
  5651              "description": "CgroupDumpMetadata get failed",
  5652              "schema": {
  5653                "$ref": "#/definitions/Error"
  5654              },
  5655              "x-go-name": "Failure"
  5656            }
  5657          }
  5658        }
  5659      },
  5660      "/cluster/nodes": {
  5661        "get": {
  5662          "tags": [
  5663            "daemon"
  5664          ],
  5665          "summary": "Get nodes information stored in the cilium-agent",
  5666          "parameters": [
  5667            {
  5668              "type": "integer",
  5669              "description": "Client UUID should be used when the client wants to request\na diff of nodes added and / or removed since the last time\nthat client has made a request.\n",
  5670              "name": "client-id",
  5671              "in": "header"
  5672            }
  5673          ],
  5674          "responses": {
  5675            "200": {
  5676              "description": "Success",
  5677              "schema": {
  5678                "$ref": "#/definitions/ClusterNodeStatus"
  5679              }
  5680            }
  5681          }
  5682        }
  5683      },
  5684      "/config": {
  5685        "get": {
  5686          "description": "Returns the configuration of the Cilium daemon.\n",
  5687          "tags": [
  5688            "daemon"
  5689          ],
  5690          "summary": "Get configuration of Cilium daemon",
  5691          "responses": {
  5692            "200": {
  5693              "description": "Success",
  5694              "schema": {
  5695                "$ref": "#/definitions/DaemonConfiguration"
  5696              }
  5697            }
  5698          }
  5699        },
  5700        "patch": {
  5701          "description": "Updates the daemon configuration by applying the provided\nConfigurationMap and regenerates \u0026 recompiles all required datapath\ncomponents.\n",
  5702          "tags": [
  5703            "daemon"
  5704          ],
  5705          "summary": "Modify daemon configuration",
  5706          "parameters": [
  5707            {
  5708              "name": "configuration",
  5709              "in": "body",
  5710              "required": true,
  5711              "schema": {
  5712                "$ref": "#/definitions/DaemonConfigurationSpec"
  5713              }
  5714            }
  5715          ],
  5716          "responses": {
  5717            "200": {
  5718              "description": "Success"
  5719            },
  5720            "400": {
  5721              "description": "Bad configuration parameters",
  5722              "schema": {
  5723                "$ref": "#/definitions/Error"
  5724              }
  5725            },
  5726            "403": {
  5727              "description": "Forbidden"
  5728            },
  5729            "500": {
  5730              "description": "Recompilation failed",
  5731              "schema": {
  5732                "$ref": "#/definitions/Error"
  5733              },
  5734              "x-go-name": "Failure"
  5735            }
  5736          }
  5737        }
  5738      },
  5739      "/debuginfo": {
  5740        "get": {
  5741          "tags": [
  5742            "daemon"
  5743          ],
  5744          "summary": "Retrieve information about the agent and environment for debugging",
  5745          "responses": {
  5746            "200": {
  5747              "description": "Success",
  5748              "schema": {
  5749                "$ref": "#/definitions/DebugInfo"
  5750              }
  5751            },
  5752            "500": {
  5753              "description": "DebugInfo get failed",
  5754              "schema": {
  5755                "$ref": "#/definitions/Error"
  5756              },
  5757              "x-go-name": "Failure"
  5758            }
  5759          }
  5760        }
  5761      },
  5762      "/endpoint": {
  5763        "get": {
  5764          "description": "Retrieves a list of endpoints that have metadata matching the provided parameters, or all endpoints if no parameters provided.\n",
  5765          "tags": [
  5766            "endpoint"
  5767          ],
  5768          "summary": "Retrieves a list of endpoints that have metadata matching the provided parameters.",
  5769          "parameters": [
  5770            {
  5771              "description": "List of labels\n",
  5772              "name": "labels",
  5773              "in": "body",
  5774              "schema": {
  5775                "$ref": "#/definitions/Labels"
  5776              }
  5777            }
  5778          ],
  5779          "responses": {
  5780            "200": {
  5781              "description": "Success",
  5782              "schema": {
  5783                "type": "array",
  5784                "items": {
  5785                  "$ref": "#/definitions/Endpoint"
  5786                }
  5787              }
  5788            },
  5789            "404": {
  5790              "description": "Endpoints with provided parameters not found"
  5791            },
  5792            "429": {
  5793              "description": "Rate-limiting too many requests in the given time frame"
  5794            }
  5795          }
  5796        },
  5797        "delete": {
  5798          "description": "Deletes a list of endpoints that have endpoints matching the provided properties\n",
  5799          "tags": [
  5800            "endpoint"
  5801          ],
  5802          "summary": "Deletes a list of endpoints",
  5803          "parameters": [
  5804            {
  5805              "name": "endpoint",
  5806              "in": "body",
  5807              "required": true,
  5808              "schema": {
  5809                "$ref": "#/definitions/EndpointBatchDeleteRequest"
  5810              }
  5811            }
  5812          ],
  5813          "responses": {
  5814            "200": {
  5815              "description": "Success"
  5816            },
  5817            "206": {
  5818              "description": "Deleted with a number of errors encountered",
  5819              "schema": {
  5820                "type": "integer"
  5821              },
  5822              "x-go-name": "Errors"
  5823            },
  5824            "400": {
  5825              "description": "Invalid endpoint delete request",
  5826              "x-go-name": "Invalid"
  5827            },
  5828            "404": {
  5829              "description": "No endpoints with provided parameters found"
  5830            },
  5831            "429": {
  5832              "description": "Rate-limiting too many requests in the given time frame"
  5833            }
  5834          }
  5835        }
  5836      },
  5837      "/endpoint/{id}": {
  5838        "get": {
  5839          "description": "Returns endpoint information\n",
  5840          "tags": [
  5841            "endpoint"
  5842          ],
  5843          "summary": "Get endpoint by endpoint ID",
  5844          "parameters": [
  5845            {
  5846              "type": "string",
  5847              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  5848              "name": "id",
  5849              "in": "path",
  5850              "required": true
  5851            }
  5852          ],
  5853          "responses": {
  5854            "200": {
  5855              "description": "Success",
  5856              "schema": {
  5857                "$ref": "#/definitions/Endpoint"
  5858              }
  5859            },
  5860            "400": {
  5861              "description": "Invalid endpoint ID format for specified type",
  5862              "schema": {
  5863                "$ref": "#/definitions/Error"
  5864              },
  5865              "x-go-name": "Invalid"
  5866            },
  5867            "404": {
  5868              "description": "Endpoint not found"
  5869            },
  5870            "429": {
  5871              "description": "Rate-limiting too many requests in the given time frame"
  5872            }
  5873          }
  5874        },
  5875        "put": {
  5876          "description": "Creates a new endpoint\n",
  5877          "tags": [
  5878            "endpoint"
  5879          ],
  5880          "summary": "Create endpoint",
  5881          "parameters": [
  5882            {
  5883              "type": "string",
  5884              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  5885              "name": "id",
  5886              "in": "path",
  5887              "required": true
  5888            },
  5889            {
  5890              "name": "endpoint",
  5891              "in": "body",
  5892              "required": true,
  5893              "schema": {
  5894                "$ref": "#/definitions/EndpointChangeRequest"
  5895              }
  5896            }
  5897          ],
  5898          "responses": {
  5899            "201": {
  5900              "description": "Created",
  5901              "schema": {
  5902                "$ref": "#/definitions/Endpoint"
  5903              }
  5904            },
  5905            "400": {
  5906              "description": "Invalid endpoint in request",
  5907              "schema": {
  5908                "$ref": "#/definitions/Error"
  5909              },
  5910              "x-go-name": "Invalid"
  5911            },
  5912            "403": {
  5913              "description": "Forbidden"
  5914            },
  5915            "409": {
  5916              "description": "Endpoint already exists",
  5917              "x-go-name": "Exists"
  5918            },
  5919            "429": {
  5920              "description": "Rate-limiting too many requests in the given time frame"
  5921            },
  5922            "500": {
  5923              "description": "Endpoint creation failed",
  5924              "schema": {
  5925                "$ref": "#/definitions/Error"
  5926              },
  5927              "x-go-name": "Failed"
  5928            }
  5929          }
  5930        },
  5931        "delete": {
  5932          "description": "Deletes the endpoint specified by the ID. Deletion is imminent and\natomic, if the deletion request is valid and the endpoint exists,\ndeletion will occur even if errors are encountered in the process. If\nerrors have been encountered, the code 202 will be returned, otherwise\n200 on success.\n\nAll resources associated with the endpoint will be freed and the\nworkload represented by the endpoint will be disconnected.It will no\nlonger be able to initiate or receive communications of any sort.\n",
  5933          "tags": [
  5934            "endpoint"
  5935          ],
  5936          "summary": "Delete endpoint",
  5937          "parameters": [
  5938            {
  5939              "type": "string",
  5940              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  5941              "name": "id",
  5942              "in": "path",
  5943              "required": true
  5944            }
  5945          ],
  5946          "responses": {
  5947            "200": {
  5948              "description": "Success"
  5949            },
  5950            "206": {
  5951              "description": "Deleted with a number of errors encountered",
  5952              "schema": {
  5953                "type": "integer"
  5954              },
  5955              "x-go-name": "Errors"
  5956            },
  5957            "400": {
  5958              "description": "Invalid endpoint ID format for specified type. Details in error\nmessage\n",
  5959              "schema": {
  5960                "$ref": "#/definitions/Error"
  5961              },
  5962              "x-go-name": "Invalid"
  5963            },
  5964            "403": {
  5965              "description": "Forbidden"
  5966            },
  5967            "404": {
  5968              "description": "Endpoint not found"
  5969            },
  5970            "429": {
  5971              "description": "Rate-limiting too many requests in the given time frame"
  5972            }
  5973          }
  5974        },
  5975        "patch": {
  5976          "description": "Applies the endpoint change request to an existing endpoint\n",
  5977          "tags": [
  5978            "endpoint"
  5979          ],
  5980          "summary": "Modify existing endpoint",
  5981          "deprecated": true,
  5982          "parameters": [
  5983            {
  5984              "type": "string",
  5985              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  5986              "name": "id",
  5987              "in": "path",
  5988              "required": true
  5989            },
  5990            {
  5991              "name": "endpoint",
  5992              "in": "body",
  5993              "required": true,
  5994              "schema": {
  5995                "$ref": "#/definitions/EndpointChangeRequest"
  5996              }
  5997            }
  5998          ],
  5999          "responses": {
  6000            "200": {
  6001              "description": "Success"
  6002            },
  6003            "400": {
  6004              "description": "Invalid modify endpoint request",
  6005              "schema": {
  6006                "$ref": "#/definitions/Error"
  6007              },
  6008              "x-go-name": "Invalid"
  6009            },
  6010            "403": {
  6011              "description": "Forbidden"
  6012            },
  6013            "404": {
  6014              "description": "Endpoint does not exist"
  6015            },
  6016            "429": {
  6017              "description": "Rate-limiting too many requests in the given time frame"
  6018            },
  6019            "500": {
  6020              "description": "Endpoint update failed",
  6021              "schema": {
  6022                "$ref": "#/definitions/Error"
  6023              },
  6024              "x-go-name": "Failed"
  6025            }
  6026          }
  6027        }
  6028      },
  6029      "/endpoint/{id}/config": {
  6030        "get": {
  6031          "description": "Retrieves the configuration of the specified endpoint.\n",
  6032          "tags": [
  6033            "endpoint"
  6034          ],
  6035          "summary": "Retrieve endpoint configuration",
  6036          "parameters": [
  6037            {
  6038              "type": "string",
  6039              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6040              "name": "id",
  6041              "in": "path",
  6042              "required": true
  6043            }
  6044          ],
  6045          "responses": {
  6046            "200": {
  6047              "description": "Success",
  6048              "schema": {
  6049                "$ref": "#/definitions/EndpointConfigurationStatus"
  6050              }
  6051            },
  6052            "404": {
  6053              "description": "Endpoint not found"
  6054            },
  6055            "429": {
  6056              "description": "Rate-limiting too many requests in the given time frame"
  6057            }
  6058          }
  6059        },
  6060        "patch": {
  6061          "description": "Update the configuration of an existing endpoint and regenerates \u0026\nrecompiles the corresponding programs automatically.\n",
  6062          "tags": [
  6063            "endpoint"
  6064          ],
  6065          "summary": "Modify mutable endpoint configuration",
  6066          "parameters": [
  6067            {
  6068              "type": "string",
  6069              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6070              "name": "id",
  6071              "in": "path",
  6072              "required": true
  6073            },
  6074            {
  6075              "name": "endpoint-configuration",
  6076              "in": "body",
  6077              "required": true,
  6078              "schema": {
  6079                "$ref": "#/definitions/EndpointConfigurationSpec"
  6080              }
  6081            }
  6082          ],
  6083          "responses": {
  6084            "200": {
  6085              "description": "Success"
  6086            },
  6087            "400": {
  6088              "description": "Invalid configuration request",
  6089              "x-go-name": "Invalid"
  6090            },
  6091            "403": {
  6092              "description": "Forbidden"
  6093            },
  6094            "404": {
  6095              "description": "Endpoint not found"
  6096            },
  6097            "429": {
  6098              "description": "Rate-limiting too many requests in the given time frame"
  6099            },
  6100            "500": {
  6101              "description": "Update failed. Details in message.",
  6102              "schema": {
  6103                "$ref": "#/definitions/Error"
  6104              },
  6105              "x-go-name": "Failed"
  6106            }
  6107          }
  6108        }
  6109      },
  6110      "/endpoint/{id}/healthz": {
  6111        "get": {
  6112          "tags": [
  6113            "endpoint"
  6114          ],
  6115          "summary": "Retrieves the status logs associated with this endpoint.",
  6116          "parameters": [
  6117            {
  6118              "type": "string",
  6119              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6120              "name": "id",
  6121              "in": "path",
  6122              "required": true
  6123            }
  6124          ],
  6125          "responses": {
  6126            "200": {
  6127              "description": "Success",
  6128              "schema": {
  6129                "$ref": "#/definitions/EndpointHealth"
  6130              }
  6131            },
  6132            "400": {
  6133              "description": "Invalid identity provided",
  6134              "x-go-name": "Invalid"
  6135            },
  6136            "404": {
  6137              "description": "Endpoint not found"
  6138            },
  6139            "429": {
  6140              "description": "Rate-limiting too many requests in the given time frame"
  6141            }
  6142          }
  6143        }
  6144      },
  6145      "/endpoint/{id}/labels": {
  6146        "get": {
  6147          "tags": [
  6148            "endpoint"
  6149          ],
  6150          "summary": "Retrieves the list of labels associated with an endpoint.",
  6151          "parameters": [
  6152            {
  6153              "type": "string",
  6154              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6155              "name": "id",
  6156              "in": "path",
  6157              "required": true
  6158            }
  6159          ],
  6160          "responses": {
  6161            "200": {
  6162              "description": "Success",
  6163              "schema": {
  6164                "$ref": "#/definitions/LabelConfiguration"
  6165              }
  6166            },
  6167            "404": {
  6168              "description": "Endpoint not found"
  6169            },
  6170            "429": {
  6171              "description": "Rate-limiting too many requests in the given time frame"
  6172            }
  6173          }
  6174        },
  6175        "patch": {
  6176          "description": "Sets labels associated with an endpoint. These can be user provided or\nderived from the orchestration system.\n",
  6177          "tags": [
  6178            "endpoint"
  6179          ],
  6180          "summary": "Set label configuration of endpoint",
  6181          "parameters": [
  6182            {
  6183              "type": "string",
  6184              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6185              "name": "id",
  6186              "in": "path",
  6187              "required": true
  6188            },
  6189            {
  6190              "name": "configuration",
  6191              "in": "body",
  6192              "required": true,
  6193              "schema": {
  6194                "$ref": "#/definitions/LabelConfigurationSpec"
  6195              }
  6196            }
  6197          ],
  6198          "responses": {
  6199            "200": {
  6200              "description": "Success"
  6201            },
  6202            "403": {
  6203              "description": "Forbidden"
  6204            },
  6205            "404": {
  6206              "description": "Endpoint not found"
  6207            },
  6208            "429": {
  6209              "description": "Rate-limiting too many requests in the given time frame"
  6210            },
  6211            "500": {
  6212              "description": "Error while updating labels",
  6213              "schema": {
  6214                "$ref": "#/definitions/Error"
  6215              },
  6216              "x-go-name": "UpdateFailed"
  6217            }
  6218          }
  6219        }
  6220      },
  6221      "/endpoint/{id}/log": {
  6222        "get": {
  6223          "tags": [
  6224            "endpoint"
  6225          ],
  6226          "summary": "Retrieves the status logs associated with this endpoint.",
  6227          "parameters": [
  6228            {
  6229              "type": "string",
  6230              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6231              "name": "id",
  6232              "in": "path",
  6233              "required": true
  6234            }
  6235          ],
  6236          "responses": {
  6237            "200": {
  6238              "description": "Success",
  6239              "schema": {
  6240                "$ref": "#/definitions/EndpointStatusLog"
  6241              }
  6242            },
  6243            "400": {
  6244              "description": "Invalid identity provided",
  6245              "x-go-name": "Invalid"
  6246            },
  6247            "404": {
  6248              "description": "Endpoint not found"
  6249            },
  6250            "429": {
  6251              "description": "Rate-limiting too many requests in the given time frame"
  6252            }
  6253          }
  6254        }
  6255      },
  6256      "/fqdn/cache": {
  6257        "get": {
  6258          "description": "Retrieves the list of DNS lookups intercepted from endpoints,\noptionally filtered by DNS name, CIDR IP range or source.\n",
  6259          "tags": [
  6260            "policy"
  6261          ],
  6262          "summary": "Retrieves the list of DNS lookups intercepted from all endpoints.",
  6263          "parameters": [
  6264            {
  6265              "type": "string",
  6266              "description": "A toFQDNs compatible matchPattern expression",
  6267              "name": "matchpattern",
  6268              "in": "query"
  6269            },
  6270            {
  6271              "type": "string",
  6272              "description": "A CIDR range of IPs",
  6273              "name": "cidr",
  6274              "in": "query"
  6275            },
  6276            {
  6277              "type": "string",
  6278              "description": "Source from which FQDN entries come from",
  6279              "name": "source",
  6280              "in": "query"
  6281            }
  6282          ],
  6283          "responses": {
  6284            "200": {
  6285              "description": "Success",
  6286              "schema": {
  6287                "type": "array",
  6288                "items": {
  6289                  "$ref": "#/definitions/DNSLookup"
  6290                }
  6291              }
  6292            },
  6293            "400": {
  6294              "description": "Invalid request (error parsing parameters)",
  6295              "schema": {
  6296                "$ref": "#/definitions/Error"
  6297              }
  6298            },
  6299            "404": {
  6300              "description": "No DNS data with provided parameters found"
  6301            }
  6302          }
  6303        },
  6304        "delete": {
  6305          "description": "Deletes matching DNS lookups from the cache, optionally restricted by\nDNS name. The removed IP data will no longer be used in generated\npolicies.\n",
  6306          "tags": [
  6307            "policy"
  6308          ],
  6309          "summary": "Deletes matching DNS lookups from the policy-generation cache.",
  6310          "parameters": [
  6311            {
  6312              "type": "string",
  6313              "description": "A toFQDNs compatible matchPattern expression",
  6314              "name": "matchpattern",
  6315              "in": "query"
  6316            }
  6317          ],
  6318          "responses": {
  6319            "200": {
  6320              "description": "Success"
  6321            },
  6322            "400": {
  6323              "description": "Invalid request (error parsing parameters)",
  6324              "schema": {
  6325                "$ref": "#/definitions/Error"
  6326              }
  6327            },
  6328            "403": {
  6329              "description": "Forbidden"
  6330            }
  6331          }
  6332        }
  6333      },
  6334      "/fqdn/cache/{id}": {
  6335        "get": {
  6336          "description": "Retrieves the list of DNS lookups intercepted from the specific endpoint,\noptionally filtered by endpoint id, DNS name, CIDR IP range or source.\n",
  6337          "tags": [
  6338            "policy"
  6339          ],
  6340          "summary": "Retrieves the list of DNS lookups intercepted from an endpoint.",
  6341          "parameters": [
  6342            {
  6343              "type": "string",
  6344              "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
  6345              "name": "id",
  6346              "in": "path",
  6347              "required": true
  6348            },
  6349            {
  6350              "type": "string",
  6351              "description": "A toFQDNs compatible matchPattern expression",
  6352              "name": "matchpattern",
  6353              "in": "query"
  6354            },
  6355            {
  6356              "type": "string",
  6357              "description": "A CIDR range of IPs",
  6358              "name": "cidr",
  6359              "in": "query"
  6360            },
  6361            {
  6362              "type": "string",
  6363              "description": "Source from which FQDN entries come from",
  6364              "name": "source",
  6365              "in": "query"
  6366            }
  6367          ],
  6368          "responses": {
  6369            "200": {
  6370              "description": "Success",
  6371              "schema": {
  6372                "type": "array",
  6373                "items": {
  6374                  "$ref": "#/definitions/DNSLookup"
  6375                }
  6376              }
  6377            },
  6378            "400": {
  6379              "description": "Invalid request (error parsing parameters)",
  6380              "schema": {
  6381                "$ref": "#/definitions/Error"
  6382              }
  6383            },
  6384            "404": {
  6385              "description": "No DNS data with provided parameters found"
  6386            }
  6387          }
  6388        }
  6389      },
  6390      "/fqdn/names": {
  6391        "get": {
  6392          "description": "Retrieves the list of DNS-related fields (names to poll, selectors and\ntheir corresponding regexes).\n",
  6393          "tags": [
  6394            "policy"
  6395          ],
  6396          "summary": "List internal DNS selector representations",
  6397          "responses": {
  6398            "200": {
  6399              "description": "Success",
  6400              "schema": {
  6401                "$ref": "#/definitions/NameManager"
  6402              }
  6403            },
  6404            "400": {
  6405              "description": "Invalid request (error parsing parameters)",
  6406              "schema": {
  6407                "$ref": "#/definitions/Error"
  6408              }
  6409            }
  6410          }
  6411        }
  6412      },
  6413      "/healthz": {
  6414        "get": {
  6415          "description": "Returns health and status information of the Cilium daemon and related\ncomponents such as the local container runtime, connected datastore,\nKubernetes integration and Hubble.\n",
  6416          "tags": [
  6417            "daemon"
  6418          ],
  6419          "summary": "Get health of Cilium daemon",
  6420          "parameters": [
  6421            {
  6422              "type": "boolean",
  6423              "description": "Brief will return a brief representation of the Cilium status.\n",
  6424              "name": "brief",
  6425              "in": "header"
  6426            }
  6427          ],
  6428          "responses": {
  6429            "200": {
  6430              "description": "Success",
  6431              "schema": {
  6432                "$ref": "#/definitions/StatusResponse"
  6433              }
  6434            }
  6435          }
  6436        }
  6437      },
  6438      "/identity": {
  6439        "get": {
  6440          "description": "Retrieves a list of identities that have metadata matching the provided parameters, or all identities if no parameters are provided.\n",
  6441          "tags": [
  6442            "policy"
  6443          ],
  6444          "summary": "Retrieves a list of identities that have metadata matching the provided parameters.",
  6445          "parameters": [
  6446            {
  6447              "description": "List of labels\n",
  6448              "name": "labels",
  6449              "in": "body",
  6450              "schema": {
  6451                "$ref": "#/definitions/Labels"
  6452              }
  6453            }
  6454          ],
  6455          "responses": {
  6456            "200": {
  6457              "description": "Success",
  6458              "schema": {
  6459                "type": "array",
  6460                "items": {
  6461                  "$ref": "#/definitions/Identity"
  6462                }
  6463              }
  6464            },
  6465            "404": {
  6466              "description": "Identities with provided parameters not found"
  6467            },
  6468            "520": {
  6469              "description": "Identity storage unreachable. Likely a network problem.",
  6470              "schema": {
  6471                "$ref": "#/definitions/Error"
  6472              },
  6473              "x-go-name": "Unreachable"
  6474            },
  6475            "521": {
  6476              "description": "Invalid identity format in storage",
  6477              "schema": {
  6478                "$ref": "#/definitions/Error"
  6479              },
  6480              "x-go-name": "InvalidStorageFormat"
  6481            }
  6482          }
  6483        }
  6484      },
  6485      "/identity/endpoints": {
  6486        "get": {
  6487          "tags": [
  6488            "policy"
  6489          ],
  6490          "summary": "Retrieve identities which are being used by local endpoints",
  6491          "responses": {
  6492            "200": {
  6493              "description": "Success",
  6494              "schema": {
  6495                "type": "array",
  6496                "items": {
  6497                  "$ref": "#/definitions/IdentityEndpoints"
  6498                }
  6499              }
  6500            },
  6501            "404": {
  6502              "description": "Set of identities which are being used by local endpoints could not be found."
  6503            }
  6504          }
  6505        }
  6506      },
  6507      "/identity/{id}": {
  6508        "get": {
  6509          "tags": [
  6510            "policy"
  6511          ],
  6512          "summary": "Retrieve identity",
  6513          "parameters": [
  6514            {
  6515              "type": "string",
  6516              "description": "Cluster wide unique identifier of a security identity.\n",
  6517              "name": "id",
  6518              "in": "path",
  6519              "required": true
  6520            }
  6521          ],
  6522          "responses": {
  6523            "200": {
  6524              "description": "Success",
  6525              "schema": {
  6526                "$ref": "#/definitions/Identity"
  6527              }
  6528            },
  6529            "400": {
  6530              "description": "Invalid identity provided"
  6531            },
  6532            "404": {
  6533              "description": "Identity not found"
  6534            },
  6535            "520": {
  6536              "description": "Identity storage unreachable. Likely a network problem.",
  6537              "schema": {
  6538                "$ref": "#/definitions/Error"
  6539              },
  6540              "x-go-name": "Unreachable"
  6541            },
  6542            "521": {
  6543              "description": "Invalid identity format in storage",
  6544              "schema": {
  6545                "$ref": "#/definitions/Error"
  6546              },
  6547              "x-go-name": "InvalidStorageFormat"
  6548            }
  6549          }
  6550        }
  6551      },
  6552      "/ip": {
  6553        "get": {
  6554          "description": "Retrieves a list of IPs with known associated information such as\ntheir identities, host addresses, Kubernetes pod names, etc.\nThe list can optionally filtered by a CIDR IP range.\n",
  6555          "tags": [
  6556            "policy"
  6557          ],
  6558          "summary": "Lists information about known IP addresses",
  6559          "parameters": [
  6560            {
  6561              "type": "string",
  6562              "description": "A CIDR range of IPs",
  6563              "name": "cidr",
  6564              "in": "query"
  6565            }
  6566          ],
  6567          "responses": {
  6568            "200": {
  6569              "description": "Success",
  6570              "schema": {
  6571                "type": "array",
  6572                "items": {
  6573                  "$ref": "#/definitions/IPListEntry"
  6574                }
  6575              }
  6576            },
  6577            "400": {
  6578              "description": "Invalid request (error parsing parameters)",
  6579              "schema": {
  6580                "$ref": "#/definitions/Error"
  6581              }
  6582            },
  6583            "404": {
  6584              "description": "No IP cache entries with provided parameters found"
  6585            }
  6586          }
  6587        }
  6588      },
  6589      "/ipam": {
  6590        "post": {
  6591          "tags": [
  6592            "ipam"
  6593          ],
  6594          "summary": "Allocate an IP address",
  6595          "parameters": [
  6596            {
  6597              "enum": [
  6598                "ipv4",
  6599                "ipv6"
  6600              ],
  6601              "type": "string",
  6602              "name": "family",
  6603              "in": "query"
  6604            },
  6605            {
  6606              "type": "string",
  6607              "name": "owner",
  6608              "in": "query"
  6609            },
  6610            {
  6611              "type": "string",
  6612              "name": "pool",
  6613              "in": "query"
  6614            },
  6615            {
  6616              "type": "boolean",
  6617              "name": "expiration",
  6618              "in": "header"
  6619            }
  6620          ],
  6621          "responses": {
  6622            "201": {
  6623              "description": "Success",
  6624              "schema": {
  6625                "$ref": "#/definitions/IPAMResponse"
  6626              }
  6627            },
  6628            "403": {
  6629              "description": "Forbidden"
  6630            },
  6631            "502": {
  6632              "description": "Allocation failure",
  6633              "schema": {
  6634                "$ref": "#/definitions/Error"
  6635              },
  6636              "x-go-name": "Failure"
  6637            }
  6638          }
  6639        }
  6640      },
  6641      "/ipam/{ip}": {
  6642        "post": {
  6643          "tags": [
  6644            "ipam"
  6645          ],
  6646          "summary": "Allocate an IP address",
  6647          "parameters": [
  6648            {
  6649              "type": "string",
  6650              "description": "IP address",
  6651              "name": "ip",
  6652              "in": "path",
  6653              "required": true
  6654            },
  6655            {
  6656              "type": "string",
  6657              "name": "owner",
  6658              "in": "query"
  6659            },
  6660            {
  6661              "type": "string",
  6662              "name": "pool",
  6663              "in": "query"
  6664            }
  6665          ],
  6666          "responses": {
  6667            "200": {
  6668              "description": "Success"
  6669            },
  6670            "400": {
  6671              "description": "Invalid IP address",
  6672              "x-go-name": "Invalid"
  6673            },
  6674            "403": {
  6675              "description": "Forbidden"
  6676            },
  6677            "409": {
  6678              "description": "IP already allocated",
  6679              "x-go-name": "Exists"
  6680            },
  6681            "500": {
  6682              "description": "IP allocation failure. Details in message.",
  6683              "schema": {
  6684                "$ref": "#/definitions/Error"
  6685              },
  6686              "x-go-name": "Failure"
  6687            },
  6688            "501": {
  6689              "description": "Allocation for address family disabled",
  6690              "x-go-name": "Disabled"
  6691            }
  6692          }
  6693        },
  6694        "delete": {
  6695          "tags": [
  6696            "ipam"
  6697          ],
  6698          "summary": "Release an allocated IP address",
  6699          "parameters": [
  6700            {
  6701              "type": "string",
  6702              "description": "IP address",
  6703              "name": "ip",
  6704              "in": "path",
  6705              "required": true
  6706            },
  6707            {
  6708              "type": "string",
  6709              "name": "pool",
  6710              "in": "query"
  6711            }
  6712          ],
  6713          "responses": {
  6714            "200": {
  6715              "description": "Success"
  6716            },
  6717            "400": {
  6718              "description": "Invalid IP address",
  6719              "x-go-name": "Invalid"
  6720            },
  6721            "403": {
  6722              "description": "Forbidden"
  6723            },
  6724            "404": {
  6725              "description": "IP address not found"
  6726            },
  6727            "500": {
  6728              "description": "Address release failure",
  6729              "schema": {
  6730                "$ref": "#/definitions/Error"
  6731              },
  6732              "x-go-name": "Failure"
  6733            },
  6734            "501": {
  6735              "description": "Allocation for address family disabled",
  6736              "x-go-name": "Disabled"
  6737            }
  6738          }
  6739        }
  6740      },
  6741      "/lrp": {
  6742        "get": {
  6743          "tags": [
  6744            "service"
  6745          ],
  6746          "summary": "Retrieve list of all local redirect policies",
  6747          "responses": {
  6748            "200": {
  6749              "description": "Success",
  6750              "schema": {
  6751                "type": "array",
  6752                "items": {
  6753                  "$ref": "#/definitions/LRPSpec"
  6754                }
  6755              }
  6756            }
  6757          }
  6758        }
  6759      },
  6760      "/map": {
  6761        "get": {
  6762          "tags": [
  6763            "daemon"
  6764          ],
  6765          "summary": "List all open maps",
  6766          "responses": {
  6767            "200": {
  6768              "description": "Success",
  6769              "schema": {
  6770                "$ref": "#/definitions/BPFMapList"
  6771              }
  6772            }
  6773          }
  6774        }
  6775      },
  6776      "/map/{name}": {
  6777        "get": {
  6778          "tags": [
  6779            "daemon"
  6780          ],
  6781          "summary": "Retrieve contents of BPF map",
  6782          "parameters": [
  6783            {
  6784              "type": "string",
  6785              "description": "Name of map",
  6786              "name": "name",
  6787              "in": "path",
  6788              "required": true
  6789            }
  6790          ],
  6791          "responses": {
  6792            "200": {
  6793              "description": "Success",
  6794              "schema": {
  6795                "$ref": "#/definitions/BPFMap"
  6796              }
  6797            },
  6798            "404": {
  6799              "description": "Map not found"
  6800            }
  6801          }
  6802        }
  6803      },
  6804      "/map/{name}/events": {
  6805        "get": {
  6806          "tags": [
  6807            "daemon"
  6808          ],
  6809          "summary": "Retrieves the recent event logs associated with this endpoint.",
  6810          "parameters": [
  6811            {
  6812              "type": "string",
  6813              "description": "Name of map",
  6814              "name": "name",
  6815              "in": "path",
  6816              "required": true
  6817            },
  6818            {
  6819              "type": "boolean",
  6820              "description": "Whether to follow streamed requests",
  6821              "name": "follow",
  6822              "in": "query"
  6823            }
  6824          ],
  6825          "responses": {
  6826            "200": {
  6827              "description": "Success",
  6828              "schema": {
  6829                "type": "string",
  6830                "format": "binary"
  6831              }
  6832            },
  6833            "404": {
  6834              "description": "Map not found"
  6835            }
  6836          }
  6837        }
  6838      },
  6839      "/metrics/": {
  6840        "get": {
  6841          "tags": [
  6842            "metrics"
  6843          ],
  6844          "summary": "Retrieve cilium metrics",
  6845          "responses": {
  6846            "200": {
  6847              "description": "Success",
  6848              "schema": {
  6849                "type": "array",
  6850                "items": {
  6851                  "$ref": "#/definitions/Metric"
  6852                }
  6853              }
  6854            },
  6855            "500": {
  6856              "description": "Metrics cannot be retrieved"
  6857            }
  6858          }
  6859        }
  6860      },
  6861      "/node/ids": {
  6862        "get": {
  6863          "description": "Retrieves a list of node IDs allocated by the agent and their\nassociated node IP addresses.\n",
  6864          "tags": [
  6865            "daemon"
  6866          ],
  6867          "summary": "List information about known node IDs",
  6868          "responses": {
  6869            "200": {
  6870              "description": "Success",
  6871              "schema": {
  6872                "type": "array",
  6873                "items": {
  6874                  "$ref": "#/definitions/NodeID"
  6875                }
  6876              }
  6877            }
  6878          }
  6879        }
  6880      },
  6881      "/policy": {
  6882        "get": {
  6883          "description": "Returns the entire policy tree with all children.\n",
  6884          "tags": [
  6885            "policy"
  6886          ],
  6887          "summary": "Retrieve entire policy tree",
  6888          "parameters": [
  6889            {
  6890              "name": "labels",
  6891              "in": "body",
  6892              "schema": {
  6893                "$ref": "#/definitions/Labels"
  6894              }
  6895            }
  6896          ],
  6897          "responses": {
  6898            "200": {
  6899              "description": "Success",
  6900              "schema": {
  6901                "$ref": "#/definitions/Policy"
  6902              }
  6903            },
  6904            "404": {
  6905              "description": "No policy rules found"
  6906            }
  6907          }
  6908        },
  6909        "put": {
  6910          "tags": [
  6911            "policy"
  6912          ],
  6913          "summary": "Create or update a policy (sub)tree",
  6914          "parameters": [
  6915            {
  6916              "description": "Policy rules",
  6917              "name": "policy",
  6918              "in": "body",
  6919              "required": true,
  6920              "schema": {
  6921                "type": "string"
  6922              }
  6923            },
  6924            {
  6925              "type": "boolean",
  6926              "description": "If true, indicates that existing rules with identical labels should be replaced.",
  6927              "name": "replace",
  6928              "in": "query"
  6929            },
  6930            {
  6931              "type": "array",
  6932              "items": {
  6933                "type": "string"
  6934              },
  6935              "description": "If present, indicates that existing rules with the given labels should be deleted.",
  6936              "name": "replace-with-labels",
  6937              "in": "query"
  6938            }
  6939          ],
  6940          "responses": {
  6941            "200": {
  6942              "description": "Success",
  6943              "schema": {
  6944                "$ref": "#/definitions/Policy"
  6945              }
  6946            },
  6947            "400": {
  6948              "description": "Invalid policy",
  6949              "schema": {
  6950                "$ref": "#/definitions/Error"
  6951              },
  6952              "x-go-name": "InvalidPolicy"
  6953            },
  6954            "403": {
  6955              "description": "Forbidden"
  6956            },
  6957            "460": {
  6958              "description": "Invalid path",
  6959              "schema": {
  6960                "$ref": "#/definitions/Error"
  6961              },
  6962              "x-go-name": "InvalidPath"
  6963            },
  6964            "500": {
  6965              "description": "Policy import failed",
  6966              "schema": {
  6967                "$ref": "#/definitions/Error"
  6968              },
  6969              "x-go-name": "Failure"
  6970            }
  6971          }
  6972        },
  6973        "delete": {
  6974          "tags": [
  6975            "policy"
  6976          ],
  6977          "summary": "Delete a policy (sub)tree",
  6978          "parameters": [
  6979            {
  6980              "name": "labels",
  6981              "in": "body",
  6982              "schema": {
  6983                "$ref": "#/definitions/Labels"
  6984              }
  6985            }
  6986          ],
  6987          "responses": {
  6988            "200": {
  6989              "description": "Success",
  6990              "schema": {
  6991                "$ref": "#/definitions/Policy"
  6992              }
  6993            },
  6994            "400": {
  6995              "description": "Invalid request",
  6996              "schema": {
  6997                "$ref": "#/definitions/Error"
  6998              },
  6999              "x-go-name": "Invalid"
  7000            },
  7001            "403": {
  7002              "description": "Forbidden"
  7003            },
  7004            "404": {
  7005              "description": "Policy not found"
  7006            },
  7007            "500": {
  7008              "description": "Error while deleting policy",
  7009              "schema": {
  7010                "$ref": "#/definitions/Error"
  7011              },
  7012              "x-go-name": "Failure"
  7013            }
  7014          }
  7015        }
  7016      },
  7017      "/policy/selectors": {
  7018        "get": {
  7019          "tags": [
  7020            "policy"
  7021          ],
  7022          "summary": "See what selectors match which identities",
  7023          "responses": {
  7024            "200": {
  7025              "description": "Success",
  7026              "schema": {
  7027                "$ref": "#/definitions/SelectorCache"
  7028              }
  7029            }
  7030          }
  7031        }
  7032      },
  7033      "/prefilter": {
  7034        "get": {
  7035          "tags": [
  7036            "prefilter"
  7037          ],
  7038          "summary": "Retrieve list of CIDRs",
  7039          "responses": {
  7040            "200": {
  7041              "description": "Success",
  7042              "schema": {
  7043                "$ref": "#/definitions/Prefilter"
  7044              }
  7045            },
  7046            "500": {
  7047              "description": "Prefilter get failed",
  7048              "schema": {
  7049                "$ref": "#/definitions/Error"
  7050              },
  7051              "x-go-name": "Failure"
  7052            }
  7053          }
  7054        },
  7055        "delete": {
  7056          "tags": [
  7057            "prefilter"
  7058          ],
  7059          "summary": "Delete list of CIDRs",
  7060          "parameters": [
  7061            {
  7062              "description": "List of CIDR ranges for filter table",
  7063              "name": "prefilter-spec",
  7064              "in": "body",
  7065              "required": true,
  7066              "schema": {
  7067                "$ref": "#/definitions/PrefilterSpec"
  7068              }
  7069            }
  7070          ],
  7071          "responses": {
  7072            "200": {
  7073              "description": "Deleted",
  7074              "schema": {
  7075                "$ref": "#/definitions/Prefilter"
  7076              }
  7077            },
  7078            "403": {
  7079              "description": "Forbidden"
  7080            },
  7081            "461": {
  7082              "description": "Invalid CIDR prefix",
  7083              "schema": {
  7084                "$ref": "#/definitions/Error"
  7085              },
  7086              "x-go-name": "InvalidCIDR"
  7087            },
  7088            "500": {
  7089              "description": "Prefilter delete failed",
  7090              "schema": {
  7091                "$ref": "#/definitions/Error"
  7092              },
  7093              "x-go-name": "Failure"
  7094            }
  7095          }
  7096        },
  7097        "patch": {
  7098          "tags": [
  7099            "prefilter"
  7100          ],
  7101          "summary": "Update list of CIDRs",
  7102          "parameters": [
  7103            {
  7104              "description": "List of CIDR ranges for filter table",
  7105              "name": "prefilter-spec",
  7106              "in": "body",
  7107              "required": true,
  7108              "schema": {
  7109                "$ref": "#/definitions/PrefilterSpec"
  7110              }
  7111            }
  7112          ],
  7113          "responses": {
  7114            "200": {
  7115              "description": "Updated",
  7116              "schema": {
  7117                "$ref": "#/definitions/Prefilter"
  7118              }
  7119            },
  7120            "403": {
  7121              "description": "Forbidden"
  7122            },
  7123            "461": {
  7124              "description": "Invalid CIDR prefix",
  7125              "schema": {
  7126                "$ref": "#/definitions/Error"
  7127              },
  7128              "x-go-name": "InvalidCIDR"
  7129            },
  7130            "500": {
  7131              "description": "Prefilter update failed",
  7132              "schema": {
  7133                "$ref": "#/definitions/Error"
  7134              },
  7135              "x-go-name": "Failure"
  7136            }
  7137          }
  7138        }
  7139      },
  7140      "/recorder": {
  7141        "get": {
  7142          "tags": [
  7143            "recorder"
  7144          ],
  7145          "summary": "Retrieve list of all recorders",
  7146          "responses": {
  7147            "200": {
  7148              "description": "Success",
  7149              "schema": {
  7150                "type": "array",
  7151                "items": {
  7152                  "$ref": "#/definitions/Recorder"
  7153                }
  7154              }
  7155            }
  7156          }
  7157        }
  7158      },
  7159      "/recorder/masks": {
  7160        "get": {
  7161          "tags": [
  7162            "recorder"
  7163          ],
  7164          "summary": "Retrieve list of all recorder masks",
  7165          "responses": {
  7166            "200": {
  7167              "description": "Success",
  7168              "schema": {
  7169                "type": "array",
  7170                "items": {
  7171                  "$ref": "#/definitions/RecorderMask"
  7172                }
  7173              }
  7174            }
  7175          }
  7176        }
  7177      },
  7178      "/recorder/{id}": {
  7179        "get": {
  7180          "tags": [
  7181            "recorder"
  7182          ],
  7183          "summary": "Retrieve configuration of a recorder",
  7184          "parameters": [
  7185            {
  7186              "type": "integer",
  7187              "description": "ID of recorder",
  7188              "name": "id",
  7189              "in": "path",
  7190              "required": true
  7191            }
  7192          ],
  7193          "responses": {
  7194            "200": {
  7195              "description": "Success",
  7196              "schema": {
  7197                "$ref": "#/definitions/Recorder"
  7198              }
  7199            },
  7200            "404": {
  7201              "description": "Recorder not found"
  7202            }
  7203          }
  7204        },
  7205        "put": {
  7206          "tags": [
  7207            "recorder"
  7208          ],
  7209          "summary": "Create or update recorder",
  7210          "parameters": [
  7211            {
  7212              "type": "integer",
  7213              "description": "ID of recorder",
  7214              "name": "id",
  7215              "in": "path",
  7216              "required": true
  7217            },
  7218            {
  7219              "description": "Recorder configuration",
  7220              "name": "config",
  7221              "in": "body",
  7222              "required": true,
  7223              "schema": {
  7224                "$ref": "#/definitions/RecorderSpec"
  7225              }
  7226            }
  7227          ],
  7228          "responses": {
  7229            "200": {
  7230              "description": "Updated"
  7231            },
  7232            "201": {
  7233              "description": "Created"
  7234            },
  7235            "403": {
  7236              "description": "Forbidden"
  7237            },
  7238            "500": {
  7239              "description": "Error while creating recorder",
  7240              "schema": {
  7241                "$ref": "#/definitions/Error"
  7242              },
  7243              "x-go-name": "Failure"
  7244            }
  7245          }
  7246        },
  7247        "delete": {
  7248          "tags": [
  7249            "recorder"
  7250          ],
  7251          "summary": "Delete a recorder",
  7252          "parameters": [
  7253            {
  7254              "type": "integer",
  7255              "description": "ID of recorder",
  7256              "name": "id",
  7257              "in": "path",
  7258              "required": true
  7259            }
  7260          ],
  7261          "responses": {
  7262            "200": {
  7263              "description": "Success"
  7264            },
  7265            "403": {
  7266              "description": "Forbidden"
  7267            },
  7268            "404": {
  7269              "description": "Recorder not found"
  7270            },
  7271            "500": {
  7272              "description": "Recorder deletion failed",
  7273              "schema": {
  7274                "$ref": "#/definitions/Error"
  7275              },
  7276              "x-go-name": "Failure"
  7277            }
  7278          }
  7279        }
  7280      },
  7281      "/service": {
  7282        "get": {
  7283          "tags": [
  7284            "service"
  7285          ],
  7286          "summary": "Retrieve list of all services",
  7287          "responses": {
  7288            "200": {
  7289              "description": "Success",
  7290              "schema": {
  7291                "type": "array",
  7292                "items": {
  7293                  "$ref": "#/definitions/Service"
  7294                }
  7295              }
  7296            }
  7297          }
  7298        }
  7299      },
  7300      "/service/{id}": {
  7301        "get": {
  7302          "tags": [
  7303            "service"
  7304          ],
  7305          "summary": "Retrieve configuration of a service",
  7306          "parameters": [
  7307            {
  7308              "type": "integer",
  7309              "description": "ID of service",
  7310              "name": "id",
  7311              "in": "path",
  7312              "required": true
  7313            }
  7314          ],
  7315          "responses": {
  7316            "200": {
  7317              "description": "Success",
  7318              "schema": {
  7319                "$ref": "#/definitions/Service"
  7320              }
  7321            },
  7322            "404": {
  7323              "description": "Service not found"
  7324            }
  7325          }
  7326        },
  7327        "put": {
  7328          "tags": [
  7329            "service"
  7330          ],
  7331          "summary": "Create or update service",
  7332          "parameters": [
  7333            {
  7334              "type": "integer",
  7335              "description": "ID of service",
  7336              "name": "id",
  7337              "in": "path",
  7338              "required": true
  7339            },
  7340            {
  7341              "description": "Service configuration",
  7342              "name": "config",
  7343              "in": "body",
  7344              "required": true,
  7345              "schema": {
  7346                "$ref": "#/definitions/ServiceSpec"
  7347              }
  7348            }
  7349          ],
  7350          "responses": {
  7351            "200": {
  7352              "description": "Updated"
  7353            },
  7354            "201": {
  7355              "description": "Created"
  7356            },
  7357            "403": {
  7358              "description": "Forbidden"
  7359            },
  7360            "460": {
  7361              "description": "Invalid frontend in service configuration",
  7362              "schema": {
  7363                "$ref": "#/definitions/Error"
  7364              },
  7365              "x-go-name": "InvalidFrontend"
  7366            },
  7367            "461": {
  7368              "description": "Invalid backend in service configuration",
  7369              "schema": {
  7370                "$ref": "#/definitions/Error"
  7371              },
  7372              "x-go-name": "InvalidBackend"
  7373            },
  7374            "500": {
  7375              "description": "Error while creating service",
  7376              "schema": {
  7377                "$ref": "#/definitions/Error"
  7378              },
  7379              "x-go-name": "Failure"
  7380            },
  7381            "501": {
  7382              "description": "Error while updating backend states",
  7383              "schema": {
  7384                "$ref": "#/definitions/Error"
  7385              },
  7386              "x-go-name": "UpdateBackendFailure"
  7387            }
  7388          }
  7389        },
  7390        "delete": {
  7391          "tags": [
  7392            "service"
  7393          ],
  7394          "summary": "Delete a service",
  7395          "parameters": [
  7396            {
  7397              "type": "integer",
  7398              "description": "ID of service",
  7399              "name": "id",
  7400              "in": "path",
  7401              "required": true
  7402            }
  7403          ],
  7404          "responses": {
  7405            "200": {
  7406              "description": "Success"
  7407            },
  7408            "403": {
  7409              "description": "Forbidden"
  7410            },
  7411            "404": {
  7412              "description": "Service not found"
  7413            },
  7414            "500": {
  7415              "description": "Service deletion failed",
  7416              "schema": {
  7417                "$ref": "#/definitions/Error"
  7418              },
  7419              "x-go-name": "Failure"
  7420            }
  7421          }
  7422        }
  7423      }
  7424    },
  7425    "definitions": {
  7426      "Address": {
  7427        "description": "IP address",
  7428        "type": "string"
  7429      },
  7430      "AddressPair": {
  7431        "description": "Addressing information of an endpoint",
  7432        "type": "object",
  7433        "properties": {
  7434          "ipv4": {
  7435            "description": "IPv4 address",
  7436            "type": "string"
  7437          },
  7438          "ipv4-expiration-uuid": {
  7439            "description": "UUID of IPv4 expiration timer",
  7440            "type": "string"
  7441          },
  7442          "ipv4-pool-name": {
  7443            "description": "IPAM pool from which this IPv4 address was allocated",
  7444            "type": "string"
  7445          },
  7446          "ipv6": {
  7447            "description": "IPv6 address",
  7448            "type": "string"
  7449          },
  7450          "ipv6-expiration-uuid": {
  7451            "description": "UUID of IPv6 expiration timer",
  7452            "type": "string"
  7453          },
  7454          "ipv6-pool-name": {
  7455            "description": "IPAM pool from which this IPv6 address was allocated",
  7456            "type": "string"
  7457          }
  7458        }
  7459      },
  7460      "AllocationMap": {
  7461        "description": "Map of allocated IPs\n",
  7462        "type": "object",
  7463        "additionalProperties": {
  7464          "type": "string"
  7465        }
  7466      },
  7467      "AttachMode": {
  7468        "description": "Core datapath attachment mode",
  7469        "type": "string",
  7470        "enum": [
  7471          "tc",
  7472          "tcx"
  7473        ]
  7474      },
  7475      "BPFMap": {
  7476        "description": "BPF map definition and content",
  7477        "type": "object",
  7478        "properties": {
  7479          "cache": {
  7480            "description": "Contents of cache",
  7481            "type": "array",
  7482            "items": {
  7483              "$ref": "#/definitions/BPFMapEntry"
  7484            }
  7485          },
  7486          "path": {
  7487            "description": "Path to BPF map",
  7488            "type": "string"
  7489          }
  7490        }
  7491      },
  7492      "BPFMapEntry": {
  7493        "description": "BPF map cache entry",
  7494        "type": "object",
  7495        "properties": {
  7496          "desired-action": {
  7497            "description": "Desired action to be performed",
  7498            "type": "string",
  7499            "enum": [
  7500              "ok",
  7501              "insert",
  7502              "delete"
  7503            ]
  7504          },
  7505          "key": {
  7506            "description": "Key of map entry",
  7507            "type": "string"
  7508          },
  7509          "last-error": {
  7510            "description": "Last error seen while performing desired action",
  7511            "type": "string"
  7512          },
  7513          "value": {
  7514            "description": "Value of map entry",
  7515            "type": "string"
  7516          }
  7517        }
  7518      },
  7519      "BPFMapList": {
  7520        "description": "List of BPF Maps",
  7521        "type": "object",
  7522        "properties": {
  7523          "maps": {
  7524            "description": "Array of open BPF map lists",
  7525            "type": "array",
  7526            "items": {
  7527              "$ref": "#/definitions/BPFMap"
  7528            }
  7529          }
  7530        }
  7531      },
  7532      "BPFMapProperties": {
  7533        "description": "BPF map properties",
  7534        "type": "object",
  7535        "properties": {
  7536          "name": {
  7537            "description": "Name of the BPF map",
  7538            "type": "string"
  7539          },
  7540          "size": {
  7541            "description": "Size of the BPF map",
  7542            "type": "integer"
  7543          }
  7544        }
  7545      },
  7546      "BPFMapStatus": {
  7547        "description": "BPF map status\n\n+k8s:deepcopy-gen=true\n",
  7548        "type": "object",
  7549        "properties": {
  7550          "dynamic-size-ratio": {
  7551            "description": "Ratio of total system memory to use for dynamic sizing of BPF maps",
  7552            "type": "number"
  7553          },
  7554          "maps": {
  7555            "description": "BPF maps",
  7556            "type": "array",
  7557            "items": {
  7558              "$ref": "#/definitions/BPFMapProperties"
  7559            }
  7560          }
  7561        }
  7562      },
  7563      "BackendAddress": {
  7564        "description": "Service backend address",
  7565        "type": "object",
  7566        "required": [
  7567          "ip"
  7568        ],
  7569        "properties": {
  7570          "ip": {
  7571            "description": "Layer 3 address",
  7572            "type": "string"
  7573          },
  7574          "nodeName": {
  7575            "description": "Optional name of the node on which this backend runs",
  7576            "type": "string"
  7577          },
  7578          "port": {
  7579            "description": "Layer 4 port number",
  7580            "type": "integer",
  7581            "format": "uint16"
  7582          },
  7583          "preferred": {
  7584            "description": "Indicator if this backend is preferred in the context of clustermesh service affinity. The value is set based\non related annotation of global service. Applicable for active state only.",
  7585            "type": "boolean"
  7586          },
  7587          "state": {
  7588            "description": "State of the backend for load-balancing service traffic",
  7589            "type": "string",
  7590            "enum": [
  7591              "active",
  7592              "terminating",
  7593              "quarantined",
  7594              "maintenance"
  7595            ]
  7596          },
  7597          "weight": {
  7598            "description": "Backend weight",
  7599            "type": "integer",
  7600            "format": "uint16",
  7601            "x-nullable": true
  7602          },
  7603          "zone": {
  7604            "description": "Optional name of the zone in which this backend runs",
  7605            "type": "string"
  7606          }
  7607        }
  7608      },
  7609      "BandwidthManager": {
  7610        "description": "Status of bandwidth manager\n\n+k8s:deepcopy-gen=true",
  7611        "type": "object",
  7612        "properties": {
  7613          "congestionControl": {
  7614            "type": "string",
  7615            "enum": [
  7616              "cubic",
  7617              "bbr"
  7618            ]
  7619          },
  7620          "devices": {
  7621            "type": "array",
  7622            "items": {
  7623              "type": "string"
  7624            }
  7625          },
  7626          "enabled": {
  7627            "description": "Is bandwidth manager enabled",
  7628            "type": "boolean"
  7629          }
  7630        }
  7631      },
  7632      "BgpFamily": {
  7633        "description": "Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path",
  7634        "properties": {
  7635          "afi": {
  7636            "description": "Address Family Indicator (AFI) of the path",
  7637            "type": "string"
  7638          },
  7639          "safi": {
  7640            "description": "Subsequent Address Family Indicator (SAFI) of the path",
  7641            "type": "string"
  7642          }
  7643        }
  7644      },
  7645      "BgpGracefulRestart": {
  7646        "description": "BGP graceful restart parameters negotiated with the peer.\n\n+k8s:deepcopy-gen=true",
  7647        "properties": {
  7648          "enabled": {
  7649            "description": "When set, graceful restart capability is negotiated for all AFI/SAFIs of\nthis peer.",
  7650            "type": "boolean"
  7651          },
  7652          "restart-time-seconds": {
  7653            "description": "This is the time advertised to peer for the BGP session to be re-established\nafter a restart. After this period, peer will remove stale routes.\n(RFC 4724 section 4.2)",
  7654            "type": "integer"
  7655          }
  7656        }
  7657      },
  7658      "BgpNlri": {
  7659        "description": "Network Layer Reachability Information (NLRI) of the path",
  7660        "properties": {
  7661          "base64": {
  7662            "description": "Base64-encoded NLRI in the BGP UPDATE message format",
  7663            "type": "string"
  7664          }
  7665        }
  7666      },
  7667      "BgpPath": {
  7668        "description": "Single BGP routing Path containing BGP Network Layer Reachability Information (NLRI) and path attributes",
  7669        "properties": {
  7670          "age-nanoseconds": {
  7671            "description": "Age of the path (time since its creation) in nanoseconds",
  7672            "type": "integer"
  7673          },
  7674          "best": {
  7675            "description": "True value flags the best path towards the destination prefix",
  7676            "type": "boolean"
  7677          },
  7678          "family": {
  7679            "description": "Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path",
  7680            "$ref": "#/definitions/BgpFamily"
  7681          },
  7682          "nlri": {
  7683            "description": "Network Layer Reachability Information of the path",
  7684            "$ref": "#/definitions/BgpNlri"
  7685          },
  7686          "path-attributes": {
  7687            "description": "List of BGP path attributes specific for the path",
  7688            "type": "array",
  7689            "items": {
  7690              "$ref": "#/definitions/BgpPathAttribute"
  7691            }
  7692          },
  7693          "stale": {
  7694            "description": "True value marks the path as stale",
  7695            "type": "boolean"
  7696          }
  7697        }
  7698      },
  7699      "BgpPathAttribute": {
  7700        "description": "Single BGP path attribute specific for the path",
  7701        "properties": {
  7702          "base64": {
  7703            "description": "Base64-encoded BGP path attribute in the BGP UPDATE message format",
  7704            "type": "string"
  7705          }
  7706        }
  7707      },
  7708      "BgpPeer": {
  7709        "description": "State of a BGP Peer\n\n+k8s:deepcopy-gen=true",
  7710        "properties": {
  7711          "applied-hold-time-seconds": {
  7712            "description": "Applied initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds.\nThe applied value holds the value that is in effect on the current BGP session.\n",
  7713            "type": "integer"
  7714          },
  7715          "applied-keep-alive-time-seconds": {
  7716            "description": "Applied initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds.\nThe applied value holds the value that is in effect on the current BGP session.\n",
  7717            "type": "integer"
  7718          },
  7719          "configured-hold-time-seconds": {
  7720            "description": "Configured initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds.\nThe configured value will be used for negotiation with the peer during the BGP session establishment.\n",
  7721            "type": "integer"
  7722          },
  7723          "configured-keep-alive-time-seconds": {
  7724            "description": "Configured initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds.\nThe applied value may be different than the configured value, as it depends on the negotiated hold time interval.\n",
  7725            "type": "integer"
  7726          },
  7727          "connect-retry-time-seconds": {
  7728            "description": "Initial value for the BGP ConnectRetryTimer (RFC 4271, Section 8) in seconds",
  7729            "type": "integer"
  7730          },
  7731          "ebgp-multihop-ttl": {
  7732            "description": "Time To Live (TTL) value used in BGP packets sent to the eBGP neighbor.\n1 implies that eBGP multi-hop feature is disabled (only a single hop is allowed).\n",
  7733            "type": "integer"
  7734          },
  7735          "families": {
  7736            "description": "BGP peer address family state",
  7737            "type": "array",
  7738            "items": {
  7739              "$ref": "#/definitions/BgpPeerFamilies"
  7740            }
  7741          },
  7742          "graceful-restart": {
  7743            "description": "Graceful restart capability",
  7744            "$ref": "#/definitions/BgpGracefulRestart"
  7745          },
  7746          "local-asn": {
  7747            "description": "Local AS Number",
  7748            "type": "integer"
  7749          },
  7750          "peer-address": {
  7751            "description": "IP Address of peer",
  7752            "type": "string"
  7753          },
  7754          "peer-asn": {
  7755            "description": "Peer AS Number",
  7756            "type": "integer"
  7757          },
  7758          "peer-port": {
  7759            "description": "TCP port number of peer",
  7760            "type": "integer",
  7761            "maximum": 65535,
  7762            "minimum": 1
  7763          },
  7764          "session-state": {
  7765            "description": "BGP peer operational state as described here\nhttps://www.rfc-editor.org/rfc/rfc4271#section-8.2.2\n",
  7766            "type": "string"
  7767          },
  7768          "tcp-password-enabled": {
  7769            "description": "Set when a TCP password is configured for communications with this peer",
  7770            "type": "boolean"
  7771          },
  7772          "uptime-nanoseconds": {
  7773            "description": "BGP peer connection uptime in nano seconds.",
  7774            "type": "integer"
  7775          }
  7776        }
  7777      },
  7778      "BgpPeerFamilies": {
  7779        "description": "BGP AFI SAFI state of the peer\n\n+k8s:deepcopy-gen=true",
  7780        "properties": {
  7781          "accepted": {
  7782            "description": "Number of routes accepted from the peer of this address family",
  7783            "type": "integer"
  7784          },
  7785          "advertised": {
  7786            "description": "Number of routes advertised of this address family to the peer",
  7787            "type": "integer"
  7788          },
  7789          "afi": {
  7790            "description": "BGP address family indicator",
  7791            "type": "string"
  7792          },
  7793          "received": {
  7794            "description": "Number of routes received from the peer of this address family",
  7795            "type": "integer"
  7796          },
  7797          "safi": {
  7798            "description": "BGP subsequent address family indicator",
  7799            "type": "string"
  7800          }
  7801        }
  7802      },
  7803      "BgpRoute": {
  7804        "description": "Single BGP route retrieved from the RIB of underlying router",
  7805        "properties": {
  7806          "neighbor": {
  7807            "description": "IP address specifying a BGP neighbor if the source table type is adj-rib-in or adj-rib-out",
  7808            "type": "string"
  7809          },
  7810          "paths": {
  7811            "description": "List of routing paths leading towards the prefix",
  7812            "type": "array",
  7813            "items": {
  7814              "$ref": "#/definitions/BgpPath"
  7815            }
  7816          },
  7817          "prefix": {
  7818            "description": "IP prefix of the route",
  7819            "type": "string"
  7820          },
  7821          "router-asn": {
  7822            "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance",
  7823            "type": "integer"
  7824          }
  7825        }
  7826      },
  7827      "BgpRoutePolicy": {
  7828        "description": "Single BGP route policy retrieved from the underlying router",
  7829        "properties": {
  7830          "name": {
  7831            "description": "Name of the route policy",
  7832            "type": "string"
  7833          },
  7834          "router-asn": {
  7835            "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance",
  7836            "type": "integer"
  7837          },
  7838          "statements": {
  7839            "description": "List of the route policy statements",
  7840            "type": "array",
  7841            "items": {
  7842              "$ref": "#/definitions/BgpRoutePolicyStatement"
  7843            }
  7844          },
  7845          "type": {
  7846            "description": "Type of the route policy",
  7847            "type": "string",
  7848            "enum": [
  7849              "export",
  7850              "import"
  7851            ]
  7852          }
  7853        }
  7854      },
  7855      "BgpRoutePolicyPrefixMatch": {
  7856        "description": "Matches a CIDR prefix in a BGP route policy",
  7857        "properties": {
  7858          "cidr": {
  7859            "description": "CIDR prefix to match with",
  7860            "type": "string"
  7861          },
  7862          "prefix-len-max": {
  7863            "description": "Maximal prefix length that will match if it falls under CIDR",
  7864            "type": "integer"
  7865          },
  7866          "prefix-len-min": {
  7867            "description": "Minimal prefix length that will match if it falls under CIDR",
  7868            "type": "integer"
  7869          }
  7870        }
  7871      },
  7872      "BgpRoutePolicyStatement": {
  7873        "description": "Single BGP route policy statement",
  7874        "properties": {
  7875          "add-communities": {
  7876            "description": "List of BGP standard community values to be added to the matched route",
  7877            "type": "array",
  7878            "items": {
  7879              "type": "string"
  7880            }
  7881          },
  7882          "add-large-communities": {
  7883            "description": "List of BGP large community values to be added to the matched route",
  7884            "type": "array",
  7885            "items": {
  7886              "type": "string"
  7887            }
  7888          },
  7889          "match-neighbors": {
  7890            "description": "Matches any of the provided BGP neighbor IP addresses. If empty matches all neighbors.",
  7891            "type": "array",
  7892            "items": {
  7893              "type": "string"
  7894            }
  7895          },
  7896          "match-prefixes": {
  7897            "description": "Matches any of the provided prefixes. If empty matches all prefixes.",
  7898            "type": "array",
  7899            "items": {
  7900              "$ref": "#/definitions/BgpRoutePolicyPrefixMatch"
  7901            }
  7902          },
  7903          "route-action": {
  7904            "description": "RIB processing action taken on the matched route",
  7905            "type": "string",
  7906            "enum": [
  7907              "none",
  7908              "accept",
  7909              "reject"
  7910            ]
  7911          },
  7912          "set-local-preference": {
  7913            "description": "BGP local preference value to be set on the matched route",
  7914            "type": "integer"
  7915          }
  7916        }
  7917      },
  7918      "CIDRList": {
  7919        "description": "List of CIDRs",
  7920        "type": "object",
  7921        "properties": {
  7922          "list": {
  7923            "type": "array",
  7924            "items": {
  7925              "type": "string"
  7926            }
  7927          },
  7928          "revision": {
  7929            "type": "integer"
  7930          }
  7931        }
  7932      },
  7933      "CIDRPolicy": {
  7934        "description": "CIDR endpoint policy\n\n+k8s:deepcopy-gen=true",
  7935        "type": "object",
  7936        "properties": {
  7937          "egress": {
  7938            "description": "List of CIDR egress rules",
  7939            "type": "array",
  7940            "items": {
  7941              "$ref": "#/definitions/PolicyRule"
  7942            }
  7943          },
  7944          "ingress": {
  7945            "description": "List of CIDR ingress rules",
  7946            "type": "array",
  7947            "items": {
  7948              "$ref": "#/definitions/PolicyRule"
  7949            }
  7950          }
  7951        }
  7952      },
  7953      "CNIChainingStatus": {
  7954        "description": "Status of CNI chaining\n\n+k8s:deepcopy-gen=true",
  7955        "properties": {
  7956          "mode": {
  7957            "type": "string",
  7958            "enum": [
  7959              "none",
  7960              "aws-cni",
  7961              "flannel",
  7962              "generic-veth",
  7963              "portmap"
  7964            ]
  7965          }
  7966        }
  7967      },
  7968      "CgroupContainerMetadata": {
  7969        "description": "cgroup container metadata",
  7970        "type": "object",
  7971        "properties": {
  7972          "cgroup-id": {
  7973            "type": "integer",
  7974            "format": "uint64"
  7975          },
  7976          "cgroup-path": {
  7977            "type": "string"
  7978          }
  7979        }
  7980      },
  7981      "CgroupDumpMetadata": {
  7982        "description": "cgroup full metadata",
  7983        "type": "object",
  7984        "properties": {
  7985          "pod-metadatas": {
  7986            "type": "array",
  7987            "items": {
  7988              "$ref": "#/definitions/CgroupPodMetadata"
  7989            }
  7990          }
  7991        }
  7992      },
  7993      "CgroupPodMetadata": {
  7994        "description": "cgroup pod metadata",
  7995        "type": "object",
  7996        "properties": {
  7997          "containers": {
  7998            "type": "array",
  7999            "items": {
  8000              "$ref": "#/definitions/CgroupContainerMetadata"
  8001            }
  8002          },
  8003          "ips": {
  8004            "type": "array",
  8005            "items": {
  8006              "type": "string"
  8007            }
  8008          },
  8009          "name": {
  8010            "type": "string"
  8011          },
  8012          "namespace": {
  8013            "type": "string"
  8014          }
  8015        }
  8016      },
  8017      "ClockSource": {
  8018        "description": "Status of BPF clock source\n\n+k8s:deepcopy-gen=true",
  8019        "type": "object",
  8020        "properties": {
  8021          "hertz": {
  8022            "description": "Kernel Hz",
  8023            "type": "integer"
  8024          },
  8025          "mode": {
  8026            "description": "Datapath clock source",
  8027            "type": "string",
  8028            "enum": [
  8029              "ktime",
  8030              "jiffies"
  8031            ]
  8032          }
  8033        }
  8034      },
  8035      "ClusterMeshStatus": {
  8036        "description": "Status of ClusterMesh\n\n+k8s:deepcopy-gen=true",
  8037        "properties": {
  8038          "clusters": {
  8039            "description": "List of remote clusters",
  8040            "type": "array",
  8041            "items": {
  8042              "$ref": "#/definitions/RemoteCluster"
  8043            }
  8044          },
  8045          "num-global-services": {
  8046            "description": "Number of global services",
  8047            "type": "integer"
  8048          }
  8049        }
  8050      },
  8051      "ClusterNodeStatus": {
  8052        "description": "Status of cluster",
  8053        "properties": {
  8054          "client-id": {
  8055            "description": "ID that should be used by the client to receive a diff from the previous request",
  8056            "type": "integer"
  8057          },
  8058          "nodes-added": {
  8059            "description": "List of known nodes",
  8060            "type": "array",
  8061            "items": {
  8062              "$ref": "#/definitions/NodeElement"
  8063            }
  8064          },
  8065          "nodes-removed": {
  8066            "description": "List of known nodes",
  8067            "type": "array",
  8068            "items": {
  8069              "$ref": "#/definitions/NodeElement"
  8070            }
  8071          },
  8072          "self": {
  8073            "description": "Name of local node (if available)",
  8074            "type": "string"
  8075          }
  8076        }
  8077      },
  8078      "ClusterNodesResponse": {
  8079        "properties": {
  8080          "nodes": {
  8081            "description": "List of known nodes",
  8082            "type": "array",
  8083            "items": {
  8084              "$ref": "#/definitions/NodeElement"
  8085            }
  8086          },
  8087          "self": {
  8088            "description": "Name of local node (if available)",
  8089            "type": "string"
  8090          }
  8091        }
  8092      },
  8093      "ClusterStatus": {
  8094        "description": "Status of cluster\n\n+k8s:deepcopy-gen=true",
  8095        "properties": {
  8096          "ciliumHealth": {
  8097            "description": "Status of local cilium-health daemon",
  8098            "$ref": "#/definitions/Status"
  8099          },
  8100          "nodes": {
  8101            "description": "List of known nodes",
  8102            "type": "array",
  8103            "items": {
  8104              "$ref": "#/definitions/NodeElement"
  8105            }
  8106          },
  8107          "self": {
  8108            "description": "Name of local node (if available)",
  8109            "type": "string"
  8110          }
  8111        }
  8112      },
  8113      "ConfigurationMap": {
  8114        "description": "Map of configuration key/value pairs.\n",
  8115        "type": "object",
  8116        "additionalProperties": {
  8117          "type": "string"
  8118        }
  8119      },
  8120      "ControllerStatus": {
  8121        "description": "Status of a controller\n\n+k8s:deepcopy-gen=true",
  8122        "type": "object",
  8123        "properties": {
  8124          "configuration": {
  8125            "description": "Configuration of controller\n\n+deepequal-gen=true\n+k8s:deepcopy-gen=true",
  8126            "type": "object",
  8127            "properties": {
  8128              "error-retry": {
  8129                "description": "Retry on error",
  8130                "type": "boolean"
  8131              },
  8132              "error-retry-base": {
  8133                "description": "Base error retry back-off time",
  8134                "type": "string",
  8135                "format": "duration"
  8136              },
  8137              "interval": {
  8138                "description": "Regular synchronization interval",
  8139                "type": "string",
  8140                "format": "duration"
  8141              }
  8142            }
  8143          },
  8144          "name": {
  8145            "description": "Name of controller",
  8146            "type": "string"
  8147          },
  8148          "status": {
  8149            "description": "Current status of controller\n\n+k8s:deepcopy-gen=true",
  8150            "type": "object",
  8151            "properties": {
  8152              "consecutive-failure-count": {
  8153                "description": "Number of consecutive errors since last success",
  8154                "type": "integer"
  8155              },
  8156              "failure-count": {
  8157                "description": "Total number of failed runs",
  8158                "type": "integer"
  8159              },
  8160              "last-failure-msg": {
  8161                "description": "Error message of last failed run",
  8162                "type": "string"
  8163              },
  8164              "last-failure-timestamp": {
  8165                "description": "Timestamp of last error",
  8166                "type": "string",
  8167                "format": "date-time"
  8168              },
  8169              "last-success-timestamp": {
  8170                "description": "Timestamp of last success",
  8171                "type": "string",
  8172                "format": "date-time"
  8173              },
  8174              "success-count": {
  8175                "description": "Total number of successful runs",
  8176                "type": "integer"
  8177              }
  8178            }
  8179          },
  8180          "uuid": {
  8181            "description": "UUID of controller",
  8182            "type": "string",
  8183            "format": "uuid"
  8184          }
  8185        }
  8186      },
  8187      "ControllerStatusConfiguration": {
  8188        "description": "Configuration of controller\n\n+deepequal-gen=true\n+k8s:deepcopy-gen=true",
  8189        "type": "object",
  8190        "properties": {
  8191          "error-retry": {
  8192            "description": "Retry on error",
  8193            "type": "boolean"
  8194          },
  8195          "error-retry-base": {
  8196            "description": "Base error retry back-off time",
  8197            "type": "string",
  8198            "format": "duration"
  8199          },
  8200          "interval": {
  8201            "description": "Regular synchronization interval",
  8202            "type": "string",
  8203            "format": "duration"
  8204          }
  8205        }
  8206      },
  8207      "ControllerStatusStatus": {
  8208        "description": "Current status of controller\n\n+k8s:deepcopy-gen=true",
  8209        "type": "object",
  8210        "properties": {
  8211          "consecutive-failure-count": {
  8212            "description": "Number of consecutive errors since last success",
  8213            "type": "integer"
  8214          },
  8215          "failure-count": {
  8216            "description": "Total number of failed runs",
  8217            "type": "integer"
  8218          },
  8219          "last-failure-msg": {
  8220            "description": "Error message of last failed run",
  8221            "type": "string"
  8222          },
  8223          "last-failure-timestamp": {
  8224            "description": "Timestamp of last error",
  8225            "type": "string",
  8226            "format": "date-time"
  8227          },
  8228          "last-success-timestamp": {
  8229            "description": "Timestamp of last success",
  8230            "type": "string",
  8231            "format": "date-time"
  8232          },
  8233          "success-count": {
  8234            "description": "Total number of successful runs",
  8235            "type": "integer"
  8236          }
  8237        }
  8238      },
  8239      "ControllerStatuses": {
  8240        "description": "Collection of controller statuses",
  8241        "type": "array",
  8242        "items": {
  8243          "$ref": "#/definitions/ControllerStatus"
  8244        }
  8245      },
  8246      "DNSLookup": {
  8247        "description": "An IP -\u003e DNS mapping, with metadata",
  8248        "type": "object",
  8249        "properties": {
  8250          "endpoint-id": {
  8251            "description": "The endpoint that made this lookup, or 0 for the agent itself.",
  8252            "type": "integer"
  8253          },
  8254          "expiration-time": {
  8255            "description": "The absolute time when this data will expire in this cache",
  8256            "type": "string",
  8257            "format": "date-time"
  8258          },
  8259          "fqdn": {
  8260            "description": "DNS name",
  8261            "type": "string"
  8262          },
  8263          "ips": {
  8264            "description": "IP addresses returned in this lookup",
  8265            "type": "array",
  8266            "items": {
  8267              "type": "string"
  8268            }
  8269          },
  8270          "lookup-time": {
  8271            "description": "The absolute time when this data was received",
  8272            "type": "string",
  8273            "format": "date-time"
  8274          },
  8275          "source": {
  8276            "description": "The reason this FQDN IP association exists. Either a DNS lookup or an ongoing connection to an IP that was created by a DNS lookup.",
  8277            "type": "string"
  8278          },
  8279          "ttl": {
  8280            "description": "The TTL in the DNS response",
  8281            "type": "integer"
  8282          }
  8283        }
  8284      },
  8285      "DaemonConfiguration": {
  8286        "description": "Response to a daemon configuration request.\n",
  8287        "type": "object",
  8288        "properties": {
  8289          "spec": {
  8290            "description": "Changeable configuration",
  8291            "$ref": "#/definitions/DaemonConfigurationSpec"
  8292          },
  8293          "status": {
  8294            "description": "Current daemon configuration related status.Contains the addressing\ninformation, k8s, node monitor and immutable and mutable\nconfiguration settings.\n",
  8295            "$ref": "#/definitions/DaemonConfigurationStatus"
  8296          }
  8297        }
  8298      },
  8299      "DaemonConfigurationSpec": {
  8300        "description": "The controllable configuration of the daemon.",
  8301        "type": "object",
  8302        "properties": {
  8303          "options": {
  8304            "description": "Changeable configuration",
  8305            "$ref": "#/definitions/ConfigurationMap"
  8306          },
  8307          "policy-enforcement": {
  8308            "description": "The policy-enforcement mode",
  8309            "type": "string",
  8310            "enum": [
  8311              "default",
  8312              "always",
  8313              "never"
  8314            ]
  8315          }
  8316        }
  8317      },
  8318      "DaemonConfigurationStatus": {
  8319        "description": "Response to a daemon configuration request. Contains the addressing\ninformation, k8s, node monitor and immutable and mutable configuration\nsettings.\n",
  8320        "type": "object",
  8321        "properties": {
  8322          "GROIPv4MaxSize": {
  8323            "description": "Maximum IPv4 GRO size on workload facing devices",
  8324            "type": "integer"
  8325          },
  8326          "GROMaxSize": {
  8327            "description": "Maximum IPv6 GRO size on workload facing devices",
  8328            "type": "integer"
  8329          },
  8330          "GSOIPv4MaxSize": {
  8331            "description": "Maximum IPv4 GSO size on workload facing devices",
  8332            "type": "integer"
  8333          },
  8334          "GSOMaxSize": {
  8335            "description": "Maximum IPv6 GSO size on workload facing devices",
  8336            "type": "integer"
  8337          },
  8338          "addressing": {
  8339            "$ref": "#/definitions/NodeAddressing"
  8340          },
  8341          "daemonConfigurationMap": {
  8342            "description": "Config map which contains all the active daemon configurations",
  8343            "additionalProperties": {
  8344              "type": "object"
  8345            }
  8346          },
  8347          "datapathMode": {
  8348            "$ref": "#/definitions/DatapathMode"
  8349          },
  8350          "deviceMTU": {
  8351            "description": "MTU on workload facing devices",
  8352            "type": "integer"
  8353          },
  8354          "egress-multi-home-ip-rule-compat": {
  8355            "description": "Configured compatibility mode for --egress-multi-home-ip-rule-compat",
  8356            "type": "boolean"
  8357          },
  8358          "enableRouteMTUForCNIChaining": {
  8359            "description": "Enable route MTU for pod netns when CNI chaining is used",
  8360            "type": "boolean"
  8361          },
  8362          "immutable": {
  8363            "description": "Immutable configuration (read-only)",
  8364            "$ref": "#/definitions/ConfigurationMap"
  8365          },
  8366          "ipLocalReservedPorts": {
  8367            "description": "Comma-separated list of IP ports should be reserved in the workload network namespace",
  8368            "type": "string"
  8369          },
  8370          "ipam-mode": {
  8371            "description": "Configured IPAM mode",
  8372            "type": "string"
  8373          },
  8374          "k8s-configuration": {
  8375            "type": "string"
  8376          },
  8377          "k8s-endpoint": {
  8378            "type": "string"
  8379          },
  8380          "kvstoreConfiguration": {
  8381            "$ref": "#/definitions/KVstoreConfiguration"
  8382          },
  8383          "masquerade": {
  8384            "type": "boolean"
  8385          },
  8386          "masqueradeProtocols": {
  8387            "description": "Status of masquerading feature",
  8388            "type": "object",
  8389            "properties": {
  8390              "ipv4": {
  8391                "description": "Status of masquerading for IPv4 traffic",
  8392                "type": "boolean"
  8393              },
  8394              "ipv6": {
  8395                "description": "Status of masquerading for IPv6 traffic",
  8396                "type": "boolean"
  8397              }
  8398            }
  8399          },
  8400          "nodeMonitor": {
  8401            "description": "Status of the node monitor",
  8402            "$ref": "#/definitions/MonitorStatus"
  8403          },
  8404          "realized": {
  8405            "description": "Currently applied configuration",
  8406            "$ref": "#/definitions/DaemonConfigurationSpec"
  8407          },
  8408          "routeMTU": {
  8409            "description": "MTU for network facing routes",
  8410            "type": "integer"
  8411          }
  8412        }
  8413      },
  8414      "DaemonConfigurationStatusMasqueradeProtocols": {
  8415        "description": "Status of masquerading feature",
  8416        "type": "object",
  8417        "properties": {
  8418          "ipv4": {
  8419            "description": "Status of masquerading for IPv4 traffic",
  8420            "type": "boolean"
  8421          },
  8422          "ipv6": {
  8423            "description": "Status of masquerading for IPv6 traffic",
  8424            "type": "boolean"
  8425          }
  8426        }
  8427      },
  8428      "DatapathMode": {
  8429        "description": "Datapath mode",
  8430        "type": "string",
  8431        "enum": [
  8432          "veth",
  8433          "netkit",
  8434          "netkit-l2"
  8435        ]
  8436      },
  8437      "DebugInfo": {
  8438        "description": "groups some debugging related information on the agent",
  8439        "type": "object",
  8440        "properties": {
  8441          "cilium-memory-map": {
  8442            "type": "string"
  8443          },
  8444          "cilium-nodemonitor-memory-map": {
  8445            "type": "string"
  8446          },
  8447          "cilium-status": {
  8448            "$ref": "#/definitions/StatusResponse"
  8449          },
  8450          "cilium-version": {
  8451            "type": "string"
  8452          },
  8453          "encryption": {
  8454            "type": "object",
  8455            "properties": {
  8456              "wireguard": {
  8457                "description": "Status of the WireGuard agent",
  8458                "$ref": "#/definitions/WireguardStatus"
  8459              }
  8460            }
  8461          },
  8462          "endpoint-list": {
  8463            "type": "array",
  8464            "items": {
  8465              "$ref": "#/definitions/Endpoint"
  8466            }
  8467          },
  8468          "environment-variables": {
  8469            "type": "array",
  8470            "items": {
  8471              "type": "string"
  8472            }
  8473          },
  8474          "kernel-version": {
  8475            "type": "string"
  8476          },
  8477          "policy": {
  8478            "$ref": "#/definitions/Policy"
  8479          },
  8480          "service-list": {
  8481            "type": "array",
  8482            "items": {
  8483              "$ref": "#/definitions/Service"
  8484            }
  8485          },
  8486          "subsystem": {
  8487            "type": "object",
  8488            "additionalProperties": {
  8489              "type": "string"
  8490            }
  8491          }
  8492        }
  8493      },
  8494      "DebugInfoEncryption": {
  8495        "type": "object",
  8496        "properties": {
  8497          "wireguard": {
  8498            "description": "Status of the WireGuard agent",
  8499            "$ref": "#/definitions/WireguardStatus"
  8500          }
  8501        }
  8502      },
  8503      "EncryptionStatus": {
  8504        "description": "Status of transparent encryption\n\n+k8s:deepcopy-gen=true",
  8505        "properties": {
  8506          "ipsec": {
  8507            "description": "Status of the IPsec agent",
  8508            "$ref": "#/definitions/IPsecStatus"
  8509          },
  8510          "mode": {
  8511            "type": "string",
  8512            "enum": [
  8513              "Disabled",
  8514              "IPsec",
  8515              "Wireguard"
  8516            ]
  8517          },
  8518          "msg": {
  8519            "description": "Human readable error/warning message",
  8520            "type": "string"
  8521          },
  8522          "wireguard": {
  8523            "description": "Status of the WireGuard agent",
  8524            "$ref": "#/definitions/WireguardStatus"
  8525          }
  8526        }
  8527      },
  8528      "Endpoint": {
  8529        "description": "An endpoint is a namespaced network interface to which cilium applies policies",
  8530        "type": "object",
  8531        "properties": {
  8532          "id": {
  8533            "description": "The cilium-agent-local ID of the endpoint",
  8534            "type": "integer"
  8535          },
  8536          "spec": {
  8537            "description": "The desired configuration state of the endpoint",
  8538            "$ref": "#/definitions/EndpointConfigurationSpec"
  8539          },
  8540          "status": {
  8541            "description": "The desired and realized configuration state of the endpoint",
  8542            "$ref": "#/definitions/EndpointStatus"
  8543          }
  8544        }
  8545      },
  8546      "EndpointBatchDeleteRequest": {
  8547        "description": "Properties selecting a batch of endpoints to delete.\n",
  8548        "type": "object",
  8549        "properties": {
  8550          "container-id": {
  8551            "description": "ID assigned by container runtime",
  8552            "type": "string"
  8553          }
  8554        }
  8555      },
  8556      "EndpointChangeRequest": {
  8557        "description": "Structure which contains the mutable elements of an Endpoint.\n",
  8558        "type": "object",
  8559        "required": [
  8560          "state"
  8561        ],
  8562        "properties": {
  8563          "addressing": {
  8564            "$ref": "#/definitions/AddressPair"
  8565          },
  8566          "container-id": {
  8567            "description": "ID assigned by container runtime",
  8568            "type": "string"
  8569          },
  8570          "container-interface-name": {
  8571            "description": "Name of network device in container netns",
  8572            "type": "string"
  8573          },
  8574          "container-name": {
  8575            "description": "Name assigned to container",
  8576            "type": "string"
  8577          },
  8578          "datapath-configuration": {
  8579            "$ref": "#/definitions/EndpointDatapathConfiguration"
  8580          },
  8581          "datapath-map-id": {
  8582            "description": "ID of datapath tail call map",
  8583            "type": "integer"
  8584          },
  8585          "disable-legacy-identifiers": {
  8586            "description": "Disables lookup using legacy endpoint identifiers (container name, container id, pod name) for this endpoint",
  8587            "type": "boolean"
  8588          },
  8589          "docker-endpoint-id": {
  8590            "description": "Docker endpoint ID",
  8591            "type": "string"
  8592          },
  8593          "docker-network-id": {
  8594            "description": "Docker network ID",
  8595            "type": "string"
  8596          },
  8597          "host-mac": {
  8598            "description": "MAC address",
  8599            "type": "string"
  8600          },
  8601          "id": {
  8602            "description": "Local endpoint ID",
  8603            "type": "integer"
  8604          },
  8605          "interface-index": {
  8606            "description": "Index of network device in host netns",
  8607            "type": "integer"
  8608          },
  8609          "interface-name": {
  8610            "description": "Name of network device in host netns",
  8611            "type": "string"
  8612          },
  8613          "k8s-namespace": {
  8614            "description": "Kubernetes namespace name",
  8615            "type": "string"
  8616          },
  8617          "k8s-pod-name": {
  8618            "description": "Kubernetes pod name",
  8619            "type": "string"
  8620          },
  8621          "k8s-uid": {
  8622            "description": "Kubernetes pod UID",
  8623            "type": "string"
  8624          },
  8625          "labels": {
  8626            "description": "Labels describing the identity",
  8627            "$ref": "#/definitions/Labels"
  8628          },
  8629          "mac": {
  8630            "description": "MAC address",
  8631            "type": "string"
  8632          },
  8633          "netns-cookie": {
  8634            "description": "Network namespace cookie",
  8635            "type": "string"
  8636          },
  8637          "pid": {
  8638            "description": "Process ID of the workload belonging to this endpoint",
  8639            "type": "integer"
  8640          },
  8641          "policy-enabled": {
  8642            "description": "Whether policy enforcement is enabled or not",
  8643            "type": "boolean"
  8644          },
  8645          "properties": {
  8646            "description": "Properties is used to store information about the endpoint at creation. Useful for tests.",
  8647            "additionalProperties": {
  8648              "type": "object"
  8649            }
  8650          },
  8651          "state": {
  8652            "description": "Current state of endpoint",
  8653            "$ref": "#/definitions/EndpointState"
  8654          },
  8655          "sync-build-endpoint": {
  8656            "description": "Whether to build an endpoint synchronously\n",
  8657            "type": "boolean"
  8658          }
  8659        }
  8660      },
  8661      "EndpointConfigurationSpec": {
  8662        "description": "An endpoint's configuration",
  8663        "type": "object",
  8664        "properties": {
  8665          "label-configuration": {
  8666            "description": "the endpoint's labels",
  8667            "$ref": "#/definitions/LabelConfigurationSpec"
  8668          },
  8669          "options": {
  8670            "description": "Changeable configuration",
  8671            "$ref": "#/definitions/ConfigurationMap"
  8672          }
  8673        }
  8674      },
  8675      "EndpointConfigurationStatus": {
  8676        "description": "An endpoint's configuration",
  8677        "type": "object",
  8678        "properties": {
  8679          "error": {
  8680            "description": "Most recent error, if applicable",
  8681            "$ref": "#/definitions/Error"
  8682          },
  8683          "immutable": {
  8684            "description": "Immutable configuration (read-only)",
  8685            "$ref": "#/definitions/ConfigurationMap"
  8686          },
  8687          "realized": {
  8688            "description": "currently applied changeable configuration",
  8689            "$ref": "#/definitions/EndpointConfigurationSpec"
  8690          }
  8691        }
  8692      },
  8693      "EndpointDatapathConfiguration": {
  8694        "description": "Datapath configuration to be used for the endpoint",
  8695        "type": "object",
  8696        "properties": {
  8697          "disable-sip-verification": {
  8698            "description": "Disable source IP verification for the endpoint.\n",
  8699            "type": "boolean"
  8700          },
  8701          "external-ipam": {
  8702            "description": "Indicates that IPAM is done external to Cilium. This will prevent the IP from being released and re-allocation of the IP address is skipped on restore.\n",
  8703            "type": "boolean"
  8704          },
  8705          "install-endpoint-route": {
  8706            "description": "Installs a route in the Linux routing table pointing to the device of the endpoint's interface.\n",
  8707            "type": "boolean"
  8708          },
  8709          "require-arp-passthrough": {
  8710            "description": "Enable ARP passthrough mode",
  8711            "type": "boolean"
  8712          },
  8713          "require-egress-prog": {
  8714            "description": "Endpoint requires a host-facing egress program to be attached to implement ingress policy and reverse NAT.\n",
  8715            "type": "boolean"
  8716          },
  8717          "require-routing": {
  8718            "description": "Endpoint requires BPF routing to be enabled, when disabled, routing is delegated to Linux routing.\n",
  8719            "type": "boolean",
  8720            "default": true
  8721          }
  8722        }
  8723      },
  8724      "EndpointHealth": {
  8725        "description": "Health of the endpoint\n\n+deepequal-gen=true",
  8726        "type": "object",
  8727        "properties": {
  8728          "bpf": {
  8729            "$ref": "#/definitions/EndpointHealthStatus"
  8730          },
  8731          "connected": {
  8732            "description": "Is this endpoint reachable",
  8733            "type": "boolean"
  8734          },
  8735          "overallHealth": {
  8736            "$ref": "#/definitions/EndpointHealthStatus"
  8737          },
  8738          "policy": {
  8739            "$ref": "#/definitions/EndpointHealthStatus"
  8740          }
  8741        }
  8742      },
  8743      "EndpointHealthStatus": {
  8744        "description": "A common set of statuses for endpoint health * ` + "`" + `` + "`" + `OK` + "`" + `` + "`" + ` = All components operational * ` + "`" + `` + "`" + `Bootstrap` + "`" + `` + "`" + ` = This component is being created * ` + "`" + `` + "`" + `Pending` + "`" + `` + "`" + ` = A change is being processed to be applied * ` + "`" + `` + "`" + `Warning` + "`" + `` + "`" + ` = This component is not applying up-to-date policies (but is still applying the previous version) * ` + "`" + `` + "`" + `Failure` + "`" + `` + "`" + ` = An error has occurred and no policy is being applied * ` + "`" + `` + "`" + `Disabled` + "`" + `` + "`" + ` = This endpoint is disabled and will not handle traffic\n",
  8745        "type": "string",
  8746        "enum": [
  8747          "OK",
  8748          "Bootstrap",
  8749          "Pending",
  8750          "Warning",
  8751          "Failure",
  8752          "Disabled"
  8753        ]
  8754      },
  8755      "EndpointIdentifiers": {
  8756        "description": "Unique identifiers for this endpoint from outside cilium\n\n+deepequal-gen=true",
  8757        "type": "object",
  8758        "properties": {
  8759          "cni-attachment-id": {
  8760            "description": "ID assigned to this attachment by container runtime",
  8761            "type": "string"
  8762          },
  8763          "container-id": {
  8764            "description": "ID assigned by container runtime (deprecated, may not be unique)",
  8765            "type": "string"
  8766          },
  8767          "container-name": {
  8768            "description": "Name assigned to container (deprecated, may not be unique)",
  8769            "type": "string"
  8770          },
  8771          "docker-endpoint-id": {
  8772            "description": "Docker endpoint ID",
  8773            "type": "string"
  8774          },
  8775          "docker-network-id": {
  8776            "description": "Docker network ID",
  8777            "type": "string"
  8778          },
  8779          "k8s-namespace": {
  8780            "description": "K8s namespace for this endpoint (deprecated, may not be unique)",
  8781            "type": "string"
  8782          },
  8783          "k8s-pod-name": {
  8784            "description": "K8s pod name for this endpoint (deprecated, may not be unique)",
  8785            "type": "string"
  8786          },
  8787          "pod-name": {
  8788            "description": "K8s pod for this endpoint (deprecated, may not be unique)",
  8789            "type": "string"
  8790          }
  8791        }
  8792      },
  8793      "EndpointNetworking": {
  8794        "description": "Unique identifiers for this endpoint from outside cilium",
  8795        "type": "object",
  8796        "properties": {
  8797          "addressing": {
  8798            "description": "IP4/6 addresses assigned to this Endpoint",
  8799            "type": "array",
  8800            "items": {
  8801              "$ref": "#/definitions/AddressPair"
  8802            }
  8803          },
  8804          "container-interface-name": {
  8805            "description": "Name of network device in container netns",
  8806            "type": "string"
  8807          },
  8808          "host-addressing": {
  8809            "$ref": "#/definitions/NodeAddressing"
  8810          },
  8811          "host-mac": {
  8812            "description": "MAC address",
  8813            "type": "string"
  8814          },
  8815          "interface-index": {
  8816            "description": "Index of network device in host netns",
  8817            "type": "integer"
  8818          },
  8819          "interface-name": {
  8820            "description": "Name of network device in host netns",
  8821            "type": "string"
  8822          },
  8823          "mac": {
  8824            "description": "MAC address",
  8825            "type": "string"
  8826          }
  8827        }
  8828      },
  8829      "EndpointPolicy": {
  8830        "description": "Policy information of an endpoint\n\n+k8s:deepcopy-gen=true",
  8831        "type": "object",
  8832        "properties": {
  8833          "allowed-egress-identities": {
  8834            "description": "List of identities to which this endpoint is allowed to communicate\n",
  8835            "type": "array",
  8836            "items": {
  8837              "type": "integer"
  8838            }
  8839          },
  8840          "allowed-ingress-identities": {
  8841            "description": "List of identities allowed to communicate to this endpoint\n",
  8842            "type": "array",
  8843            "items": {
  8844              "type": "integer"
  8845            }
  8846          },
  8847          "build": {
  8848            "description": "Build number of calculated policy in use",
  8849            "type": "integer"
  8850          },
  8851          "cidr-policy": {
  8852            "$ref": "#/definitions/CIDRPolicy"
  8853          },
  8854          "denied-egress-identities": {
  8855            "description": "List of identities to which this endpoint is not allowed to communicate\n",
  8856            "type": "array",
  8857            "items": {
  8858              "type": "integer"
  8859            }
  8860          },
  8861          "denied-ingress-identities": {
  8862            "description": "List of identities not allowed to communicate to this endpoint\n",
  8863            "type": "array",
  8864            "items": {
  8865              "type": "integer"
  8866            }
  8867          },
  8868          "id": {
  8869            "description": "Own identity of endpoint",
  8870            "type": "integer"
  8871          },
  8872          "l4": {
  8873            "$ref": "#/definitions/L4Policy"
  8874          },
  8875          "policy-enabled": {
  8876            "description": "Whether policy enforcement is enabled (ingress, egress, both or none)",
  8877            "$ref": "#/definitions/EndpointPolicyEnabled"
  8878          },
  8879          "policy-revision": {
  8880            "description": "The agent-local policy revision",
  8881            "type": "integer"
  8882          }
  8883        }
  8884      },
  8885      "EndpointPolicyEnabled": {
  8886        "description": "Whether policy enforcement is enabled (ingress, egress, both or none)",
  8887        "type": "string",
  8888        "enum": [
  8889          "none",
  8890          "ingress",
  8891          "egress",
  8892          "both",
  8893          "audit-ingress",
  8894          "audit-egress",
  8895          "audit-both"
  8896        ]
  8897      },
  8898      "EndpointPolicyStatus": {
  8899        "description": "Policy information of an endpoint",
  8900        "type": "object",
  8901        "properties": {
  8902          "proxy-policy-revision": {
  8903            "description": "The policy revision currently enforced in the proxy for this endpoint",
  8904            "type": "integer"
  8905          },
  8906          "proxy-statistics": {
  8907            "description": "Statistics of the proxy redirects configured for this endpoint",
  8908            "type": "array",
  8909            "items": {
  8910              "$ref": "#/definitions/ProxyStatistics"
  8911            }
  8912          },
  8913          "realized": {
  8914            "description": "The policy in the datapath for this endpoint",
  8915            "$ref": "#/definitions/EndpointPolicy"
  8916          },
  8917          "spec": {
  8918            "description": "The policy that should apply to this endpoint",
  8919            "$ref": "#/definitions/EndpointPolicy"
  8920          }
  8921        }
  8922      },
  8923      "EndpointState": {
  8924        "description": "State of endpoint",
  8925        "type": "string",
  8926        "enum": [
  8927          "waiting-for-identity",
  8928          "not-ready",
  8929          "waiting-to-regenerate",
  8930          "regenerating",
  8931          "restoring",
  8932          "ready",
  8933          "disconnecting",
  8934          "disconnected",
  8935          "invalid"
  8936        ]
  8937      },
  8938      "EndpointStatus": {
  8939        "description": "The current state and configuration of the endpoint, its policy \u0026 datapath, and subcomponents",
  8940        "type": "object",
  8941        "required": [
  8942          "state"
  8943        ],
  8944        "properties": {
  8945          "controllers": {
  8946            "description": "Status of internal controllers attached to this endpoint",
  8947            "$ref": "#/definitions/ControllerStatuses"
  8948          },
  8949          "external-identifiers": {
  8950            "description": "Unique identifiers for this endpoint from outside cilium",
  8951            "$ref": "#/definitions/EndpointIdentifiers"
  8952          },
  8953          "health": {
  8954            "description": "Summary overall endpoint \u0026 subcomponent health",
  8955            "$ref": "#/definitions/EndpointHealth"
  8956          },
  8957          "identity": {
  8958            "description": "The security identity for this endpoint",
  8959            "$ref": "#/definitions/Identity"
  8960          },
  8961          "labels": {
  8962            "description": "Labels applied to this endpoint",
  8963            "$ref": "#/definitions/LabelConfigurationStatus"
  8964          },
  8965          "log": {
  8966            "description": "Most recent status log. See endpoint/{id}/log for the complete log.",
  8967            "$ref": "#/definitions/EndpointStatusLog"
  8968          },
  8969          "namedPorts": {
  8970            "description": "List of named ports that can be used in Network Policy",
  8971            "$ref": "#/definitions/NamedPorts"
  8972          },
  8973          "networking": {
  8974            "description": "Networking properties of the endpoint",
  8975            "$ref": "#/definitions/EndpointNetworking"
  8976          },
  8977          "policy": {
  8978            "description": "The policy applied to this endpoint from the policy repository",
  8979            "$ref": "#/definitions/EndpointPolicyStatus"
  8980          },
  8981          "realized": {
  8982            "description": "The configuration in effect on this endpoint",
  8983            "$ref": "#/definitions/EndpointConfigurationSpec"
  8984          },
  8985          "state": {
  8986            "description": "Current state of endpoint",
  8987            "$ref": "#/definitions/EndpointState"
  8988          }
  8989        }
  8990      },
  8991      "EndpointStatusChange": {
  8992        "description": "Indication of a change of status\n\n+deepequal-gen=true",
  8993        "type": "object",
  8994        "properties": {
  8995          "code": {
  8996            "description": "Code indicate type of status change",
  8997            "type": "string",
  8998            "enum": [
  8999              "ok",
  9000              "failed"
  9001            ]
  9002          },
  9003          "message": {
  9004            "description": "Status message",
  9005            "type": "string"
  9006          },
  9007          "state": {
  9008            "$ref": "#/definitions/EndpointState"
  9009          },
  9010          "timestamp": {
  9011            "description": "Timestamp when status change occurred",
  9012            "type": "string"
  9013          }
  9014        }
  9015      },
  9016      "EndpointStatusLog": {
  9017        "description": "Status log of endpoint",
  9018        "type": "array",
  9019        "items": {
  9020          "$ref": "#/definitions/EndpointStatusChange"
  9021        }
  9022      },
  9023      "Error": {
  9024        "type": "string"
  9025      },
  9026      "FrontendAddress": {
  9027        "description": "Layer 4 address. The protocol is currently ignored, all services will\nbehave as if protocol any is specified. To restrict to a particular\nprotocol, use policy.\n",
  9028        "type": "object",
  9029        "properties": {
  9030          "ip": {
  9031            "description": "Layer 3 address",
  9032            "type": "string"
  9033          },
  9034          "port": {
  9035            "description": "Layer 4 port number",
  9036            "type": "integer",
  9037            "format": "uint16"
  9038          },
  9039          "protocol": {
  9040            "description": "Layer 4 protocol",
  9041            "type": "string",
  9042            "enum": [
  9043              "tcp",
  9044              "udp",
  9045              "any"
  9046            ]
  9047          },
  9048          "scope": {
  9049            "description": "Load balancing scope for frontend address",
  9050            "type": "string",
  9051            "enum": [
  9052              "external",
  9053              "internal"
  9054            ]
  9055          }
  9056        }
  9057      },
  9058      "FrontendMapping": {
  9059        "description": "Mapping of frontend to backend pods of an LRP",
  9060        "type": "object",
  9061        "properties": {
  9062          "backends": {
  9063            "description": "Pod backends of an LRP",
  9064            "type": "array",
  9065            "items": {
  9066              "$ref": "#/definitions/LRPBackend"
  9067            }
  9068          },
  9069          "frontend-address": {
  9070            "$ref": "#/definitions/FrontendAddress"
  9071          }
  9072        }
  9073      },
  9074      "HostFirewall": {
  9075        "description": "Status of the host firewall\n\n+k8s:deepcopy-gen=true",
  9076        "type": "object",
  9077        "properties": {
  9078          "devices": {
  9079            "type": "array",
  9080            "items": {
  9081              "type": "string"
  9082            }
  9083          },
  9084          "mode": {
  9085            "type": "string",
  9086            "enum": [
  9087              "Disabled",
  9088              "Enabled"
  9089            ]
  9090          }
  9091        }
  9092      },
  9093      "HubbleStatus": {
  9094        "description": "Status of the Hubble server\n\n+k8s:deepcopy-gen=true",
  9095        "type": "object",
  9096        "properties": {
  9097          "metrics": {
  9098            "description": "Status of the Hubble metrics server",
  9099            "type": "object",
  9100            "properties": {
  9101              "state": {
  9102                "description": "State of the Hubble metrics",
  9103                "type": "string",
  9104                "enum": [
  9105                  "Ok",
  9106                  "Warning",
  9107                  "Failure",
  9108                  "Disabled"
  9109                ]
  9110              }
  9111            }
  9112          },
  9113          "msg": {
  9114            "description": "Human readable status/error/warning message",
  9115            "type": "string"
  9116          },
  9117          "observer": {
  9118            "description": "Status of the Hubble observer\n\n+k8s:deepcopy-gen=true",
  9119            "type": "object",
  9120            "properties": {
  9121              "current-flows": {
  9122                "description": "Current number of flows this Hubble observer stores",
  9123                "type": "integer"
  9124              },
  9125              "max-flows": {
  9126                "description": "Maximum number of flows this Hubble observer is able to store",
  9127                "type": "integer"
  9128              },
  9129              "seen-flows": {
  9130                "description": "Total number of flows this Hubble observer has seen",
  9131                "type": "integer"
  9132              },
  9133              "uptime": {
  9134                "description": "Uptime of this Hubble observer instance",
  9135                "type": "string",
  9136                "format": "duration"
  9137              }
  9138            }
  9139          },
  9140          "state": {
  9141            "description": "State the component is in",
  9142            "type": "string",
  9143            "enum": [
  9144              "Ok",
  9145              "Warning",
  9146              "Failure",
  9147              "Disabled"
  9148            ]
  9149          }
  9150        }
  9151      },
  9152      "HubbleStatusMetrics": {
  9153        "description": "Status of the Hubble metrics server",
  9154        "type": "object",
  9155        "properties": {
  9156          "state": {
  9157            "description": "State of the Hubble metrics",
  9158            "type": "string",
  9159            "enum": [
  9160              "Ok",
  9161              "Warning",
  9162              "Failure",
  9163              "Disabled"
  9164            ]
  9165          }
  9166        }
  9167      },
  9168      "HubbleStatusObserver": {
  9169        "description": "Status of the Hubble observer\n\n+k8s:deepcopy-gen=true",
  9170        "type": "object",
  9171        "properties": {
  9172          "current-flows": {
  9173            "description": "Current number of flows this Hubble observer stores",
  9174            "type": "integer"
  9175          },
  9176          "max-flows": {
  9177            "description": "Maximum number of flows this Hubble observer is able to store",
  9178            "type": "integer"
  9179          },
  9180          "seen-flows": {
  9181            "description": "Total number of flows this Hubble observer has seen",
  9182            "type": "integer"
  9183          },
  9184          "uptime": {
  9185            "description": "Uptime of this Hubble observer instance",
  9186            "type": "string",
  9187            "format": "duration"
  9188          }
  9189        }
  9190      },
  9191      "IPAMAddressResponse": {
  9192        "description": "IPAM configuration of an individual address family",
  9193        "type": "object",
  9194        "properties": {
  9195          "cidrs": {
  9196            "description": "List of CIDRs out of which IPs are allocated",
  9197            "type": "array",
  9198            "items": {
  9199              "type": "string"
  9200            }
  9201          },
  9202          "expiration-uuid": {
  9203            "description": "The UUID for the expiration timer. Set when expiration has been\nenabled while allocating.\n",
  9204            "type": "string"
  9205          },
  9206          "gateway": {
  9207            "description": "IP of gateway",
  9208            "type": "string"
  9209          },
  9210          "interface-number": {
  9211            "description": "InterfaceNumber is a field for generically identifying an interface. This is only useful in ENI mode.\n",
  9212            "type": "string"
  9213          },
  9214          "ip": {
  9215            "description": "Allocated IP for endpoint",
  9216            "type": "string"
  9217          },
  9218          "master-mac": {
  9219            "description": "MAC of master interface if address is a slave/secondary of a master interface",
  9220            "type": "string"
  9221          }
  9222        }
  9223      },
  9224      "IPAMResponse": {
  9225        "description": "IPAM configuration of an endpoint",
  9226        "type": "object",
  9227        "required": [
  9228          "address",
  9229          "host-addressing"
  9230        ],
  9231        "properties": {
  9232          "address": {
  9233            "$ref": "#/definitions/AddressPair"
  9234          },
  9235          "host-addressing": {
  9236            "$ref": "#/definitions/NodeAddressing"
  9237          },
  9238          "ipv4": {
  9239            "$ref": "#/definitions/IPAMAddressResponse"
  9240          },
  9241          "ipv6": {
  9242            "$ref": "#/definitions/IPAMAddressResponse"
  9243          }
  9244        }
  9245      },
  9246      "IPAMStatus": {
  9247        "description": "Status of IP address management\n\n+k8s:deepcopy-gen=true",
  9248        "properties": {
  9249          "allocations": {
  9250            "$ref": "#/definitions/AllocationMap"
  9251          },
  9252          "ipv4": {
  9253            "type": "array",
  9254            "items": {
  9255              "type": "string"
  9256            }
  9257          },
  9258          "ipv6": {
  9259            "type": "array",
  9260            "items": {
  9261              "type": "string"
  9262            }
  9263          },
  9264          "status": {
  9265            "type": "string"
  9266          }
  9267        }
  9268      },
  9269      "IPListEntry": {
  9270        "description": "IP entry with metadata",
  9271        "type": "object",
  9272        "required": [
  9273          "cidr",
  9274          "identity"
  9275        ],
  9276        "properties": {
  9277          "cidr": {
  9278            "description": "Key of the entry in the form of a CIDR range",
  9279            "type": "string"
  9280          },
  9281          "encryptKey": {
  9282            "description": "The context ID for the encryption session",
  9283            "type": "integer"
  9284          },
  9285          "hostIP": {
  9286            "description": "IP address of the host",
  9287            "type": "string"
  9288          },
  9289          "identity": {
  9290            "description": "Numerical identity assigned to the IP",
  9291            "type": "integer"
  9292          },
  9293          "metadata": {
  9294            "$ref": "#/definitions/IPListEntryMetadata"
  9295          }
  9296        }
  9297      },
  9298      "IPListEntryMetadata": {
  9299        "description": "Additional metadata assigned to an IP list entry",
  9300        "type": "object",
  9301        "properties": {
  9302          "name": {
  9303            "description": "Name assigned to the IP (e.g. Kubernetes pod name)",
  9304            "type": "string"
  9305          },
  9306          "namespace": {
  9307            "description": "Namespace of the IP (e.g. Kubernetes namespace)",
  9308            "type": "string"
  9309          },
  9310          "source": {
  9311            "description": "Source of the IP entry and its metadata",
  9312            "type": "string",
  9313            "example": "k8s"
  9314          }
  9315        }
  9316      },
  9317      "IPV4BigTCP": {
  9318        "description": "Status of IPv4 BIG TCP\n\n+k8s:deepcopy-gen=true",
  9319        "type": "object",
  9320        "properties": {
  9321          "enabled": {
  9322            "description": "Is IPv4 BIG TCP enabled",
  9323            "type": "boolean"
  9324          },
  9325          "maxGRO": {
  9326            "description": "Maximum IPv4 GRO size",
  9327            "type": "integer"
  9328          },
  9329          "maxGSO": {
  9330            "description": "Maximum IPv4 GSO size",
  9331            "type": "integer"
  9332          }
  9333        }
  9334      },
  9335      "IPV6BigTCP": {
  9336        "description": "Status of IPv6 BIG TCP\n\n+k8s:deepcopy-gen=true",
  9337        "type": "object",
  9338        "properties": {
  9339          "enabled": {
  9340            "description": "Is IPv6 BIG TCP enabled",
  9341            "type": "boolean"
  9342          },
  9343          "maxGRO": {
  9344            "description": "Maximum IPv6 GRO size",
  9345            "type": "integer"
  9346          },
  9347          "maxGSO": {
  9348            "description": "Maximum IPv6 GSO size",
  9349            "type": "integer"
  9350          }
  9351        }
  9352      },
  9353      "IPsecStatus": {
  9354        "description": "Status of the IPsec agent\n\n+k8s:deepcopy-gen=true",
  9355        "properties": {
  9356          "decrypt-interfaces": {
  9357            "description": "IPsec decryption interfaces",
  9358            "type": "array",
  9359            "items": {
  9360              "type": "string"
  9361            }
  9362          },
  9363          "error-count": {
  9364            "description": "IPsec error count",
  9365            "type": "integer"
  9366          },
  9367          "keys-in-use": {
  9368            "description": "IPsec keys in use",
  9369            "type": "integer"
  9370          },
  9371          "max-seq-number": {
  9372            "description": "IPsec max sequence number",
  9373            "type": "string"
  9374          },
  9375          "xfrm-errors": {
  9376            "description": "IPsec XFRM errors",
  9377            "type": "object",
  9378            "additionalProperties": {
  9379              "type": "integer"
  9380            }
  9381          }
  9382        }
  9383      },
  9384      "Identity": {
  9385        "description": "Security identity",
  9386        "type": "object",
  9387        "properties": {
  9388          "id": {
  9389            "description": "Unique identifier",
  9390            "type": "integer"
  9391          },
  9392          "labels": {
  9393            "description": "Labels describing the identity",
  9394            "$ref": "#/definitions/Labels"
  9395          },
  9396          "labelsSHA256": {
  9397            "description": "SHA256 of labels",
  9398            "type": "string"
  9399          }
  9400        }
  9401      },
  9402      "IdentityEndpoints": {
  9403        "description": "Security identities owned by endpoints on the local node",
  9404        "type": "object",
  9405        "properties": {
  9406          "identity": {
  9407            "description": "Security identity",
  9408            "$ref": "#/definitions/Identity"
  9409          },
  9410          "refCount": {
  9411            "description": "number of endpoints consuming this identity locally (should always be \u003e 0)",
  9412            "type": "integer"
  9413          }
  9414        }
  9415      },
  9416      "IdentityRange": {
  9417        "description": "Status of identity range of the cluster\n\n+k8s:deepcopy-gen=true",
  9418        "properties": {
  9419          "max-identity": {
  9420            "description": "Maximum identity of the cluster",
  9421            "type": "integer"
  9422          },
  9423          "min-identity": {
  9424            "description": "Minimum identity of the cluster",
  9425            "type": "integer"
  9426          }
  9427        }
  9428      },
  9429      "K8sStatus": {
  9430        "description": "Status of Kubernetes integration\n\n+k8s:deepcopy-gen=true",
  9431        "type": "object",
  9432        "properties": {
  9433          "k8s-api-versions": {
  9434            "type": "array",
  9435            "items": {
  9436              "type": "string"
  9437            }
  9438          },
  9439          "msg": {
  9440            "description": "Human readable status/error/warning message",
  9441            "type": "string"
  9442          },
  9443          "state": {
  9444            "description": "State the component is in",
  9445            "type": "string",
  9446            "enum": [
  9447              "Ok",
  9448              "Warning",
  9449              "Failure",
  9450              "Disabled"
  9451            ]
  9452          }
  9453        }
  9454      },
  9455      "KVstoreConfiguration": {
  9456        "description": "Configuration used for the kvstore",
  9457        "properties": {
  9458          "options": {
  9459            "description": "Configuration options",
  9460            "type": "object",
  9461            "additionalProperties": {
  9462              "type": "string"
  9463            }
  9464          },
  9465          "type": {
  9466            "description": "Type of kvstore",
  9467            "type": "string"
  9468          }
  9469        }
  9470      },
  9471      "KubeProxyReplacement": {
  9472        "description": "Status of kube-proxy replacement\n\n+k8s:deepcopy-gen=true",
  9473        "type": "object",
  9474        "properties": {
  9475          "deviceList": {
  9476            "description": "\n\n+k8s:deepcopy-gen=true",
  9477            "type": "array",
  9478            "items": {
  9479              "$ref": "#/definitions/KubeProxyReplacementDeviceListItems0"
  9480            }
  9481          },
  9482          "devices": {
  9483            "type": "array",
  9484            "items": {
  9485              "type": "string"
  9486            }
  9487          },
  9488          "directRoutingDevice": {
  9489            "type": "string"
  9490          },
  9491          "features": {
  9492            "description": "\n\n+k8s:deepcopy-gen=true",
  9493            "type": "object",
  9494            "properties": {
  9495              "bpfSocketLBHostnsOnly": {
  9496                "description": "flag bpf-lb-sock-hostns-only",
  9497                "type": "boolean"
  9498              },
  9499              "externalIPs": {
  9500                "description": "\n\n+k8s:deepcopy-gen=true",
  9501                "type": "object",
  9502                "properties": {
  9503                  "enabled": {
  9504                    "type": "boolean"
  9505                  }
  9506                }
  9507              },
  9508              "gracefulTermination": {
  9509                "description": "\n\n+k8s:deepcopy-gen=true",
  9510                "type": "object",
  9511                "properties": {
  9512                  "enabled": {
  9513                    "type": "boolean"
  9514                  }
  9515                }
  9516              },
  9517              "hostPort": {
  9518                "description": "\n\n+k8s:deepcopy-gen=true",
  9519                "type": "object",
  9520                "properties": {
  9521                  "enabled": {
  9522                    "type": "boolean"
  9523                  }
  9524                }
  9525              },
  9526              "hostReachableServices": {
  9527                "description": "\n\n+k8s:deepcopy-gen=true",
  9528                "type": "object",
  9529                "properties": {
  9530                  "enabled": {
  9531                    "type": "boolean"
  9532                  },
  9533                  "protocols": {
  9534                    "type": "array",
  9535                    "items": {
  9536                      "type": "string"
  9537                    }
  9538                  }
  9539                }
  9540              },
  9541              "nat46X64": {
  9542                "description": "\n\n+k8s:deepcopy-gen=true",
  9543                "type": "object",
  9544                "properties": {
  9545                  "enabled": {
  9546                    "type": "boolean"
  9547                  },
  9548                  "gateway": {
  9549                    "description": "\n\n+k8s:deepcopy-gen=true",
  9550                    "type": "object",
  9551                    "properties": {
  9552                      "enabled": {
  9553                        "type": "boolean"
  9554                      },
  9555                      "prefixes": {
  9556                        "type": "array",
  9557                        "items": {
  9558                          "type": "string"
  9559                        }
  9560                      }
  9561                    }
  9562                  },
  9563                  "service": {
  9564                    "description": "\n\n+k8s:deepcopy-gen=true",
  9565                    "type": "object",
  9566                    "properties": {
  9567                      "enabled": {
  9568                        "type": "boolean"
  9569                      }
  9570                    }
  9571                  }
  9572                }
  9573              },
  9574              "nodePort": {
  9575                "description": "\n\n+k8s:deepcopy-gen=true",
  9576                "type": "object",
  9577                "properties": {
  9578                  "acceleration": {
  9579                    "type": "string",
  9580                    "enum": [
  9581                      "None",
  9582                      "Native",
  9583                      "Generic",
  9584                      "Best-Effort"
  9585                    ]
  9586                  },
  9587                  "algorithm": {
  9588                    "type": "string",
  9589                    "enum": [
  9590                      "Random",
  9591                      "Maglev"
  9592                    ]
  9593                  },
  9594                  "dsrMode": {
  9595                    "type": "string",
  9596                    "enum": [
  9597                      "IP Option/Extension",
  9598                      "IPIP",
  9599                      "Geneve"
  9600                    ]
  9601                  },
  9602                  "enabled": {
  9603                    "type": "boolean"
  9604                  },
  9605                  "lutSize": {
  9606                    "type": "integer"
  9607                  },
  9608                  "mode": {
  9609                    "type": "string",
  9610                    "enum": [
  9611                      "SNAT",
  9612                      "DSR",
  9613                      "Hybrid"
  9614                    ]
  9615                  },
  9616                  "portMax": {
  9617                    "type": "integer"
  9618                  },
  9619                  "portMin": {
  9620                    "type": "integer"
  9621                  }
  9622                }
  9623              },
  9624              "sessionAffinity": {
  9625                "description": "\n\n+k8s:deepcopy-gen=true",
  9626                "type": "object",
  9627                "properties": {
  9628                  "enabled": {
  9629                    "type": "boolean"
  9630                  }
  9631                }
  9632              },
  9633              "socketLB": {
  9634                "description": "\n\n+k8s:deepcopy-gen=true",
  9635                "type": "object",
  9636                "properties": {
  9637                  "enabled": {
  9638                    "type": "boolean"
  9639                  }
  9640                }
  9641              },
  9642              "socketLBTracing": {
  9643                "description": "\n\n+k8s:deepcopy-gen=true",
  9644                "type": "object",
  9645                "properties": {
  9646                  "enabled": {
  9647                    "type": "boolean"
  9648                  }
  9649                }
  9650              }
  9651            }
  9652          },
  9653          "mode": {
  9654            "type": "string",
  9655            "enum": [
  9656              "True",
  9657              "False"
  9658            ]
  9659          }
  9660        }
  9661      },
  9662      "KubeProxyReplacementDeviceListItems0": {
  9663        "description": "\n\n+k8s:deepcopy-gen=true",
  9664        "type": "object",
  9665        "properties": {
  9666          "ip": {
  9667            "description": "\n\n+k8s:deepcopy-gen=true",
  9668            "type": "array",
  9669            "items": {
  9670              "type": "string"
  9671            }
  9672          },
  9673          "name": {
  9674            "type": "string"
  9675          }
  9676        }
  9677      },
  9678      "KubeProxyReplacementFeatures": {
  9679        "description": "\n\n+k8s:deepcopy-gen=true",
  9680        "type": "object",
  9681        "properties": {
  9682          "bpfSocketLBHostnsOnly": {
  9683            "description": "flag bpf-lb-sock-hostns-only",
  9684            "type": "boolean"
  9685          },
  9686          "externalIPs": {
  9687            "description": "\n\n+k8s:deepcopy-gen=true",
  9688            "type": "object",
  9689            "properties": {
  9690              "enabled": {
  9691                "type": "boolean"
  9692              }
  9693            }
  9694          },
  9695          "gracefulTermination": {
  9696            "description": "\n\n+k8s:deepcopy-gen=true",
  9697            "type": "object",
  9698            "properties": {
  9699              "enabled": {
  9700                "type": "boolean"
  9701              }
  9702            }
  9703          },
  9704          "hostPort": {
  9705            "description": "\n\n+k8s:deepcopy-gen=true",
  9706            "type": "object",
  9707            "properties": {
  9708              "enabled": {
  9709                "type": "boolean"
  9710              }
  9711            }
  9712          },
  9713          "hostReachableServices": {
  9714            "description": "\n\n+k8s:deepcopy-gen=true",
  9715            "type": "object",
  9716            "properties": {
  9717              "enabled": {
  9718                "type": "boolean"
  9719              },
  9720              "protocols": {
  9721                "type": "array",
  9722                "items": {
  9723                  "type": "string"
  9724                }
  9725              }
  9726            }
  9727          },
  9728          "nat46X64": {
  9729            "description": "\n\n+k8s:deepcopy-gen=true",
  9730            "type": "object",
  9731            "properties": {
  9732              "enabled": {
  9733                "type": "boolean"
  9734              },
  9735              "gateway": {
  9736                "description": "\n\n+k8s:deepcopy-gen=true",
  9737                "type": "object",
  9738                "properties": {
  9739                  "enabled": {
  9740                    "type": "boolean"
  9741                  },
  9742                  "prefixes": {
  9743                    "type": "array",
  9744                    "items": {
  9745                      "type": "string"
  9746                    }
  9747                  }
  9748                }
  9749              },
  9750              "service": {
  9751                "description": "\n\n+k8s:deepcopy-gen=true",
  9752                "type": "object",
  9753                "properties": {
  9754                  "enabled": {
  9755                    "type": "boolean"
  9756                  }
  9757                }
  9758              }
  9759            }
  9760          },
  9761          "nodePort": {
  9762            "description": "\n\n+k8s:deepcopy-gen=true",
  9763            "type": "object",
  9764            "properties": {
  9765              "acceleration": {
  9766                "type": "string",
  9767                "enum": [
  9768                  "None",
  9769                  "Native",
  9770                  "Generic",
  9771                  "Best-Effort"
  9772                ]
  9773              },
  9774              "algorithm": {
  9775                "type": "string",
  9776                "enum": [
  9777                  "Random",
  9778                  "Maglev"
  9779                ]
  9780              },
  9781              "dsrMode": {
  9782                "type": "string",
  9783                "enum": [
  9784                  "IP Option/Extension",
  9785                  "IPIP",
  9786                  "Geneve"
  9787                ]
  9788              },
  9789              "enabled": {
  9790                "type": "boolean"
  9791              },
  9792              "lutSize": {
  9793                "type": "integer"
  9794              },
  9795              "mode": {
  9796                "type": "string",
  9797                "enum": [
  9798                  "SNAT",
  9799                  "DSR",
  9800                  "Hybrid"
  9801                ]
  9802              },
  9803              "portMax": {
  9804                "type": "integer"
  9805              },
  9806              "portMin": {
  9807                "type": "integer"
  9808              }
  9809            }
  9810          },
  9811          "sessionAffinity": {
  9812            "description": "\n\n+k8s:deepcopy-gen=true",
  9813            "type": "object",
  9814            "properties": {
  9815              "enabled": {
  9816                "type": "boolean"
  9817              }
  9818            }
  9819          },
  9820          "socketLB": {
  9821            "description": "\n\n+k8s:deepcopy-gen=true",
  9822            "type": "object",
  9823            "properties": {
  9824              "enabled": {
  9825                "type": "boolean"
  9826              }
  9827            }
  9828          },
  9829          "socketLBTracing": {
  9830            "description": "\n\n+k8s:deepcopy-gen=true",
  9831            "type": "object",
  9832            "properties": {
  9833              "enabled": {
  9834                "type": "boolean"
  9835              }
  9836            }
  9837          }
  9838        }
  9839      },
  9840      "KubeProxyReplacementFeaturesExternalIPs": {
  9841        "description": "\n\n+k8s:deepcopy-gen=true",
  9842        "type": "object",
  9843        "properties": {
  9844          "enabled": {
  9845            "type": "boolean"
  9846          }
  9847        }
  9848      },
  9849      "KubeProxyReplacementFeaturesGracefulTermination": {
  9850        "description": "\n\n+k8s:deepcopy-gen=true",
  9851        "type": "object",
  9852        "properties": {
  9853          "enabled": {
  9854            "type": "boolean"
  9855          }
  9856        }
  9857      },
  9858      "KubeProxyReplacementFeaturesHostPort": {
  9859        "description": "\n\n+k8s:deepcopy-gen=true",
  9860        "type": "object",
  9861        "properties": {
  9862          "enabled": {
  9863            "type": "boolean"
  9864          }
  9865        }
  9866      },
  9867      "KubeProxyReplacementFeaturesHostReachableServices": {
  9868        "description": "\n\n+k8s:deepcopy-gen=true",
  9869        "type": "object",
  9870        "properties": {
  9871          "enabled": {
  9872            "type": "boolean"
  9873          },
  9874          "protocols": {
  9875            "type": "array",
  9876            "items": {
  9877              "type": "string"
  9878            }
  9879          }
  9880        }
  9881      },
  9882      "KubeProxyReplacementFeaturesNat46X64": {
  9883        "description": "\n\n+k8s:deepcopy-gen=true",
  9884        "type": "object",
  9885        "properties": {
  9886          "enabled": {
  9887            "type": "boolean"
  9888          },
  9889          "gateway": {
  9890            "description": "\n\n+k8s:deepcopy-gen=true",
  9891            "type": "object",
  9892            "properties": {
  9893              "enabled": {
  9894                "type": "boolean"
  9895              },
  9896              "prefixes": {
  9897                "type": "array",
  9898                "items": {
  9899                  "type": "string"
  9900                }
  9901              }
  9902            }
  9903          },
  9904          "service": {
  9905            "description": "\n\n+k8s:deepcopy-gen=true",
  9906            "type": "object",
  9907            "properties": {
  9908              "enabled": {
  9909                "type": "boolean"
  9910              }
  9911            }
  9912          }
  9913        }
  9914      },
  9915      "KubeProxyReplacementFeaturesNat46X64Gateway": {
  9916        "description": "\n\n+k8s:deepcopy-gen=true",
  9917        "type": "object",
  9918        "properties": {
  9919          "enabled": {
  9920            "type": "boolean"
  9921          },
  9922          "prefixes": {
  9923            "type": "array",
  9924            "items": {
  9925              "type": "string"
  9926            }
  9927          }
  9928        }
  9929      },
  9930      "KubeProxyReplacementFeaturesNat46X64Service": {
  9931        "description": "\n\n+k8s:deepcopy-gen=true",
  9932        "type": "object",
  9933        "properties": {
  9934          "enabled": {
  9935            "type": "boolean"
  9936          }
  9937        }
  9938      },
  9939      "KubeProxyReplacementFeaturesNodePort": {
  9940        "description": "\n\n+k8s:deepcopy-gen=true",
  9941        "type": "object",
  9942        "properties": {
  9943          "acceleration": {
  9944            "type": "string",
  9945            "enum": [
  9946              "None",
  9947              "Native",
  9948              "Generic",
  9949              "Best-Effort"
  9950            ]
  9951          },
  9952          "algorithm": {
  9953            "type": "string",
  9954            "enum": [
  9955              "Random",
  9956              "Maglev"
  9957            ]
  9958          },
  9959          "dsrMode": {
  9960            "type": "string",
  9961            "enum": [
  9962              "IP Option/Extension",
  9963              "IPIP",
  9964              "Geneve"
  9965            ]
  9966          },
  9967          "enabled": {
  9968            "type": "boolean"
  9969          },
  9970          "lutSize": {
  9971            "type": "integer"
  9972          },
  9973          "mode": {
  9974            "type": "string",
  9975            "enum": [
  9976              "SNAT",
  9977              "DSR",
  9978              "Hybrid"
  9979            ]
  9980          },
  9981          "portMax": {
  9982            "type": "integer"
  9983          },
  9984          "portMin": {
  9985            "type": "integer"
  9986          }
  9987        }
  9988      },
  9989      "KubeProxyReplacementFeaturesSessionAffinity": {
  9990        "description": "\n\n+k8s:deepcopy-gen=true",
  9991        "type": "object",
  9992        "properties": {
  9993          "enabled": {
  9994            "type": "boolean"
  9995          }
  9996        }
  9997      },
  9998      "KubeProxyReplacementFeaturesSocketLB": {
  9999        "description": "\n\n+k8s:deepcopy-gen=true",
 10000        "type": "object",
 10001        "properties": {
 10002          "enabled": {
 10003            "type": "boolean"
 10004          }
 10005        }
 10006      },
 10007      "KubeProxyReplacementFeaturesSocketLBTracing": {
 10008        "description": "\n\n+k8s:deepcopy-gen=true",
 10009        "type": "object",
 10010        "properties": {
 10011          "enabled": {
 10012            "type": "boolean"
 10013          }
 10014        }
 10015      },
 10016      "L4Policy": {
 10017        "description": "L4 endpoint policy\n\n+k8s:deepcopy-gen=true",
 10018        "type": "object",
 10019        "properties": {
 10020          "egress": {
 10021            "description": "List of L4 egress rules",
 10022            "type": "array",
 10023            "items": {
 10024              "$ref": "#/definitions/PolicyRule"
 10025            }
 10026          },
 10027          "ingress": {
 10028            "description": "List of L4 ingress rules",
 10029            "type": "array",
 10030            "items": {
 10031              "$ref": "#/definitions/PolicyRule"
 10032            }
 10033          }
 10034        }
 10035      },
 10036      "LRPBackend": {
 10037        "description": "Pod backend of an LRP",
 10038        "type": "object",
 10039        "properties": {
 10040          "backend-address": {
 10041            "$ref": "#/definitions/BackendAddress"
 10042          },
 10043          "pod-id": {
 10044            "description": "Namespace and name of the backend pod",
 10045            "type": "string"
 10046          }
 10047        }
 10048      },
 10049      "LRPSpec": {
 10050        "description": "Configuration of an LRP",
 10051        "type": "object",
 10052        "properties": {
 10053          "frontend-mappings": {
 10054            "description": "mapping of frontends to pod backends",
 10055            "type": "array",
 10056            "items": {
 10057              "$ref": "#/definitions/FrontendMapping"
 10058            }
 10059          },
 10060          "frontend-type": {
 10061            "description": "LRP frontend type",
 10062            "type": "string"
 10063          },
 10064          "lrp-type": {
 10065            "description": "LRP config type",
 10066            "type": "string"
 10067          },
 10068          "name": {
 10069            "description": "LRP service name",
 10070            "type": "string"
 10071          },
 10072          "namespace": {
 10073            "description": "LRP service namespace",
 10074            "type": "string"
 10075          },
 10076          "service-id": {
 10077            "description": "matching k8s service namespace and name",
 10078            "type": "string"
 10079          },
 10080          "uid": {
 10081            "description": "Unique identification",
 10082            "type": "string"
 10083          }
 10084        }
 10085      },
 10086      "Label": {
 10087        "description": "Label is the Cilium's representation of a container label",
 10088        "type": "object",
 10089        "properties": {
 10090          "key": {
 10091            "type": "string"
 10092          },
 10093          "source": {
 10094            "description": "Source can be one of the above values (e.g. LabelSourceContainer)",
 10095            "type": "string"
 10096          },
 10097          "value": {
 10098            "type": "string"
 10099          }
 10100        }
 10101      },
 10102      "LabelArray": {
 10103        "description": "LabelArray is an array of labels forming a set",
 10104        "type": "array",
 10105        "items": {
 10106          "$ref": "#/definitions/Label"
 10107        }
 10108      },
 10109      "LabelConfiguration": {
 10110        "description": "Label configuration of an endpoint",
 10111        "type": "object",
 10112        "properties": {
 10113          "spec": {
 10114            "description": "The user provided desired configuration",
 10115            "$ref": "#/definitions/LabelConfigurationSpec"
 10116          },
 10117          "status": {
 10118            "description": "The current configuration",
 10119            "$ref": "#/definitions/LabelConfigurationStatus"
 10120          }
 10121        }
 10122      },
 10123      "LabelConfigurationSpec": {
 10124        "description": "User desired Label configuration of an endpoint",
 10125        "type": "object",
 10126        "properties": {
 10127          "user": {
 10128            "description": "Custom labels in addition to orchestration system labels.",
 10129            "$ref": "#/definitions/Labels"
 10130          }
 10131        }
 10132      },
 10133      "LabelConfigurationStatus": {
 10134        "description": "Labels and label configuration of an endpoint",
 10135        "type": "object",
 10136        "properties": {
 10137          "derived": {
 10138            "description": "All labels derived from the orchestration system",
 10139            "$ref": "#/definitions/Labels"
 10140          },
 10141          "disabled": {
 10142            "description": "Labels derived from orchestration system which have been disabled.",
 10143            "$ref": "#/definitions/Labels"
 10144          },
 10145          "realized": {
 10146            "description": "The current configuration",
 10147            "$ref": "#/definitions/LabelConfigurationSpec"
 10148          },
 10149          "security-relevant": {
 10150            "description": "Labels derived from orchestration system that are used in computing a security identity",
 10151            "$ref": "#/definitions/Labels"
 10152          }
 10153        }
 10154      },
 10155      "Labels": {
 10156        "description": "Set of labels",
 10157        "type": "array",
 10158        "items": {
 10159          "type": "string"
 10160        }
 10161      },
 10162      "MapEvent": {
 10163        "description": "Event on Map",
 10164        "type": "object",
 10165        "properties": {
 10166          "action": {
 10167            "description": "Action type for event",
 10168            "type": "string",
 10169            "enum": [
 10170              "update",
 10171              "delete"
 10172            ]
 10173          },
 10174          "desired-action": {
 10175            "description": "Desired action to be performed after this event",
 10176            "type": "string",
 10177            "enum": [
 10178              "ok",
 10179              "insert",
 10180              "delete"
 10181            ]
 10182          },
 10183          "key": {
 10184            "description": "Map key on which the event occured",
 10185            "type": "string"
 10186          },
 10187          "last-error": {
 10188            "description": "Last error seen while performing desired action",
 10189            "type": "string"
 10190          },
 10191          "timestamp": {
 10192            "description": "Timestamp when the event occurred",
 10193            "type": "string",
 10194            "format": "date-time"
 10195          },
 10196          "value": {
 10197            "description": "Map value on which the event occured",
 10198            "type": "string"
 10199          }
 10200        }
 10201      },
 10202      "Masquerading": {
 10203        "description": "Status of masquerading\n\n+k8s:deepcopy-gen=true",
 10204        "type": "object",
 10205        "properties": {
 10206          "enabled": {
 10207            "type": "boolean"
 10208          },
 10209          "enabledProtocols": {
 10210            "description": "Is masquerading enabled",
 10211            "type": "object",
 10212            "properties": {
 10213              "ipv4": {
 10214                "description": "Is masquerading enabled for IPv4 traffic",
 10215                "type": "boolean"
 10216              },
 10217              "ipv6": {
 10218                "description": "Is masquerading enabled for IPv6 traffic",
 10219                "type": "boolean"
 10220              }
 10221            }
 10222          },
 10223          "ip-masq-agent": {
 10224            "description": "Is BPF ip-masq-agent enabled",
 10225            "type": "boolean"
 10226          },
 10227          "mode": {
 10228            "type": "string",
 10229            "enum": [
 10230              "BPF",
 10231              "iptables"
 10232            ]
 10233          },
 10234          "snat-exclusion-cidr": {
 10235            "description": "This field is obsolete, please use snat-exclusion-cidr-v4 or snat-exclusion-cidr-v6.",
 10236            "type": "string"
 10237          },
 10238          "snat-exclusion-cidr-v4": {
 10239            "description": "SnatExclusionCIDRv4 exempts SNAT from being performed on any packet sent to\nan IPv4 address that belongs to this CIDR.",
 10240            "type": "string"
 10241          },
 10242          "snat-exclusion-cidr-v6": {
 10243            "description": "SnatExclusionCIDRv6 exempts SNAT from being performed on any packet sent to\nan IPv6 address that belongs to this CIDR.\nFor IPv6 we only do masquerading in iptables mode.",
 10244            "type": "string"
 10245          }
 10246        }
 10247      },
 10248      "MasqueradingEnabledProtocols": {
 10249        "description": "Is masquerading enabled",
 10250        "type": "object",
 10251        "properties": {
 10252          "ipv4": {
 10253            "description": "Is masquerading enabled for IPv4 traffic",
 10254            "type": "boolean"
 10255          },
 10256          "ipv6": {
 10257            "description": "Is masquerading enabled for IPv6 traffic",
 10258            "type": "boolean"
 10259          }
 10260        }
 10261      },
 10262      "MessageForwardingStatistics": {
 10263        "description": "Statistics of a message forwarding entity",
 10264        "type": "object",
 10265        "properties": {
 10266          "denied": {
 10267            "description": "Number of messages denied",
 10268            "type": "integer"
 10269          },
 10270          "error": {
 10271            "description": "Number of errors while parsing messages",
 10272            "type": "integer"
 10273          },
 10274          "forwarded": {
 10275            "description": "Number of messages forwarded",
 10276            "type": "integer"
 10277          },
 10278          "received": {
 10279            "description": "Number of messages received",
 10280            "type": "integer"
 10281          }
 10282        }
 10283      },
 10284      "Metric": {
 10285        "description": "Metric information",
 10286        "type": "object",
 10287        "properties": {
 10288          "labels": {
 10289            "description": "Labels of the metric",
 10290            "type": "object",
 10291            "additionalProperties": {
 10292              "type": "string"
 10293            }
 10294          },
 10295          "name": {
 10296            "description": "Name of the metric",
 10297            "type": "string"
 10298          },
 10299          "value": {
 10300            "description": "Value of the metric",
 10301            "type": "number"
 10302          }
 10303        }
 10304      },
 10305      "MonitorStatus": {
 10306        "description": "Status of the node monitor",
 10307        "properties": {
 10308          "cpus": {
 10309            "description": "Number of CPUs to listen on for events.",
 10310            "type": "integer"
 10311          },
 10312          "lost": {
 10313            "description": "Number of samples lost by perf.",
 10314            "type": "integer"
 10315          },
 10316          "npages": {
 10317            "description": "Number of pages used for the perf ring buffer.",
 10318            "type": "integer"
 10319          },
 10320          "pagesize": {
 10321            "description": "Pages size used for the perf ring buffer.",
 10322            "type": "integer"
 10323          },
 10324          "unknown": {
 10325            "description": "Number of unknown samples.",
 10326            "type": "integer"
 10327          }
 10328        }
 10329      },
 10330      "NameManager": {
 10331        "description": "Internal state about DNS names in relation to policy subsystem",
 10332        "type": "object",
 10333        "properties": {
 10334          "DNSPollNames": {
 10335            "description": "Names to poll for DNS Poller",
 10336            "type": "array",
 10337            "items": {
 10338              "type": "string"
 10339            }
 10340          },
 10341          "FQDNPolicySelectors": {
 10342            "description": "Mapping of FQDNSelectors to corresponding regular expressions",
 10343            "type": "array",
 10344            "items": {
 10345              "$ref": "#/definitions/SelectorEntry"
 10346            }
 10347          }
 10348        }
 10349      },
 10350      "NamedPorts": {
 10351        "description": "List of named Layer 4 port and protocol pairs which will be used in Network\nPolicy specs.\n\n+deepequal-gen=true\n+k8s:deepcopy-gen=true",
 10352        "type": "array",
 10353        "items": {
 10354          "$ref": "#/definitions/Port"
 10355        }
 10356      },
 10357      "NodeAddressing": {
 10358        "description": "Addressing information of a node for all address families\n\n+k8s:deepcopy-gen=true",
 10359        "type": "object",
 10360        "properties": {
 10361          "ipv4": {
 10362            "$ref": "#/definitions/NodeAddressingElement"
 10363          },
 10364          "ipv6": {
 10365            "$ref": "#/definitions/NodeAddressingElement"
 10366          }
 10367        }
 10368      },
 10369      "NodeAddressingElement": {
 10370        "description": "Addressing information",
 10371        "type": "object",
 10372        "properties": {
 10373          "address-type": {
 10374            "description": "Node address type, one of HostName, ExternalIP or InternalIP",
 10375            "type": "string"
 10376          },
 10377          "alloc-range": {
 10378            "description": "Address pool to be used for local endpoints",
 10379            "type": "string"
 10380          },
 10381          "enabled": {
 10382            "description": "True if address family is enabled",
 10383            "type": "boolean"
 10384          },
 10385          "ip": {
 10386            "description": "IP address of node",
 10387            "type": "string"
 10388          }
 10389        }
 10390      },
 10391      "NodeElement": {
 10392        "description": "Known node in the cluster\n\n+k8s:deepcopy-gen=true",
 10393        "properties": {
 10394          "health-endpoint-address": {
 10395            "description": "Address used for probing cluster connectivity",
 10396            "$ref": "#/definitions/NodeAddressing"
 10397          },
 10398          "ingress-address": {
 10399            "description": "Source address for Ingress listener",
 10400            "$ref": "#/definitions/NodeAddressing"
 10401          },
 10402          "name": {
 10403            "description": "Name of the node including the cluster association. This is typically\n\u003cclustername\u003e/\u003chostname\u003e.\n",
 10404            "type": "string"
 10405          },
 10406          "primary-address": {
 10407            "description": "Primary address used for intra-cluster communication",
 10408            "$ref": "#/definitions/NodeAddressing"
 10409          },
 10410          "secondary-addresses": {
 10411            "description": "Alternative addresses assigned to the node",
 10412            "type": "array",
 10413            "items": {
 10414              "$ref": "#/definitions/NodeAddressingElement"
 10415            }
 10416          },
 10417          "source": {
 10418            "description": "Source of the node configuration",
 10419            "type": "string"
 10420          }
 10421        }
 10422      },
 10423      "NodeID": {
 10424        "description": "Node ID with associated node IP addresses",
 10425        "type": "object",
 10426        "required": [
 10427          "id",
 10428          "ips"
 10429        ],
 10430        "properties": {
 10431          "id": {
 10432            "description": "ID allocated by the agent for the node",
 10433            "type": "integer"
 10434          },
 10435          "ips": {
 10436            "description": "IP addresses of the node associated with the ID in the agent",
 10437            "type": "array",
 10438            "items": {
 10439              "type": "string"
 10440            }
 10441          }
 10442        }
 10443      },
 10444      "Policy": {
 10445        "description": "Policy definition",
 10446        "type": "object",
 10447        "properties": {
 10448          "policy": {
 10449            "description": "Policy definition as JSON.",
 10450            "type": "string"
 10451          },
 10452          "revision": {
 10453            "description": "Revision number of the policy. Incremented each time the policy is\nchanged in the agent's repository\n",
 10454            "type": "integer"
 10455          }
 10456        }
 10457      },
 10458      "PolicyRule": {
 10459        "description": "A policy rule including the rule labels it derives from\n\n+k8s:deepcopy-gen=true",
 10460        "properties": {
 10461          "derived-from-rules": {
 10462            "description": "The policy rule labels identifying the policy rules this rule derives from",
 10463            "type": "array",
 10464            "items": {
 10465              "type": "array",
 10466              "items": {
 10467                "type": "string"
 10468              }
 10469            }
 10470          },
 10471          "rule": {
 10472            "description": "The policy rule as json",
 10473            "type": "string"
 10474          },
 10475          "rules-by-selector": {
 10476            "description": "The policy rule labels identifying the policy rules this rule derives from, mapped by selector",
 10477            "type": "object",
 10478            "additionalProperties": {
 10479              "type": "array",
 10480              "items": {
 10481                "type": "array",
 10482                "items": {
 10483                  "type": "string"
 10484                }
 10485              }
 10486            }
 10487          }
 10488        }
 10489      },
 10490      "PolicyTraceResult": {
 10491        "description": "Response to a policy resolution process",
 10492        "type": "object",
 10493        "properties": {
 10494          "log": {
 10495            "type": "string"
 10496          },
 10497          "verdict": {
 10498            "type": "string"
 10499          }
 10500        }
 10501      },
 10502      "Port": {
 10503        "description": "Layer 4 port / protocol pair\n\n+deepequal-gen=true",
 10504        "type": "object",
 10505        "properties": {
 10506          "name": {
 10507            "description": "Optional layer 4 port name",
 10508            "type": "string"
 10509          },
 10510          "port": {
 10511            "description": "Layer 4 port number",
 10512            "type": "integer",
 10513            "format": "uint16"
 10514          },
 10515          "protocol": {
 10516            "description": "Layer 4 protocol",
 10517            "type": "string",
 10518            "enum": [
 10519              "TCP",
 10520              "UDP",
 10521              "SCTP",
 10522              "ICMP",
 10523              "ICMPV6",
 10524              "ANY"
 10525            ]
 10526          }
 10527        }
 10528      },
 10529      "Prefilter": {
 10530        "description": "Collection of endpoints to be served",
 10531        "type": "object",
 10532        "properties": {
 10533          "spec": {
 10534            "$ref": "#/definitions/PrefilterSpec"
 10535          },
 10536          "status": {
 10537            "$ref": "#/definitions/PrefilterStatus"
 10538          }
 10539        }
 10540      },
 10541      "PrefilterSpec": {
 10542        "description": "CIDR ranges implemented in the Prefilter",
 10543        "type": "object",
 10544        "properties": {
 10545          "deny": {
 10546            "type": "array",
 10547            "items": {
 10548              "type": "string"
 10549            }
 10550          },
 10551          "revision": {
 10552            "type": "integer"
 10553          }
 10554        }
 10555      },
 10556      "PrefilterStatus": {
 10557        "description": "CIDR ranges implemented in the Prefilter",
 10558        "type": "object",
 10559        "properties": {
 10560          "realized": {
 10561            "$ref": "#/definitions/PrefilterSpec"
 10562          }
 10563        }
 10564      },
 10565      "ProxyRedirect": {
 10566        "description": "Configured proxy redirection state",
 10567        "type": "object",
 10568        "properties": {
 10569          "name": {
 10570            "description": "Name of the proxy redirect",
 10571            "type": "string"
 10572          },
 10573          "proxy": {
 10574            "description": "Name of the proxy this redirect points to",
 10575            "type": "string"
 10576          },
 10577          "proxy-port": {
 10578            "description": "Host port that this redirect points to",
 10579            "type": "integer"
 10580          }
 10581        }
 10582      },
 10583      "ProxyStatistics": {
 10584        "description": "Statistics of a set of proxy redirects for an endpoint\n\n+k8s:deepcopy-gen=true",
 10585        "type": "object",
 10586        "properties": {
 10587          "allocated-proxy-port": {
 10588            "description": "The port the proxy is listening on",
 10589            "type": "integer"
 10590          },
 10591          "location": {
 10592            "description": "Location of where the redirect is installed",
 10593            "type": "string",
 10594            "enum": [
 10595              "ingress",
 10596              "egress"
 10597            ]
 10598          },
 10599          "port": {
 10600            "description": "The port subject to the redirect",
 10601            "type": "integer"
 10602          },
 10603          "protocol": {
 10604            "description": "Name of the L7 protocol",
 10605            "type": "string"
 10606          },
 10607          "statistics": {
 10608            "description": "Statistics of this set of proxy redirect",
 10609            "$ref": "#/definitions/RequestResponseStatistics"
 10610          }
 10611        }
 10612      },
 10613      "ProxyStatus": {
 10614        "description": "Status of proxy\n\n+k8s:deepcopy-gen=true",
 10615        "type": "object",
 10616        "properties": {
 10617          "envoy-deployment-mode": {
 10618            "description": "Deployment mode of Envoy L7 proxy",
 10619            "type": "string",
 10620            "enum": [
 10621              "embedded",
 10622              "external"
 10623            ]
 10624          },
 10625          "ip": {
 10626            "description": "IP address that the proxy listens on",
 10627            "type": "string"
 10628          },
 10629          "port-range": {
 10630            "description": "Port range used for proxying",
 10631            "type": "string"
 10632          },
 10633          "redirects": {
 10634            "description": "Detailed description of configured redirects",
 10635            "type": "array",
 10636            "items": {
 10637              "$ref": "#/definitions/ProxyRedirect"
 10638            }
 10639          },
 10640          "total-ports": {
 10641            "description": "Total number of listening proxy ports",
 10642            "type": "integer"
 10643          },
 10644          "total-redirects": {
 10645            "description": "Total number of ports configured to redirect to proxies",
 10646            "type": "integer"
 10647          }
 10648        }
 10649      },
 10650      "Recorder": {
 10651        "description": "Collection of wildcard filters for pcap recorder",
 10652        "type": "object",
 10653        "properties": {
 10654          "spec": {
 10655            "$ref": "#/definitions/RecorderSpec"
 10656          },
 10657          "status": {
 10658            "$ref": "#/definitions/RecorderStatus"
 10659          }
 10660        }
 10661      },
 10662      "RecorderFilter": {
 10663        "description": "n-tuple filter to match traffic to be recorded",
 10664        "type": "object",
 10665        "properties": {
 10666          "dst-port": {
 10667            "description": "Layer 4 destination port, zero (or in future range)",
 10668            "type": "string"
 10669          },
 10670          "dst-prefix": {
 10671            "description": "Layer 3 destination CIDR",
 10672            "type": "string"
 10673          },
 10674          "protocol": {
 10675            "description": "Layer 4 protocol",
 10676            "type": "string",
 10677            "enum": [
 10678              "TCP",
 10679              "UDP",
 10680              "SCTP",
 10681              "ANY"
 10682            ]
 10683          },
 10684          "src-port": {
 10685            "description": "Layer 4 source port, zero (or in future range)",
 10686            "type": "string"
 10687          },
 10688          "src-prefix": {
 10689            "description": "Layer 3 source CIDR",
 10690            "type": "string"
 10691          }
 10692        }
 10693      },
 10694      "RecorderMask": {
 10695        "description": "Individual mask for pcap recorder",
 10696        "type": "object",
 10697        "properties": {
 10698          "status": {
 10699            "$ref": "#/definitions/RecorderMaskStatus"
 10700          }
 10701        }
 10702      },
 10703      "RecorderMaskSpec": {
 10704        "description": "Configuration of a recorder mask",
 10705        "type": "object",
 10706        "properties": {
 10707          "dst-port-mask": {
 10708            "description": "Layer 4 destination port mask",
 10709            "type": "string"
 10710          },
 10711          "dst-prefix-mask": {
 10712            "description": "Layer 3 destination IP mask",
 10713            "type": "string"
 10714          },
 10715          "priority": {
 10716            "description": "Priority of this mask",
 10717            "type": "integer"
 10718          },
 10719          "protocol-mask": {
 10720            "description": "Layer 4 protocol mask",
 10721            "type": "string"
 10722          },
 10723          "src-port-mask": {
 10724            "description": "Layer 4 source port mask",
 10725            "type": "string"
 10726          },
 10727          "src-prefix-mask": {
 10728            "description": "Layer 3 source IP mask",
 10729            "type": "string"
 10730          },
 10731          "users": {
 10732            "description": "Number of users of this mask",
 10733            "type": "integer"
 10734          }
 10735        }
 10736      },
 10737      "RecorderMaskStatus": {
 10738        "description": "Configuration of a recorder mask",
 10739        "type": "object",
 10740        "properties": {
 10741          "realized": {
 10742            "$ref": "#/definitions/RecorderMaskSpec"
 10743          }
 10744        }
 10745      },
 10746      "RecorderSpec": {
 10747        "description": "Configuration of a recorder",
 10748        "type": "object",
 10749        "required": [
 10750          "id",
 10751          "filters"
 10752        ],
 10753        "properties": {
 10754          "capture-length": {
 10755            "description": "Maximum packet length or zero for full packet length",
 10756            "type": "integer"
 10757          },
 10758          "filters": {
 10759            "description": "List of wildcard filters for given recorder",
 10760            "type": "array",
 10761            "items": {
 10762              "$ref": "#/definitions/RecorderFilter"
 10763            }
 10764          },
 10765          "id": {
 10766            "description": "Unique identification",
 10767            "type": "integer"
 10768          }
 10769        }
 10770      },
 10771      "RecorderStatus": {
 10772        "description": "Configuration of a recorder",
 10773        "type": "object",
 10774        "properties": {
 10775          "realized": {
 10776            "$ref": "#/definitions/RecorderSpec"
 10777          }
 10778        }
 10779      },
 10780      "RemoteCluster": {
 10781        "description": "Status of remote cluster\n\n+k8s:deepcopy-gen=true",
 10782        "properties": {
 10783          "config": {
 10784            "description": "Cluster configuration exposed by the remote cluster",
 10785            "$ref": "#/definitions/RemoteClusterConfig"
 10786          },
 10787          "connected": {
 10788            "description": "Indicates whether the connection to the remote kvstore is established",
 10789            "type": "boolean"
 10790          },
 10791          "last-failure": {
 10792            "description": "Time of last failure that occurred while attempting to reach the cluster",
 10793            "type": "string",
 10794            "format": "date-time"
 10795          },
 10796          "name": {
 10797            "description": "Name of the cluster",
 10798            "type": "string"
 10799          },
 10800          "num-endpoints": {
 10801            "description": "Number of endpoints in the cluster",
 10802            "type": "integer"
 10803          },
 10804          "num-failures": {
 10805            "description": "Number of failures reaching the cluster",
 10806            "type": "integer"
 10807          },
 10808          "num-identities": {
 10809            "description": "Number of identities in the cluster",
 10810            "type": "integer"
 10811          },
 10812          "num-nodes": {
 10813            "description": "Number of nodes in the cluster",
 10814            "type": "integer"
 10815          },
 10816          "num-shared-services": {
 10817            "description": "Number of services in the cluster",
 10818            "type": "integer"
 10819          },
 10820          "ready": {
 10821            "description": "Indicates readiness of the remote cluster",
 10822            "type": "boolean"
 10823          },
 10824          "status": {
 10825            "description": "Status of the control plane",
 10826            "type": "string"
 10827          },
 10828          "synced": {
 10829            "description": "Synchronization status about each resource type",
 10830            "$ref": "#/definitions/RemoteClusterSynced"
 10831          }
 10832        }
 10833      },
 10834      "RemoteClusterConfig": {
 10835        "description": "Cluster configuration exposed by the remote cluster\n\n+k8s:deepcopy-gen=true",
 10836        "properties": {
 10837          "cluster-id": {
 10838            "description": "The Cluster ID advertised by the remote cluster",
 10839            "type": "integer"
 10840          },
 10841          "kvstoremesh": {
 10842            "description": "Whether the remote cluster information is locally cached by kvstoremesh",
 10843            "type": "boolean"
 10844          },
 10845          "required": {
 10846            "description": "Whether the configuration is required to be present",
 10847            "type": "boolean"
 10848          },
 10849          "retrieved": {
 10850            "description": "Whether the configuration has been correctly retrieved",
 10851            "type": "boolean"
 10852          },
 10853          "sync-canaries": {
 10854            "description": "Whether the remote cluster supports per-prefix \"synced\" canaries",
 10855            "type": "boolean"
 10856          }
 10857        }
 10858      },
 10859      "RemoteClusterSynced": {
 10860        "description": "Status of the synchronization with the remote cluster, about each resource\ntype. A given resource is considered to be synchronized if the initial\nlist of entries has been completely received from the remote cluster, and\nnew events are currently being watched.\n\n+k8s:deepcopy-gen=true",
 10861        "properties": {
 10862          "endpoints": {
 10863            "description": "Endpoints synchronization status",
 10864            "type": "boolean"
 10865          },
 10866          "identities": {
 10867            "description": "Identities synchronization status",
 10868            "type": "boolean"
 10869          },
 10870          "nodes": {
 10871            "description": "Nodes synchronization status",
 10872            "type": "boolean"
 10873          },
 10874          "services": {
 10875            "description": "Services synchronization status",
 10876            "type": "boolean"
 10877          }
 10878        }
 10879      },
 10880      "RequestResponseStatistics": {
 10881        "description": "Statistics of a proxy redirect\n\n+k8s:deepcopy-gen=true",
 10882        "type": "object",
 10883        "properties": {
 10884          "requests": {
 10885            "$ref": "#/definitions/MessageForwardingStatistics"
 10886          },
 10887          "responses": {
 10888            "$ref": "#/definitions/MessageForwardingStatistics"
 10889          }
 10890        }
 10891      },
 10892      "Routing": {
 10893        "description": "Status of routing\n\n+k8s:deepcopy-gen=true",
 10894        "type": "object",
 10895        "properties": {
 10896          "inter-host-routing-mode": {
 10897            "description": "Datapath routing mode for cross-cluster connectivity",
 10898            "type": "string",
 10899            "enum": [
 10900              "Native",
 10901              "Tunnel"
 10902            ]
 10903          },
 10904          "intra-host-routing-mode": {
 10905            "description": "Datapath routing mode for connectivity within the host",
 10906            "type": "string",
 10907            "enum": [
 10908              "BPF",
 10909              "Legacy"
 10910            ]
 10911          },
 10912          "tunnel-protocol": {
 10913            "description": "Tunnel protocol in use for cross-cluster connectivity",
 10914            "type": "string"
 10915          }
 10916        }
 10917      },
 10918      "SelectorCache": {
 10919        "description": "cache of which identities match selectors in the policy repository",
 10920        "type": "array",
 10921        "items": {
 10922          "$ref": "#/definitions/SelectorIdentityMapping"
 10923        }
 10924      },
 10925      "SelectorEntry": {
 10926        "description": "Mapping of FQDNSelector to corresponding regular expression",
 10927        "type": "object",
 10928        "properties": {
 10929          "regexString": {
 10930            "description": "String representation of regular expression form of FQDNSelector",
 10931            "type": "string"
 10932          },
 10933          "selectorString": {
 10934            "description": "FQDNSelector in string representation",
 10935            "type": "string"
 10936          }
 10937        }
 10938      },
 10939      "SelectorIdentityMapping": {
 10940        "description": "mapping of selector to identities which match it",
 10941        "type": "object",
 10942        "properties": {
 10943          "identities": {
 10944            "description": "identities mapping to this selector",
 10945            "type": "array",
 10946            "items": {
 10947              "type": "integer"
 10948            }
 10949          },
 10950          "labels": {
 10951            "description": "Labels are the metadata labels associated with the selector",
 10952            "$ref": "#/definitions/LabelArray"
 10953          },
 10954          "selector": {
 10955            "description": "string form of selector",
 10956            "type": "string"
 10957          },
 10958          "users": {
 10959            "description": "number of users of this selector in the cache",
 10960            "type": "integer"
 10961          }
 10962        }
 10963      },
 10964      "Service": {
 10965        "description": "Collection of endpoints to be served",
 10966        "type": "object",
 10967        "properties": {
 10968          "spec": {
 10969            "$ref": "#/definitions/ServiceSpec"
 10970          },
 10971          "status": {
 10972            "$ref": "#/definitions/ServiceStatus"
 10973          }
 10974        }
 10975      },
 10976      "ServiceSpec": {
 10977        "description": "Configuration of a service",
 10978        "type": "object",
 10979        "required": [
 10980          "frontend-address"
 10981        ],
 10982        "properties": {
 10983          "backend-addresses": {
 10984            "description": "List of backend addresses",
 10985            "type": "array",
 10986            "items": {
 10987              "$ref": "#/definitions/BackendAddress"
 10988            }
 10989          },
 10990          "flags": {
 10991            "description": "Optional service configuration flags",
 10992            "type": "object",
 10993            "properties": {
 10994              "cluster": {
 10995                "description": "Service cluster",
 10996                "type": "string"
 10997              },
 10998              "extTrafficPolicy": {
 10999                "description": "Service external traffic policy",
 11000                "type": "string",
 11001                "enum": [
 11002                  "Cluster",
 11003                  "Local"
 11004                ]
 11005              },
 11006              "healthCheckNodePort": {
 11007                "description": "Service health check node port",
 11008                "type": "integer",
 11009                "format": "uint16"
 11010              },
 11011              "intTrafficPolicy": {
 11012                "description": "Service internal traffic policy",
 11013                "type": "string",
 11014                "enum": [
 11015                  "Cluster",
 11016                  "Local"
 11017                ]
 11018              },
 11019              "name": {
 11020                "description": "Service name  (e.g. Kubernetes service name)",
 11021                "type": "string"
 11022              },
 11023              "namespace": {
 11024                "description": "Service namespace  (e.g. Kubernetes namespace)",
 11025                "type": "string"
 11026              },
 11027              "natPolicy": {
 11028                "description": "Service protocol NAT policy",
 11029                "type": "string",
 11030                "enum": [
 11031                  "None",
 11032                  "Nat46",
 11033                  "Nat64"
 11034                ]
 11035              },
 11036              "trafficPolicy": {
 11037                "description": "Service external traffic policy (deprecated in favor of extTrafficPolicy)",
 11038                "type": "string",
 11039                "enum": [
 11040                  "Cluster",
 11041                  "Local"
 11042                ]
 11043              },
 11044              "type": {
 11045                "description": "Service type",
 11046                "type": "string",
 11047                "enum": [
 11048                  "ClusterIP",
 11049                  "NodePort",
 11050                  "ExternalIPs",
 11051                  "HostPort",
 11052                  "LoadBalancer",
 11053                  "LocalRedirect"
 11054                ]
 11055              }
 11056            }
 11057          },
 11058          "frontend-address": {
 11059            "description": "Frontend address",
 11060            "$ref": "#/definitions/FrontendAddress"
 11061          },
 11062          "id": {
 11063            "description": "Unique identification",
 11064            "type": "integer"
 11065          },
 11066          "updateServices": {
 11067            "description": "Update all services selecting the backends with their given states\n(id and frontend are ignored)\n",
 11068            "type": "boolean"
 11069          }
 11070        }
 11071      },
 11072      "ServiceSpecFlags": {
 11073        "description": "Optional service configuration flags",
 11074        "type": "object",
 11075        "properties": {
 11076          "cluster": {
 11077            "description": "Service cluster",
 11078            "type": "string"
 11079          },
 11080          "extTrafficPolicy": {
 11081            "description": "Service external traffic policy",
 11082            "type": "string",
 11083            "enum": [
 11084              "Cluster",
 11085              "Local"
 11086            ]
 11087          },
 11088          "healthCheckNodePort": {
 11089            "description": "Service health check node port",
 11090            "type": "integer",
 11091            "format": "uint16"
 11092          },
 11093          "intTrafficPolicy": {
 11094            "description": "Service internal traffic policy",
 11095            "type": "string",
 11096            "enum": [
 11097              "Cluster",
 11098              "Local"
 11099            ]
 11100          },
 11101          "name": {
 11102            "description": "Service name  (e.g. Kubernetes service name)",
 11103            "type": "string"
 11104          },
 11105          "namespace": {
 11106            "description": "Service namespace  (e.g. Kubernetes namespace)",
 11107            "type": "string"
 11108          },
 11109          "natPolicy": {
 11110            "description": "Service protocol NAT policy",
 11111            "type": "string",
 11112            "enum": [
 11113              "None",
 11114              "Nat46",
 11115              "Nat64"
 11116            ]
 11117          },
 11118          "trafficPolicy": {
 11119            "description": "Service external traffic policy (deprecated in favor of extTrafficPolicy)",
 11120            "type": "string",
 11121            "enum": [
 11122              "Cluster",
 11123              "Local"
 11124            ]
 11125          },
 11126          "type": {
 11127            "description": "Service type",
 11128            "type": "string",
 11129            "enum": [
 11130              "ClusterIP",
 11131              "NodePort",
 11132              "ExternalIPs",
 11133              "HostPort",
 11134              "LoadBalancer",
 11135              "LocalRedirect"
 11136            ]
 11137          }
 11138        }
 11139      },
 11140      "ServiceStatus": {
 11141        "description": "Configuration of a service",
 11142        "type": "object",
 11143        "properties": {
 11144          "realized": {
 11145            "$ref": "#/definitions/ServiceSpec"
 11146          }
 11147        }
 11148      },
 11149      "Srv6": {
 11150        "description": "Status of the SRv6\n\n+k8s:deepcopy-gen=true",
 11151        "type": "object",
 11152        "properties": {
 11153          "enabled": {
 11154            "type": "boolean"
 11155          },
 11156          "srv6EncapMode": {
 11157            "type": "string",
 11158            "enum": [
 11159              "SRH",
 11160              "Reduced"
 11161            ]
 11162          }
 11163        }
 11164      },
 11165      "StateDBQuery": {
 11166        "description": "StateDB query",
 11167        "type": "object",
 11168        "properties": {
 11169          "index": {
 11170            "description": "Index to query against",
 11171            "type": "string"
 11172          },
 11173          "key": {
 11174            "description": "Key to query with. Base64 encoded.",
 11175            "type": "string"
 11176          },
 11177          "lowerbound": {
 11178            "description": "LowerBound prefix search or full-matching Get",
 11179            "type": "boolean"
 11180          },
 11181          "table": {
 11182            "description": "Name of the table to query",
 11183            "type": "string"
 11184          }
 11185        }
 11186      },
 11187      "Status": {
 11188        "description": "Status of an individual component",
 11189        "type": "object",
 11190        "properties": {
 11191          "msg": {
 11192            "description": "Human readable status/error/warning message",
 11193            "type": "string"
 11194          },
 11195          "state": {
 11196            "description": "State the component is in",
 11197            "type": "string",
 11198            "enum": [
 11199              "Ok",
 11200              "Warning",
 11201              "Failure",
 11202              "Disabled"
 11203            ]
 11204          }
 11205        }
 11206      },
 11207      "StatusResponse": {
 11208        "description": "Health and status information of daemon\n\n+k8s:deepcopy-gen=true",
 11209        "type": "object",
 11210        "properties": {
 11211          "attach-mode": {
 11212            "description": "Status of core datapath attachment mode",
 11213            "$ref": "#/definitions/AttachMode"
 11214          },
 11215          "auth-certificate-provider": {
 11216            "description": "Status of Mutual Authentication certificate provider",
 11217            "$ref": "#/definitions/Status"
 11218          },
 11219          "bandwidth-manager": {
 11220            "description": "Status of bandwidth manager",
 11221            "$ref": "#/definitions/BandwidthManager"
 11222          },
 11223          "bpf-maps": {
 11224            "description": "Status of BPF maps",
 11225            "$ref": "#/definitions/BPFMapStatus"
 11226          },
 11227          "cilium": {
 11228            "description": "Status of Cilium daemon",
 11229            "$ref": "#/definitions/Status"
 11230          },
 11231          "client-id": {
 11232            "description": "When supported by the API, this client ID should be used by the\nclient when making another request to the server.\nSee for example \"/cluster/nodes\".\n",
 11233            "type": "integer"
 11234          },
 11235          "clock-source": {
 11236            "description": "Status of clock source",
 11237            "$ref": "#/definitions/ClockSource"
 11238          },
 11239          "cluster": {
 11240            "description": "Status of cluster",
 11241            "$ref": "#/definitions/ClusterStatus"
 11242          },
 11243          "cluster-mesh": {
 11244            "description": "Status of ClusterMesh",
 11245            "$ref": "#/definitions/ClusterMeshStatus"
 11246          },
 11247          "cni-chaining": {
 11248            "description": "Status of CNI chaining",
 11249            "$ref": "#/definitions/CNIChainingStatus"
 11250          },
 11251          "cni-file": {
 11252            "description": "Status of the CNI configuration file",
 11253            "$ref": "#/definitions/Status"
 11254          },
 11255          "container-runtime": {
 11256            "description": "Status of local container runtime",
 11257            "$ref": "#/definitions/Status"
 11258          },
 11259          "controllers": {
 11260            "description": "Status of all endpoint controllers",
 11261            "$ref": "#/definitions/ControllerStatuses"
 11262          },
 11263          "datapath-mode": {
 11264            "description": "Status of datapath mode",
 11265            "$ref": "#/definitions/DatapathMode"
 11266          },
 11267          "encryption": {
 11268            "description": "Status of transparent encryption",
 11269            "$ref": "#/definitions/EncryptionStatus"
 11270          },
 11271          "host-firewall": {
 11272            "description": "Status of the host firewall",
 11273            "$ref": "#/definitions/HostFirewall"
 11274          },
 11275          "hubble": {
 11276            "description": "Status of Hubble server",
 11277            "$ref": "#/definitions/HubbleStatus"
 11278          },
 11279          "identity-range": {
 11280            "description": "Status of identity range of the cluster",
 11281            "$ref": "#/definitions/IdentityRange"
 11282          },
 11283          "ipam": {
 11284            "description": "Status of IP address management",
 11285            "$ref": "#/definitions/IPAMStatus"
 11286          },
 11287          "ipv4-big-tcp": {
 11288            "description": "Status of IPv4 BIG TCP",
 11289            "$ref": "#/definitions/IPV4BigTCP"
 11290          },
 11291          "ipv6-big-tcp": {
 11292            "description": "Status of IPv6 BIG TCP",
 11293            "$ref": "#/definitions/IPV6BigTCP"
 11294          },
 11295          "kube-proxy-replacement": {
 11296            "description": "Status of kube-proxy replacement",
 11297            "$ref": "#/definitions/KubeProxyReplacement"
 11298          },
 11299          "kubernetes": {
 11300            "description": "Status of Kubernetes integration",
 11301            "$ref": "#/definitions/K8sStatus"
 11302          },
 11303          "kvstore": {
 11304            "description": "Status of key/value datastore",
 11305            "$ref": "#/definitions/Status"
 11306          },
 11307          "masquerading": {
 11308            "description": "Status of masquerading",
 11309            "$ref": "#/definitions/Masquerading"
 11310          },
 11311          "nodeMonitor": {
 11312            "description": "Status of the node monitor",
 11313            "$ref": "#/definitions/MonitorStatus"
 11314          },
 11315          "proxy": {
 11316            "description": "Status of proxy",
 11317            "$ref": "#/definitions/ProxyStatus"
 11318          },
 11319          "routing": {
 11320            "description": "Status of routing",
 11321            "$ref": "#/definitions/Routing"
 11322          },
 11323          "srv6": {
 11324            "description": "Status of SRv6",
 11325            "$ref": "#/definitions/Srv6"
 11326          },
 11327          "stale": {
 11328            "description": "List of stale information in the status",
 11329            "type": "object",
 11330            "additionalProperties": {
 11331              "description": "Timestamp when the probe was started",
 11332              "type": "string",
 11333              "format": "date-time"
 11334            }
 11335          }
 11336        }
 11337      },
 11338      "TraceFrom": {
 11339        "type": "object",
 11340        "properties": {
 11341          "labels": {
 11342            "$ref": "#/definitions/Labels"
 11343          }
 11344        }
 11345      },
 11346      "TraceSelector": {
 11347        "description": "Context describing a pair of source and destination identity",
 11348        "type": "object",
 11349        "properties": {
 11350          "from": {
 11351            "$ref": "#/definitions/TraceFrom"
 11352          },
 11353          "to": {
 11354            "$ref": "#/definitions/TraceTo"
 11355          },
 11356          "verbose": {
 11357            "description": "Enable verbose tracing.\n",
 11358            "type": "boolean"
 11359          }
 11360        }
 11361      },
 11362      "TraceTo": {
 11363        "type": "object",
 11364        "properties": {
 11365          "dports": {
 11366            "description": "List of Layer 4 port and protocol pairs which will be used in communication\nfrom the source identity to the destination identity.\n",
 11367            "type": "array",
 11368            "items": {
 11369              "$ref": "#/definitions/Port"
 11370            }
 11371          },
 11372          "labels": {
 11373            "$ref": "#/definitions/Labels"
 11374          }
 11375        }
 11376      },
 11377      "WireguardInterface": {
 11378        "description": "Status of a WireGuard interface\n\n+k8s:deepcopy-gen=true",
 11379        "properties": {
 11380          "listen-port": {
 11381            "description": "Port on which the WireGuard endpoint is exposed",
 11382            "type": "integer"
 11383          },
 11384          "name": {
 11385            "description": "Name of the interface",
 11386            "type": "string"
 11387          },
 11388          "peer-count": {
 11389            "description": "Number of peers configured on this interface",
 11390            "type": "integer"
 11391          },
 11392          "peers": {
 11393            "description": "Optional list of WireGuard peers",
 11394            "type": "array",
 11395            "items": {
 11396              "$ref": "#/definitions/WireguardPeer"
 11397            }
 11398          },
 11399          "public-key": {
 11400            "description": "Public key of this interface",
 11401            "type": "string"
 11402          }
 11403        }
 11404      },
 11405      "WireguardPeer": {
 11406        "description": "Status of a WireGuard peer\n\n+k8s:deepcopy-gen=true",
 11407        "properties": {
 11408          "allowed-ips": {
 11409            "description": "List of IPs which may be routed through this peer",
 11410            "type": "array",
 11411            "items": {
 11412              "type": "string"
 11413            }
 11414          },
 11415          "endpoint": {
 11416            "description": "Endpoint on which we are connected to this peer",
 11417            "type": "string"
 11418          },
 11419          "last-handshake-time": {
 11420            "description": "Timestamp of the last handshake with this peer",
 11421            "type": "string",
 11422            "format": "date-time"
 11423          },
 11424          "public-key": {
 11425            "description": "Public key of this peer",
 11426            "type": "string"
 11427          },
 11428          "transfer-rx": {
 11429            "description": "Number of received bytes",
 11430            "type": "integer"
 11431          },
 11432          "transfer-tx": {
 11433            "description": "Number of sent bytes",
 11434            "type": "integer"
 11435          }
 11436        }
 11437      },
 11438      "WireguardStatus": {
 11439        "description": "Status of the WireGuard agent\n\n+k8s:deepcopy-gen=true",
 11440        "properties": {
 11441          "interfaces": {
 11442            "description": "WireGuard interfaces managed by this Cilium instance",
 11443            "type": "array",
 11444            "items": {
 11445              "$ref": "#/definitions/WireguardInterface"
 11446            }
 11447          },
 11448          "node-encryption": {
 11449            "description": "Node Encryption status",
 11450            "type": "string"
 11451          }
 11452        }
 11453      }
 11454    },
 11455    "parameters": {
 11456      "bgp-afi": {
 11457        "type": "string",
 11458        "description": "Address Family Indicator (AFI) of a BGP route",
 11459        "name": "afi",
 11460        "in": "query",
 11461        "required": true
 11462      },
 11463      "bgp-neighbor-address": {
 11464        "type": "string",
 11465        "description": "IP address specifying a BGP neighbor.\nHas to be specified only when table type is adj-rib-in or adj-rib-out.\n",
 11466        "name": "neighbor",
 11467        "in": "query"
 11468      },
 11469      "bgp-router-asn": {
 11470        "type": "integer",
 11471        "description": "Autonomous System Number (ASN) identifying a BGP virtual router instance.\nIf not specified, all virtual router instances are selected.\n",
 11472        "name": "router_asn",
 11473        "in": "query"
 11474      },
 11475      "bgp-safi": {
 11476        "type": "string",
 11477        "description": "Subsequent Address Family Indicator (SAFI) of a BGP route",
 11478        "name": "safi",
 11479        "in": "query",
 11480        "required": true
 11481      },
 11482      "bgp-table-type": {
 11483        "enum": [
 11484          "loc-rib",
 11485          "adj-rib-in",
 11486          "adj-rib-out"
 11487        ],
 11488        "type": "string",
 11489        "description": "BGP Routing Information Base (RIB) table type",
 11490        "name": "table_type",
 11491        "in": "query",
 11492        "required": true
 11493      },
 11494      "cidr": {
 11495        "type": "string",
 11496        "description": "A CIDR range of IPs",
 11497        "name": "cidr",
 11498        "in": "query"
 11499      },
 11500      "endpoint-batch-delete-request": {
 11501        "name": "endpoint",
 11502        "in": "body",
 11503        "required": true,
 11504        "schema": {
 11505          "$ref": "#/definitions/EndpointBatchDeleteRequest"
 11506        }
 11507      },
 11508      "endpoint-change-request": {
 11509        "name": "endpoint",
 11510        "in": "body",
 11511        "required": true,
 11512        "schema": {
 11513          "$ref": "#/definitions/EndpointChangeRequest"
 11514        }
 11515      },
 11516      "endpoint-id": {
 11517        "type": "string",
 11518        "description": "String describing an endpoint with the format ` + "`" + `` + "`" + `[prefix:]id` + "`" + `` + "`" + `. If no prefix\nis specified, a prefix of ` + "`" + `` + "`" + `cilium-local:` + "`" + `` + "`" + ` is assumed. Not all endpoints\nwill be addressable by all endpoint ID prefixes with the exception of the\nlocal Cilium UUID which is assigned to all endpoints.\n\nSupported endpoint id prefixes:\n  - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595\n  - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343\n  - cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0\n  - container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)\n  - container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)\n  - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)\n  - cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1\n  - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444\n",
 11519        "name": "id",
 11520        "in": "path",
 11521        "required": true
 11522      },
 11523      "follow": {
 11524        "type": "boolean",
 11525        "description": "Whether to follow streamed requests",
 11526        "name": "follow",
 11527        "in": "query"
 11528      },
 11529      "identity-id": {
 11530        "type": "string",
 11531        "description": "Cluster wide unique identifier of a security identity.\n",
 11532        "name": "id",
 11533        "in": "path",
 11534        "required": true
 11535      },
 11536      "ipam-expiration": {
 11537        "type": "boolean",
 11538        "name": "expiration",
 11539        "in": "header"
 11540      },
 11541      "ipam-family": {
 11542        "enum": [
 11543          "ipv4",
 11544          "ipv6"
 11545        ],
 11546        "type": "string",
 11547        "name": "family",
 11548        "in": "query"
 11549      },
 11550      "ipam-ip": {
 11551        "type": "string",
 11552        "description": "IP address",
 11553        "name": "ip",
 11554        "in": "path",
 11555        "required": true
 11556      },
 11557      "ipam-owner": {
 11558        "type": "string",
 11559        "name": "owner",
 11560        "in": "query"
 11561      },
 11562      "ipam-pool": {
 11563        "type": "string",
 11564        "name": "pool",
 11565        "in": "query"
 11566      },
 11567      "labels": {
 11568        "description": "List of labels\n",
 11569        "name": "labels",
 11570        "in": "body",
 11571        "schema": {
 11572          "$ref": "#/definitions/Labels"
 11573        }
 11574      },
 11575      "map-name": {
 11576        "type": "string",
 11577        "description": "Name of map",
 11578        "name": "name",
 11579        "in": "path",
 11580        "required": true
 11581      },
 11582      "matchpattern": {
 11583        "type": "string",
 11584        "description": "A toFQDNs compatible matchPattern expression",
 11585        "name": "matchpattern",
 11586        "in": "query"
 11587      },
 11588      "pod-name": {
 11589        "type": "string",
 11590        "description": "K8s pod name\n",
 11591        "name": "pod",
 11592        "in": "path",
 11593        "required": true
 11594      },
 11595      "policy-replace": {
 11596        "type": "boolean",
 11597        "description": "If true, indicates that existing rules with identical labels should be replaced.",
 11598        "name": "replace",
 11599        "in": "query"
 11600      },
 11601      "policy-replace-with-labels": {
 11602        "type": "array",
 11603        "items": {
 11604          "type": "string"
 11605        },
 11606        "description": "If present, indicates that existing rules with the given labels should be deleted.",
 11607        "name": "replace-with-labels",
 11608        "in": "query"
 11609      },
 11610      "policy-rules": {
 11611        "description": "Policy rules",
 11612        "name": "policy",
 11613        "in": "body",
 11614        "required": true,
 11615        "schema": {
 11616          "type": "string"
 11617        }
 11618      },
 11619      "prefilter-spec": {
 11620        "description": "List of CIDR ranges for filter table",
 11621        "name": "prefilter-spec",
 11622        "in": "body",
 11623        "required": true,
 11624        "schema": {
 11625          "$ref": "#/definitions/PrefilterSpec"
 11626        }
 11627      },
 11628      "recorder-config": {
 11629        "description": "Recorder configuration",
 11630        "name": "config",
 11631        "in": "body",
 11632        "required": true,
 11633        "schema": {
 11634          "$ref": "#/definitions/RecorderSpec"
 11635        }
 11636      },
 11637      "recorder-id": {
 11638        "type": "integer",
 11639        "description": "ID of recorder",
 11640        "name": "id",
 11641        "in": "path",
 11642        "required": true
 11643      },
 11644      "service-address": {
 11645        "description": "Service address configuration",
 11646        "name": "address",
 11647        "in": "body",
 11648        "schema": {
 11649          "$ref": "#/definitions/FrontendAddress"
 11650        }
 11651      },
 11652      "service-config": {
 11653        "description": "Service configuration",
 11654        "name": "config",
 11655        "in": "body",
 11656        "required": true,
 11657        "schema": {
 11658          "$ref": "#/definitions/ServiceSpec"
 11659        }
 11660      },
 11661      "service-id": {
 11662        "type": "integer",
 11663        "description": "ID of service",
 11664        "name": "id",
 11665        "in": "path",
 11666        "required": true
 11667      },
 11668      "source": {
 11669        "type": "string",
 11670        "description": "Source from which FQDN entries come from",
 11671        "name": "source",
 11672        "in": "query"
 11673      },
 11674      "trace-selector": {
 11675        "description": "Context to provide policy evaluation on",
 11676        "name": "trace-selector",
 11677        "in": "body",
 11678        "schema": {
 11679          "$ref": "#/definitions/TraceSelector"
 11680        }
 11681      }
 11682    },
 11683    "x-schemes": [
 11684      "unix"
 11685    ]
 11686  }`))
 11687  }