#!/usr/bin/env python3 from mk_rb4011_exec import run print(run(r""" :put "===ID===" /system identity print :put "===HS===" /ip hotspot print detail :put "===HSPROF===" /ip hotspot profile print detail :put "===BIND===" /ip hotspot ip-binding print detail :put "===ACTIVE===" /ip hotspot active print :put "===COOKIE===" /ip hotspot cookie print count-only :put "===HOSTS===" /ip hotspot host print :put "===ADDR===" /ip address print :put "===DHCP===" /ip dhcp-server print detail /ip dhcp-server network print :put "===LEASES-HS===" /ip dhcp-server lease print where server=dhcp-hs :put "===BRIDGE-PORT===" /interface bridge port print :put "===PPPOE-SRV===" /interface pppoe-server server print :put "===FILTER===" /ip firewall filter print :put "===NAT===" /ip firewall nat print :put "===RAW===" /ip firewall raw print """, timeout=90))