-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default selector for readonly MAC module
Initially pointed out in #18, the MAC module doesn't show information about the port, this stems from the default selector used in the module, which attempts to pull writable information, however the REST API resource does not allow configuration, so the payload is empty, there also appears to be an issue where the MAC object's path is misconstructed in some cases. This CL changes the default selector to 'status' to get the expected behavior when using the get() method, and fixes the path issue by forcing the mac address to always be lowercase. Change-Id: I8baafae02a839e0f6feaec248240a0cdebb379f8
- Loading branch information
1 parent
3e8ded9
commit d5c30e8
Showing
1 changed file
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters