updated to work with changes for rel/5.2
This commit is contained in:
parent
b18d5b5805
commit
38ddec1ed9
3 changed files with 144 additions and 200 deletions
|
@ -78,12 +78,20 @@ class CoreRest {
|
|||
return await $.getJSON(`/sessions/${this.currentSession}/emane/models`);
|
||||
}
|
||||
|
||||
async getConfig(config) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/config`, config);
|
||||
async getEmaneConfig(config) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/emane/config`, config);
|
||||
}
|
||||
|
||||
async setConfig(config) {
|
||||
return await putJson(`/sessions/${this.currentSession}/config`, config);
|
||||
async getEmaneModelConfig(config) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/emane/model/config`, config);
|
||||
}
|
||||
|
||||
async setEmaneConfig(config) {
|
||||
return await putJson(`/sessions/${this.currentSession}/emane/config`, config);
|
||||
}
|
||||
|
||||
async setEmaneModelConfig(config) {
|
||||
return await putJson(`/sessions/${this.currentSession}/emane/model/config`, config);
|
||||
}
|
||||
|
||||
async getNode(nodeId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue