Project

General

Profile

« Previous | Next » 

Revision d1c1f81d

Added by Frank Wall over 10 years ago

fixes #3941 - Support for Junos ZTP

View differences:

lib/proxy/tftp.rb
end
end
class Ztp < Tftp
def pxeconfig_dir
"#{path}/ztp.cfg"
end
def pxe_default
pxeconfig_dir
end
def pxeconfig_file mac
"#{pxeconfig_dir}/"+mac.gsub(/:/,"").upcase
end
end
class << self
def fetch_boot_file dst, src
filename = src.split("/")[-1]

Also available in: Unified diff