#!/usr/bin/env python3 """Post-change verify. No secrets.""" from mk_hub_exec import run print(run(r""" :put "===ID===" /system identity print :put "===PORTS===" /interface bridge port print :put "===HS===" /ip hotspot print :put "===ADDR===" /ip address print :put "===USERS===" :put ("hs-users=" . [:len [/ip hotspot user find]]) :put ("ppp=" . [:len [/ppp secret find]]) :put "===HW-HS===" /interface bridge port print where bridge=bridge-hotspot :put "===OFFICE===" /interface bridge port print where bridge=bridge :put "===BR-SET===" /interface bridge settings print :put "===WIFI===" /interface wireless print :put "===PING-WG===" /ping 10.88.0.1 count=2 :put "===PING-WAN===" /ping 1.1.1.1 count=2 """, timeout=50))