V4:
- Disable MAC changes in a running system.
V3:
- Updated API.json to filter mac address.
- Improved UI code.
V2:
- Updated API.json to reflect only mac address as required parameter.
- Removed input text filters.
- Updated error message.
This patchset implements a new feature in Kimchi, it allows users to edit a guest MAC
address.
I have a fork of kimchi in my github, so if you prefer to use their diff tool (syntax
highlight) you can check this link out:
https://github.com/kimchi-project/kimchi/compare/master...jrziviani:guest...
Jose Ricardo Ziviani (3):
Implement backend code to edit MAC address of a guest
Implement frontend code to edit MAC address of a guest
Update test cases to reflect MAC address update changes
src/kimchi/API.json | 22 ++++++++--------
src/kimchi/i18n.py | 5 +++-
src/kimchi/model/vmifaces.py | 52 +++++++++++++++++++++++++------------
tests/test_model.py | 13 +++++++---
tests/test_rest.py | 12 +++++----
ui/js/src/kimchi.guest_edit_main.js | 44 +++++++++++++++++++++----------
ui/pages/guest-edit.html.tmpl | 6 +++--
7 files changed, 100 insertions(+), 54 deletions(-)
--
1.9.1