opiproject / sztp

Secure Zero Touch Provisioning (sZTP) in OPI
Apache License 2.0
20 stars 14 forks source link

agent: add new option `--bootstrap-url` #401

Closed glimchb closed 5 months ago

glimchb commented 5 months ago

to skip DHCP parsing

  option sztp-redirect-urls "https://bootstrap:8080/restconf/operations/ietf-sztp-bootstrap-server:get-bootstrapping-data";

user may want to give direct option where the boostrap server is...

see code here to skip: https://github.com/opiproject/sztp/blob/5461c97dc1b0782d3d27ed643b5b0f6dfffb5705/sztp-agent/pkg/secureagent/daemon.go#L43