控制Promise SmartStor NS4600 NAS服务器
ns4600的Python项目详细描述
承诺SmartStor NS4600非常棒但你有没有想过 启动和关闭它而不必触碰web用户界面好吧,现在你 用这个模块就可以做到
用法
轻松控制NS4600:
import ns4600 # wake up NAS (must enable Wake-On-LAN on device) ns4600.wake('00:01:02:03:04:05') ... # shut down NAS ns4600.shutdown('admin','password','http://my-ns4600.local')
安装
安装ns4600模块很简单:
$ pip install ns4600