Skip to content

ENT-4244: Added the Host cleanup API documentation & updated Settings api fields#3649

Open
aleksandrychev wants to merge 2 commits into
cfengine:masterfrom
aleksandrychev:ENT-4244
Open

ENT-4244: Added the Host cleanup API documentation & updated Settings api fields#3649
aleksandrychev wants to merge 2 commits into
cfengine:masterfrom
aleksandrychev:ENT-4244

Conversation

@aleksandrychev
Copy link
Copy Markdown
Contributor

No description provided.

@aleksandrychev
Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom
Copy link
Copy Markdown

Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
@aleksandrychev
Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom
Copy link
Copy Markdown

Disables all AI features, including the [AI chat][AI chat API] endpoint.
Default value: `false`
- **allowLlmViewAccessToAttributesNames** _(boolean)_
Allows the LLM used by the [AI chat][AI chat API] to receive the names of inventory attributes when generating SQL queries. When `false`, the AI chat operates without knowledge of attribute names defined on the hub.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Allows the LLM to be used by"...

Configuration for the duplicate-hostname stage of the [Host cleanup API][Host cleanup API]. Object shape: `{ "enabled": boolean, "completelyClear": boolean }`. When `completelyClear` is `true`, deleted duplicates are also permanently removed in the same run.
Default value: `{ "enabled": false, "completelyClear": false }`
- **duplicateIpHostsCleanup** _(object)_
Configuration for the duplicate-IP stage of the [Host cleanup API][Host cleanup API]. Object shape: `{ "enabled": boolean, "completelyClear": boolean }`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for completeness do you want to include the same description of completelyClear for this and following instnaces? e.g. copy

When completelyClear is true, deleted duplicates are also permanently removed in the same run.

several times? That way copy/paste/mods are more likely to always include the explanation instead of relying on the order of things as-is.

Configuration for the group stage of the [Host cleanup API][Host cleanup API]. Object shape: `{ "enabled": boolean, "groupId": integer, "completelyClear": boolean }`. Every host in the given shared group is deleted when enabled.
Default value: `{ "enabled": false, "groupId": "", "completelyClear": false }`
- **inactiveHostsCleanup** _(object)_
Configuration for the inactivity stage of the [Host cleanup API][Host cleanup API]. Object shape: `{ "enabled": boolean, "days": integer, "completelyClear": boolean }`. Hosts that have not reported in for `days` days are deleted when enabled.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change to "Hosts that have not reported for days days are deleted when enabled."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants