web app, updated emane config api to be a general config api
This commit is contained in:
parent
a55cd6a524
commit
c90ee5fc84
3 changed files with 28 additions and 26 deletions
|
@ -69,8 +69,8 @@ class CoreRest {
|
|||
return await $.getJSON(`/sessions/${this.currentSession}/emane/models`);
|
||||
}
|
||||
|
||||
async getEmaneOptions(nodeId) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/emane/options`, {node: nodeId});
|
||||
async getConfig(config) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/config`, config);
|
||||
}
|
||||
|
||||
async setConfig(config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue