Cisco Cisco Identity Services Engine 1.2 产品宣传页

下载
页码 164
 
7-51
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
 7       外部 RESTful 服务 API 操作 
  适用于网络设备的外部 RESTful 服务 API
            <NetworkDeviceIP>
                <ipaddress>1.2.3.4</ipaddress>
                <mask>32</mask>
            </NetworkDeviceIP>
        </NetworkDeviceIPList>
        <modelName>Unknown</modelName>
        <NetworkDeviceGroupList>
            <NetworkDeviceGroup>1d8c62b0-2539-11e3-84ad-
    00215edbb2a8</NetworkDeviceGroup>
            <NetworkDeviceGroup>37053aa0-2539-11e3-84ad-
    00215edbb2a8</NetworkDeviceGroup>
        </NetworkDeviceGroupList>
        <softwareVersion>Unknown</softwareVersion>
    </ns3:networkdevice>
}
创建网络设备调用的响应示例
HTTP/1.1 201 OK (see location header for the ID of the new device)
Date: Thu, 12 Jul 2012 23:59:59 GMT
Content-Type: application/vnd.com.cisco.ise.network.networkdevice.1.0+xml
Location: https://<ISE-ADMIN-NODE>:9060/ers/config/networkdevice/444
更新网络设备
下表列出更新网络设备 API 调用的主要特征:
更新网络设备调用的请求示例
PUT https://<ISE-ADMIN-NODE>:9060/ers/config/networkdevice/333 
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type: application/vnd.com.cisco.ise.network.networkdevice.1.0+xml {
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ns3:networkdevice
        xmlns:ns2="ers.ise.cisco.com"
        xmlns:ns3="network.ers.ise.cisco.com"
    name="nd2_updated">
        <authenticationSettings>
            <enableKeyWrap>true</enableKeyWrap>
        </authenticationSettings>
    </ns3:networkdevice>
}
 7-55
更新网络设备
 API 
调用的主要特征
说明
更新指定的网络设备
摘要
PUT /ers/config/networkdevice/{id}
请求头
Accept、Authorization、Host
查询字符串
N/A
请求消息正文
网络设备
响应头
Content-Length、Content-Type
响应消息正文
更新字段的列表
响应状态
200、400、401、403、415、500