mPower release 5.2 API
Home › Forums › Conduit: AEP Model › mPower release 5.2 API
- This topic has 3 replies, 2 voices, and was last updated 4 years, 6 months ago by William Laing.
-
AuthorPosts
-
June 2, 2020 at 12:24 pm #30657William LaingParticipant
Good day –
I noticed that SAVE and RESTART has been replaced by SAVE and APPLY for some items as specified in the release notes for 5.2.
1. But I did not see a corresponding save_apply in the updated API (mPower Release 5.2 – API Delta).
2. Is the save API command the same as *SAVE and APPLY*?
3. Please verify my assumption: when I click on submit, it changes the configuration, but that change would not survive a restart. Only *SAVE and APPLY* or *SAVE and RESTART* preserves the config change across restarts?
4. When *SAVE and APPLY* or *SAVE and RESTART* is highlighted, is there a way to find out which configuration items have been changed?
Thank you in advance for you help.
William- This topic was modified 4 years, 6 months ago by William Laing.
- This topic was modified 4 years, 6 months ago by William Laing.
- This topic was modified 4 years, 6 months ago by William Laing.
June 2, 2020 at 1:02 pm #30661Jeff HatchKeymasterHello William,
Here is a response from one of the API developers:
1. But I did not see a corresponding save_apply in the updated API (mPower Release 5.2 – API Delta).
I checked it just now and looks like it was not documented in the API Delta file for some reason. Please two document attached for all Save and Apply related stuff.2. Is the save API command the same as *SAVE and APPLY*?
No, it is no the same. The behavior of the Save command is left unchanged comparing to the previous versions. It allows to save the settings without applying them.3. Please verify my assumption: when I click on submit, it changes the configuration, but that change would not survive a restart. Only *SAVE and APPLY* or *SAVE and RESTART* preserves the config change across restarts?
Yes, it is correct.4. When *SAVE and APPLY* or *SAVE and RESTART* is highlighted, is there a way to find out which configuration items have been changed?
Unfortunately, this information can’t be fetched on a user request in mPower 5.2.For #4 I can put in a feature enhancement request.
Also, here is some additional information from another thread I had with the developer:
[JEFF] 1. Is there still a Save & Restart in the API?
[SERHII] Yes, it’s still available and is actually recommended for some cases. Please see the document attached (same as in the other email thread).[JEFF] 2. As the customer asks, does the Save do a Save & Apply, or just save the database changes?
[SERHII] It just saves the database changes.[JEFF] 3. For Save & Apply, if the operation would require a reboot, what kind of response does the client get?
[SERHII] In general – this is the response.HTTP/1.1 409 Conflict
{
“code”: 409,
“error”: “Reboot is needed to apply the changes”,
“status”: “fail”
}Thank You,
Jeff
June 2, 2020 at 1:05 pm #30662Jeff HatchKeymasterWilliam,
For some documentation out of development on this and the general changes to the API for the latest release open a Support Portal ticket, and request this info. Ask for the case to be assigned to Jeff Hatch, and I can get you the information.
In general, I don’t get assigned support cases because I am in engineering, but until the docs get the additional information on Save & Apply added, I can supply the documentation from development to assist.
Jeff
June 3, 2020 at 8:49 am #30663William LaingParticipantThank you, Jeff – this is very helpful!
I will open a Portal ticket as you recommend.
Have a great day!
William -
AuthorPosts
- You must be logged in to reply to this topic.