
Network OS NETCONF Operations Guide 165
53-1003231-02
Configuring vCenter
13
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<vswitch xmlns="urn:brocade.com:mgmt:brocade-vswitch"/>
<vcenter>myvcenter</vcenter>
<url>https://10.2.2.2</url>
<name>user</name>
<password>pass</password>
<interval>4</interval>
</vcenter>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
By default, the vCenter server accepts only HTTPS connection requests.
Activating the vCenter
After adding the vCenter, you must activate the configured vCenter instance.
In VCS mode, you can configure the vCenter by using any node. Discovery is initiated by the primary
node.
switch(config)# vcenter myvcenter activate
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<vswitch xmlns="urn:brocade.com:mgmt:brocade-vswitch"/>
<vcenter>myvcenter</vcenter>
</activate>
</vcenter>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Kommentare zu diesen Handbüchern