nsx_node_services¶
NSX Management API — node services (/api/v1/node/services/*).
Currently wraps the HTTP service (/node/services/http) whose
service_properties block controls DoS-mitigation knobs required by
STIG 912 controls:
client_api_rate_limit— max requests/sec per clientclient_api_concurrency_limit— max concurrent requests per clientglobal_api_concurrency_limit— max concurrent requests overallconnection_timeout— idle connection timeout (seconds)redirect_host— hostname the manager redirects HTTP → HTTPS to
The endpoint is a singleton: PUT is a total replacement of the config, so callers that only want to change a subset of fields must read the current config, merge, and PUT the merged blob.
- saltext.vcf.clients.nsx_node_services.http_get(opts, profile=None)[source]¶
Return the current NSX Manager HTTP service configuration.
- saltext.vcf.clients.nsx_node_services.http_put(opts, body, profile=None)[source]¶
PUT a complete HTTP service configuration blob to NSX.
body is the entire node-services-http document — this endpoint does NOT accept partial updates. Callers that want to change only certain
service_propertiesfields shouldhttp_getfirst, merge onto the returned document, and pass the result here.
- saltext.vcf.clients.nsx_node_services.http_set(opts, profile=None, **fields)[source]¶
Update fields under
service_propertiesidempotently.Reads the current config, overlays the supplied
service_propertiesfields, and PUTs the merged document back. Returns the PUT response.Any
fieldskey that isNoneis dropped (treated as “leave as-is”).