Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About WebAPI, JSON
2017-09-26, 12:02
Post: #4
RE: About WebAPI, JSON
(2017-09-26 08:22)BloodFox Wrote:  
Code:
webapi iscsiaddress http://api.example.com/GetiSCSIAddress/${net0/ip}
sanhook ${iscsiaddress}

You can already achieve this; simply have your web server return a trivial iPXE script such as:

Code:
#!ipxe
set iscsiaddress iscsi:192.168.0.1::::iqn.1992-01.com.example.target

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
About WebAPI, JSON - BloodFox - 2017-09-26, 03:36
RE: About WebAPI, JSON - NiKiZe - 2017-09-26, 06:43
RE: About WebAPI, JSON - BloodFox - 2017-09-26, 08:22
RE: About WebAPI, JSON - mcb30 - 2017-09-26 12:02
RE: About WebAPI, JSON - NiKiZe - 2017-09-26, 21:10



User(s) browsing this thread: 1 Guest(s)