Please fill out the following when submitting the PR
Status
[x] READY
[ ] IN-DEVELOPMENT
[ ] ON-HOLD
Description
This makes it possible to call rdmc.py from an external binary.
In Debian we use /usr/bin/ilorest that calls this new function, as rdmc.py isn't in /usr/bin and isn't executable. In /usr/bin/ilorest, we have:
#! /usr/bin/python3
# PBR Generated from 'console_scripts'
import sys
from ilorest.rdmc import ilorestcommand
if __name__ == "__main__":
sys.exit(ilorestcommand())
which is generated by PBR (that we use for the Python packaging).
Before Status can be set to READY I have completed at least ONE of the following:
[ ] Check if documentation updates
[ ] Check if example code updates
[ ] Pylint static analysistests are passing above 9.0/10.0
[N/A] Unit tests added for any new functions/features (Not required yet)
[ ] Automatic testing passed
[x] Targeted/Custom Testing performed. Indicate the results in the description above or as additional comments.
—–Synopsis of Commits Above—–
Please fill out the following when submitting the PR
Status
Description
This makes it possible to call rdmc.py from an external binary. In Debian we use /usr/bin/ilorest that calls this new function, as rdmc.py isn't in /usr/bin and isn't executable. In /usr/bin/ilorest, we have: #! /usr/bin/python3 # PBR Generated from 'console_scripts' import sys from ilorest.rdmc import ilorestcommand if __name__ == "__main__": sys.exit(ilorestcommand()) which is generated by PBR (that we use for the Python packaging).
Before Status can be set to READY I have completed at least ONE of the following: