The node-engine seat's read verb converged (ADR 0683, design 33 control-verbs §10)
The holder of node-packet-filter refuses allow and disallow on an adopted node and never assumes converged, so it asks the node-engine the node's convergence state: adopted or converged, since when, and the found firewall's kind when adopted. The composition answer gains withheld-parts, each part a compose kept because its read did not answer, with why: the filter's node-packet-filter.allowed. Packages generated again by seatgen (seatgen -check clean). Builds: design 33 control-verbs §10; design 08 control-verbs §4; ADR 0683; H-A-316, H-A-321
This commit is contained in:
Vendored
+24
@@ -23,6 +23,7 @@ export declare const verbs: {
|
||||
readonly firstViewAgain: "first-view-again";
|
||||
readonly entryAgain: "entry-again";
|
||||
readonly processBuilds: "process-builds";
|
||||
readonly converged: "converged";
|
||||
};
|
||||
|
||||
export declare const events: {
|
||||
@@ -922,6 +923,13 @@ export interface CompositionAnswerWithheldItem {
|
||||
"why": string;
|
||||
}
|
||||
|
||||
export interface CompositionAnswerWithheldPartsItem {
|
||||
/** the read asked, as <seat>.<verb> */
|
||||
"part": string;
|
||||
/** why it did not answer, naming the holder asked */
|
||||
"why": string;
|
||||
}
|
||||
|
||||
/** is what composition answers. */
|
||||
export interface CompositionAnswer {
|
||||
/** the module's last apply that did not end running; absent when none */
|
||||
@@ -949,6 +957,8 @@ export interface CompositionAnswer {
|
||||
"want"?: CompositionAnswerWant;
|
||||
/** the module's marked subjects the grants part withholds from this node's runtime, each with why, read through mesh-grants' verb withheld (design 46 approval mark 6) */
|
||||
"withheld"?: CompositionAnswerWithheldItem[];
|
||||
/** each part a compose kept because its read did not answer, with why (design 08 control-verbs §4, H-A-321): for the packet filter's holder the part node-packet-filter.allowed, its filter file kept as it runs */
|
||||
"withheld-parts"?: CompositionAnswerWithheldPartsItem[];
|
||||
/** withheld unknown: the grants part does not answer, when its verb withheld did not answer */
|
||||
"withheld-unknown"?: string;
|
||||
}
|
||||
@@ -1176,6 +1186,20 @@ export interface ProcessBuildsInput {
|
||||
/** is what process-builds answers. */
|
||||
export type ProcessBuildsAnswer = ProcessBuilds;
|
||||
|
||||
/** is what converged takes. */
|
||||
export interface ConvergedInput {
|
||||
}
|
||||
|
||||
/** is what converged answers. */
|
||||
export interface ConvergedAnswer {
|
||||
/** the kind of the firewall found, for an adopted node */
|
||||
"found"?: string;
|
||||
/** when the node became so, RFC 3339; absent where the engine recorded no time for it */
|
||||
"since"?: string;
|
||||
/** the node's mode: adopted (the found firewall's terms) or converged (the mesh's own filter) */
|
||||
"state": "adopted" | "converged";
|
||||
}
|
||||
|
||||
/** is the body of the event asked. */
|
||||
export type AskedEvent = ActSaid;
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ export const verbs = {
|
||||
firstViewAgain: "first-view-again",
|
||||
entryAgain: "entry-again",
|
||||
processBuilds: "process-builds",
|
||||
converged: "converged",
|
||||
};
|
||||
|
||||
export const events = {
|
||||
|
||||
Reference in New Issue
Block a user