def add_hotspot2(self, name, network_access_internet=True, network_type=2, venue_group=2, venue_type=0):
"""
Add HotSpot 2.0, simple settings
:param name:
:param network_access_internet:
:param network_type:
:param venue_group:
:param venue_type:
:return:
"""
content = self.sitecmdjson('/rest/hotspot2conf', {
"name": name,
"network_access_internet": network_access_internet,
"network_type": network_type,
"venue_group": venue_group,
"venue_type": venue_type
})
return self.response(content, inspect.stack()[0].function, 'Add Hotspot 2.0')
评论列表
文章目录