(Working) OMAPI statements for SPARC vendor-options support in ISC DHCP

Hi,

I'd like to refer to the older post about the subject -
https://groups.google.com/forum/#!msg/foreman-users/CdqWH65-K3U/gcyKKZwVdzEJ

There was also an issue raised to track this -
http://projects.theforeman.org/issues/3067

it was commented that SPARC boot is currently impossible by ISC OMAPI
limitations, however I'd like to report that I got it working in my
environment.
I grouped all SPARC SUNW options into following OMAPI statement object:

set statements="vendor-option-space SUNW; next-server=0a:e5:0b:18; filename
"inetboot.sun4u.sol_10_0811_sparc.mbl"; option SUNW.JumpStart-server
"js-server:/Solaris/jumpstart"; option SUNW.sysid-config-file-server
"js-server:/Solaris/jumpstart/sysidcfg/sysidcfg_primary/sysidcfg"; option
SUNW.install-server-hostname "js-server"; option
SUNW.install-server-ip-address 10.229.11.24; option SUNW.install-path
"/Solaris/install/Solaris_5.10_sparc_hw0811"; option
SUNW.root-server-hostname "js-server"; option SUNW.root-server-ip-address
10.229.11.24; option SUNW.root-path-name
"/Solaris/install/Solaris_5.10_sparc_hw0811/Solaris_10/Tools/Boot";"

This populated following lease:

host sparc-host{
dynamic;
hardware ethernet 00:21:28:6d:62:e8;
fixed-address 10.229.11.38;
supersede server.vendor-option-space = "SUNW";
supersede server.next-server = 0a:e5:0b:18;
supersede server.filename = "inetboot.sun4u.sol_10_0811_sparc.mbl";
supersede SUNW.JumpStart-server = "js-server:/Solaris/jumpstart";
supersede SUNW.sysid-config-file-server =
"js-server:/Solaris/jumpstart/sysidcfg/sysidcfg_primary/sysidcfg";
supersede SUNW.install-server-hostname = "js-server";
supersede SUNW.install-server-ip-address = 0a:e5:0b:18;
supersede SUNW.install-path =
"/Solaris/install/Solaris_5.10_sparc_hw0811";
supersede SUNW.root-server-hostname = "js-server";
supersede SUNW.root-server-ip-address = 0a:e5:0b:18;
supersede SUNW.root-path-name =
"/Solaris/install/Solaris_5.10_sparc_hw0811/Solaris_10/Tools/Boot";
}

On the SPARC client side I've verified all vendor option values with
dhcpinfo and they were set up properly. I was able to jumpstart and build
Solaris SPARC.

Given that the above worked and that SPARC support in ISC DHCP via OMAPI
has been already requested by a number of people, could we implement it in
Foreman?
This will, in my opinion, drive product popularity even more higher.

Regards,
AF