PUT Modify Netmap Node Entry

Modifies a netmap node entry in an existing netmap on the Secure Proxy Configuration Manager.

With the modifyNetmapNodes/{netmapName} method, you can modify an existing netmap node entry in an existing netmap, on the Secure Proxy Configuration Manager.

This API method requires authentication. The authentication token generated at login must be passed in through the "X-Authentication" header.

Table 1. Modify Netmap Node Entry request details

Modify Netmap Node Entry request details.

Method Resource URI Description

PUT

netmap

/sspcmrest/sspcm/rest/netmap/modifyNetmapNodes/{netmapName}

Modifies a netmap node entry on the Secure Proxy Configuration Manager.

Table 2. Modify Netmap Node Entry request body parameters

Modify Netmap Node Entry request body parameters

Parameter Description

XML

The XML corresponding to modifying an existing netmap node entry definition within Secure Proxy Configuration Manager.

HTTP Netmap request

The following example shows the HTTP request.

PUT https://localhost:8443/sspcmrest/sspcm/rest/netmap/modifyNetmapNodes/
Connect_Direct_Netmap
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“X-Passphrase”: “XXXXXXX”
“Content-Type”: “application/xml”
Note: The XML corresponding to modifying the netmap nodes should have an XML root element of either InboundNodes or OutboundNodes. Please refer to the Sample.java program in the sdk folder, for more information.

XML Netmap response

The following example shows the XML response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><XmlResponse>
<httpCode>200</httpCode>
<httpStatus>OK</httpStatus><action>None</action><message>Netmap node 
entry modified successfully
</message><messageLevel>INFO</messageLevel><results><entry>
<key>XML</key><value>
<?xml version="1.0"
 encoding="UTF-8"?>
<netmapDef><createdBy>admin</createdBy><createdTimestamp>2014-04-15 11:40:00 AM
</createdTimestamp>
<forceToUnlock>true</forceToUnlock><formatVer>10</formatVer><inboundNodes>
<inboundNodeDef>
<addresses><address><nodeName>ccenterdev03.irv.ustx.ibm.com</nodeName><host>
ccenterdev03.irv.ustx.ibm.com</host><port>4163</port></address>
</addresses><description>
<![CDATA[
ccenterdev03.irv.ustx.ibm.com]]&gt;</description><forceToUnlock>false
</forceToUnlock>
<logLevel>NONE</logLevel><name>ccenterdev03.irv.ustx.ibm.com</name>
<outboundACLNodes>
<outboundACLNode>ccenterdev03.irv.ustx.ibm.com</outboundACLNode>
</outboundACLNodes>
<peerAddressPattern>ccenterdev03.irv.ustx.ibm.com</peerAddressPattern>
<policyId>CD_Policy</policyId>
<port>4163</port><routingName>ccenterdev03.irv.ustx.ibm.com</routingName>
<secureConnection>true</secureConnection>
<serverAddress>ccenterdev03.irv.ustx.ibm.com</serverAddress>
<sslInfo><cipherSuites>
<cipherSuite>TLS_RSA_WITH_AES_256_CBC_SHA</cipherSuite>
<cipherSuite>TLS_RSA_WITH_AES_128_CBC_SHA</cipherSuite>
<cipherSuite>TLS_RSA_WITH_3DES_EDE_CBC_SHA</cipherSuite>
</cipherSuites><clientAuthenticationCD>false</clientAuthenticationCD>
<keyCertName>sspDefaultKeyCert</keyCertName><keyStoreName>
dfltKeyStore</keyStoreName>
<protocol>SSL3-TLS1.2</protocol><trustStoreName>dfltTrustStore
</trustStoreName>
<trustedCertNames><trustedCertName>sspDefaultTrustedCert</trustedCertName>
</trustedCertNames>
<verifyCommonName>false</verifyCommonName></sslInfo>
<tcpTimeout>90</tcpTimeout><verStamp>1</verStamp>
</inboundNodeDef><inboundNodeDef><addresses><address><nodeName>N1</nodeName>
<host>ccenterdev03.irv.ustx.ibm.com</host><port>4163</port>
</address></addresses>
<description><![CDATA[N1_modified]]&gt;</description>
<forceToUnlock>false</forceToUnlock>
<logLevel>NONE</logLevel><name>N1</name><outboundACLNodes>
<outboundACLNode>ccenterdev03.irv.ustx.ibm.com
</outboundACLNode></outboundACLNodes><peerAddressPattern>
ccenterdev03.irv.ustx.ibm.com
</peerAddressPattern>
<policyId>CD_Policy</policyId><port>4163</port><routingName>N1_modified
</routingName>
<secureConnection>true</secureConnection><serverAddress>
ccenterdev03.irv.ustx.ibm.com
</serverAddress>
<sslInfo><cipherSuites><cipherSuite>TLS_RSA_WITH_AES_256_CBC_SHA</cipherSuite>
</cipherSuites>
<clientAuthenticationCD>false</clientAuthenticationCD><keyCertName>
sspDefaultKeyCert
</keyCertName>
<keyStoreName>dfltKeyStore</keyStoreName><protocol>TLS1-ONLY</protocol>
<trustStoreName>dfltTrustStore</trustStoreName><trustedCertNames>
<trustedCertName>sspDefaultTrustedCert</trustedCertName></trustedCertNames>
<verifyCommonName>false</verifyCommonName></sslInfo>
<tcpTimeout>90</tcpTimeout>
<verStamp>0</verStamp></inboundNodeDef><inboundNodeDef><addresses><address>
<nodeName>N2</nodeName><host>ccenterdev03.irv.ustx.ibm.com</host>
<port>4163</port>
</address></addresses><description><![CDATA[
ccenterdev03.irv.ustx.ibm.com]]&gt;</description><forceToUnlock>false
</forceToUnlock>
<logLevel>NONE</logLevel><name>N2</name><outboundACLNodes>
<outboundACLNode>ccenterdev03.irv.ustx.ibm.com</outboundACLNode>
</outboundACLNodes><peerAddressPattern>
ccenterdev03.irv.ustx.ibm.com</peerAddressPattern>
<policyId>CD_Policy</policyId><port>4163</port><routingName>N2</routingName>
<secureConnection>true</secureConnection>
<serverAddress>ccenterdev03.irv.ustx.ibm.com</serverAddress>
<sslInfo><cipherSuites><cipherSuite>TLS_RSA_WITH_AES_256_CBC_SHA</cipherSuite>
<cipherSuite>TLS_RSA_WITH_AES_128_CBC_SHA</cipherSuite>
<cipherSuite>TLS_RSA_WITH_3DES_EDE_CBC_SHA</cipherSuite>
<cipherSuite>TLS_RSA_WITH_RC4_128_MD5</cipherSuite></cipherSuites>
<clientAuthenticationCD>false</clientAuthenticationCD>
<keyCertName>sspDefaultKeyCert</keyCertName>
<keyStoreName>dfltKeyStore</keyStoreName><protocol>TLS1-ONLY</protocol>
<trustStoreName>dfltTrustStore</trustStoreName><trustedCertNames>
<trustedCertName>sspDefaultTrustedCert</trustedCertName></trustedCertNames>
<verifyCommonName>false</verifyCommonName></sslInfo>
<tcpTimeout>90</tcpTimeout>
<verStamp>0</verStamp></inboundNodeDef></inboundNodes>
<lastModifiedBy>admin
</lastModifiedBy><lastModifiedTimestamp>2014-04-15 11:40:05 AM
</lastModifiedTimestamp>
<lockedBy>admin</lockedBy><lockedTimestamp>2014-04-15 11:40:06 AM
</lockedTimestamp>
<name>Connect_Direct_Netmap</name><outboundACLRequired>
false</outboundACLRequired><protocol>cd</protocol>
<status>locked</status><verStamp>2</verStamp></netmapDef>
</value></entry></results>
</XmlResponse>
</XmlResponse>