Using config.json file
-
- Posts: 630
- Joined: Mon May 12, 2008 10:55 am
Using config.json file
Using the Config webpage of a module, after I get the configuration setup can I then download that file and upload it to other modules to configure them the same?
Re: Using config.json file
Hello,
Yes, that was one of the design goals.
The production and deployment section of the manual might help a bit. It also lists the update options (from your other post regarding applications).
https://www.netburner.com/NBDocs/Develo ... otoc_md117
Yes, that was one of the design goals.
The production and deployment section of the manual might help a bit. It also lists the update options (from your other post regarding applications).
https://www.netburner.com/NBDocs/Develo ... otoc_md117
-
- Posts: 630
- Joined: Mon May 12, 2008 10:55 am
Re: Using config.json file
Then I assume module specific parameters are ignored, such the link-local IPv6 address and the MAC address.
Can I edit the file to make it more readable by giving each parameter its own line and still be able to upload it successfully?
Can I edit the file to make it more readable by giving each parameter its own line and still be able to upload it successfully?
Re: Using config.json file
As a general rule, the mac address should not change, so that is not in the general configuration. Do you own your own IEEE MAC address range? You must be registered an have purchased your own set of values in order to change it.
Link local is based on the MAC, so same rules apply.
Link local is based on the MAC, so same rules apply.
Re: Using config.json file
You can remove anything from the JSON you don't want to set...
You can also get/set parts of the config...
Suppose you just want to set the AppData part...
You can use the URL: ipaddress:20034/Config/AppData
to download just the AppData section of the config...
Then you can use wget or any other tool to post that to Config/AppData to just set that part....
You can also get/set parts of the config...
Suppose you just want to set the AppData part...
You can use the URL: ipaddress:20034/Config/AppData
to download just the AppData section of the config...
Then you can use wget or any other tool to post that to Config/AppData to just set that part....
Re: Using config.json file
You can remove anything from the JSON you don't want to set...
You can also get/set parts of the config...
Suppose you just want to set the AppData part...
You can use the URL: ipaddress:20034/Config/AppData
to download just the AppData section of the config...
Then you can use wget or any other tool to post that to Config/AppData to just set that part....
You can also get/set parts of the config...
Suppose you just want to set the AppData part...
You can use the URL: ipaddress:20034/Config/AppData
to download just the AppData section of the config...
Then you can use wget or any other tool to post that to Config/AppData to just set that part....