Is it possible to have the agent/slave ip referenced in a cni network 
configuration?

{
  "name": "cni-apps",
  "type": "bridge",
  "bridge": "cni-apps0",
  "mtu": 1462,
  "isGateway": false,
  "ipMasq": false,
  "ipam": {
    "type": "host-local",
    "subnet": "192.168.122.0/24",
    "rangeStart": "192.168.122.171",
    "rangeEnd": "192.168.122.179",
    "routes": [ { "dst": "$AGENTIP/32", "gw": "0.0.0.0" }]
  },
  "args": {
    "cni": { "ips": ["192.168.122.175"] }
  }
}

Reply via email to