Dashboard
- Add APIs Page
├── APIs List
├── Add APIs
└── APIs help
DB
- Create urconnect_settings Database at initial
Table
- Create api_endpoint table
- Create cardtype table (urconnect_settings Database)
- Create datatypes table (urconnect_settings Database)
- Create urconnect_address table (urconnect_settings Database)
Backend
- Update payload from APIs Page to Nexpie
- Fix large log from NEXPIE response
- Add autoupdate function.
- Add Modbus TCP reader.
- Python v2.7
- Flask
- win-inet-pton
- requests
- pymodbusTCP
- flask-login
- flask-sqlalchemy
- mysql-connector-python
- pytz
- pyping
- gitpython
pip install -r requirements.txtmodbus_ida
├── /webapp
├── cert (self-signed certificate files)
├── req (python package requirement)
├── static (css, images ,javascript files)
├── templates (html files)
└── webapp.py
├── app.py
├── app_config.ini
└── version.txt
- Download IOx Client from Cisco
- Build docker image from dockerfile.
docker build -t modbus_ida .
- Save image to tar archive.
docker save -o rootfs.tar
- Build IOx package from tar archive. (IOx Client and tar archive in the same directory)
./ioxclient package .
- Add command to dockerfile
EXPOSE 6969
WORKDIR /modbus_ida
CMD ["python","app.py"]
- Build docker image from dockerfile.
docker build -t modbus_ida .
- Create docker container from docker image.
docker run -it -d --restart=always -p 6969:6969 your_docker_image
