▍概述

查询系统下的所有符合条件的IP段

▍URL

/index.php?m=api&a=ipsListing

▍请求参数

字段名
变量名
必填
类型
描述
搜索内容
search
否
string
对IP段的搜索
分页数量
listpages
否
int
每一页显示的数据的数量
排序类型
orderby
否
string
用来排序的字段
排序规则
sorting
否
string
升序 asc 降序 desc

▍返回参数

字段名
变量名
类型
描述
IP段列表
listing
array
id  IP段id
type IP段类型(public:公网,client:客户,ipmi:IPMI,intranet:内网,other:其他)
ipsection  IP段
ipsname  IP段名称
remarks  备注
used  已使用IP数量
unused  未使用IP数量 
abnormal  故障IP数量
groupname  分组名称
vlan  IP段内IP所在vlan
housename 所属机房名称
auto_allot 是否启用自动分配(0:是,1:否)
根据查询条件查询到的所有IP段数据
IP段总数
sum
int
系统内IP段数据的总数
分页数量
listpages
int
每一页显示的数据的数量
搜索内容
search
string
自定义的搜索内容
排序类型
orderby
string
用来排序的字段
排序规则
sorting
string
升序 asc 降序 desc