Is it possible to customize the printing of the Portail captive tickets?
Today this is not implemented in OmniVista 2500 NMS. It is possible to customise via APIs, e.g. via this project (you’ll need to adapt this yourself to your needs: https://github.com/BennyE/stellar-add-guest)
Hello, thank you so much for your help, it’s noted, have a nice day.
If I want to use the script, I fail when executing it during the import of the requests library. How can I solve this problem, or how do I install libraries in the first place, if that is possible?
(post deleted by author)
You can download the package py-requests.deb and copy it to the directory /flash/working/pkg on the switch.
Then install it using:
TOR-VC> pkgmgr install py-requests.deb
Verifying MD5 checksum.. OK
System Memory check.. PASS
Extracting control files for package py-requests.deb .. OK
TARGET_AOS_PLATFORMS OS6360 OS6465 OS6560 OS6570 OS6860 OS6860N OS6865 OS6870 OS6900 OS6900-ADVANCED OS9900
Package target platforms check.. PASS
Package Dependency check.. PASS
Unpacking py-requests (from /flash/working/pkg/py-requests.deb)...
Setting up py-requests (1)...
Please wait...
Looking in links: /tmp/tmp47ch2o5f
Requirement already satisfied: setuptools in /lib/python/lib/python3.9/site-packages (58.1.0)
Requirement already satisfied: pip in /flash/switch/pip_packages (23.3.1)
Looking in links: file:///flash/working/pkg/py-requests/
Processing /flash/working/pkg/py-requests/requests-2.22.0-py2.py3-none-any.whl (from -r /flash/working/pkg/py-requests/requirements.txt (line 1))
Processing /flash/working/pkg/py-requests/chardet-3.0.4-py2.py3-none-any.whl (from requests==2.22.0->-r /flash/working/pkg/py-requests/requirements.txt (line 1))
Processing /flash/working/pkg/py-requests/idna-2.8-py2.py3-none-any.whl (from requests==2.22.0->-r /flash/working/pkg/py-requests/requirements.txt (line 1))
Processing /flash/working/pkg/py-requests/urllib3-1.25.7-py2.py3-none-any.whl (from requests==2.22.0->-r /flash/working/pkg/py-requests/requirements.txt (line 1))
Processing /flash/working/pkg/py-requests/certifi-2019.11.28-py2.py3-none-any.whl (from requests==2.22.0->-r /flash/working/pkg/py-requests/requirements.txt (line 1))
Installing collected packages: chardet, certifi, urllib3, idna, requests
Successfully installed certifi-2019.11.28 chardet-3.0.4 idna-2.8 requests-2.22.0 urllib3-1.25.7
Installing package py-requests.deb .. OK
Execute the command 'write memory' in order for the py-requests package to remain installed after a system reboot.
TOR-VC>
After installation, the Python script should run without any issues.
