send agent traffic through squid once its hive announces it
This commit is contained in:
parent
86e9f49fe6
commit
b551eb02ff
1 changed files with 885 additions and 27 deletions
|
|
@ -243,6 +243,14 @@ pub struct HiveFacts {
|
|||
/// `HIVE_AGENT_NATS_URL`: where the agent reaches the swarm queue, from
|
||||
/// `deploy.hive-controller.queue.agentNatsUrl`.
|
||||
pub agent_nats_url: Option<String>,
|
||||
/// `HIVE_SQUID_PROXY`: `<bridge IP>:<port>` of this host's squid, which
|
||||
/// checks each agent's proxy credential and applies the agent's
|
||||
/// `unrestricted_internet` flag. Set only by a hive that carries that
|
||||
/// policy; an agent sends nothing through a proxy without it.
|
||||
pub squid_proxy: Option<String>,
|
||||
/// `HIVE_EGRESS_NO_PROXY`: the comma-separated hosts an agent must reach
|
||||
/// directly and never through the squid above.
|
||||
pub egress_no_proxy: Option<String>,
|
||||
}
|
||||
|
||||
/// Wall-clock bound hive-priv puts on one [`PrivRequest::MeasureAgentDisk`]
|
||||
|
|
|
|||
Loading…
Reference in a new issue