web app, initial working emane option configuration
This commit is contained in:
parent
ddfa0ddfa4
commit
a55cd6a524
6 changed files with 262 additions and 3 deletions
|
@ -66,7 +66,15 @@ class CoreRest {
|
|||
}
|
||||
|
||||
async getEmaneModels() {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/emane`);
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/emane/models`);
|
||||
}
|
||||
|
||||
async getEmaneOptions(nodeId) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/emane/options`, {node: nodeId});
|
||||
}
|
||||
|
||||
async setConfig(config) {
|
||||
return await putJson(`/sessions/${this.currentSession}/config`, config);
|
||||
}
|
||||
|
||||
async createNode(node) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue