metal-cli icon indicating copy to clipboard operation
metal-cli copied to clipboard

Network Helper options

Open displague opened this issue 4 years ago • 0 comments

What problem are you facing?

I would like to use a single binary to handle all common tasks that are part of the Equinix Metal platform.

Configuring Bird is possible with https://github.com/packethost/network-helpers/blob/master/routers/bird/README.md, but the installation and requirements are more involved than pulling a single static go binary.

How could the Equinix Metal CLI help solve this problem?

Offer a packet bird (or packet bgp bird) command that generates the bird configuration (via metadata or API) and provides similar functionality to the helper (including persistent network device configuration).

While the network-helper recommends building the bird entrypoint.sh as a local image, the packet cli could be used to offer this image.

It appears that the network-helper includes a feature to run the image in a supervisord loop, to update the configuration. Similar features would need to be provided (built in go, perhaps - watch the endpoint, update the config and restart bird on update).

displague avatar Nov 18 '20 16:11 displague