Skip to content

hardLinksAddresses in bootstrap.json

Justin Parker edited this page Jun 14, 2016 · 2 revisions

hardLinksAddresses can now be configured in the bootstrap.json. These are simply a list of hosts which discovery information can be directly obtain from.

The feature is present in release nodelhost-dev-2.1.1-rev140.jar and later (see releases section).

bootstrap.json example:

  ... "hardLinksAddresses": [ "127.0.0.1", "192.168.1.203"] ...

bootstrap.schema reads:

"hardLinksAddresses" : {
	"type" : "array",
	"required" : false,
	"title" : "Hard links",
	"desc" : "If IGMP multicasting is inconvenient or unreliable, these addresses can be used to 
	          assist advertisement and discovery. Examples might be '127.0.0.1' when locally 
			  hosted nodes do not appear or '192.168.1.203' if a particular hosts' nodes do not 
			  appear or even '192.168.1.255' to use UDP broadcast across an entire subnet. 
			  (command-line arg is '-h')",
	"items" : {
		"type" : "string"
	}
}