Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 101

Network OS NETCONF Operations Guide
69
53-1003231-02
Overriding Dynamic POD assignments
6
If all ports are assigned, select a port to release its POD assignment. Follow the instructions in
“Releasing a port from a POD set”
on page 70 to release a port from its POD assignment. Once the
port is released, you can reuse the assignment for another port.
1. Select the port for which you want to reserve an assignment and issue the <edit-config> RPC
to configure the <dpod> node to reserve the desired ports. Set the <port-id>/<operation>
element for each port to “reserve”.
The following example reserves ports 5/0/10 and 5/0/11.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="716">
<edit-config>
<target>
<running/>
</target>
<config>
<dpod xmlns="urn:brocade.com:mgmt:brocade-license">
<port-id>
<port-id>5/0/10</port-id>
<operation>reserve</operation>
</port-id>
<port-id>
<port-id>5/0/11</port-id>
<operation>reserve</operation>
</port-id>
</dpod>
</config>
</edit-config>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="716">
<ok/>
</rpc-reply>
NOTE
License reservations or removals do not persist across switch reboots and power cycles. To
make them persistent, save the configuration changes by copying the running configuration to
the startup configuration before you reboot the switch.
2. Issue the <bna-config-cmd> RPC to save the configuration changes to the startup
configuration.
3. Issue the <reboot>/<fastboot> custom action located in the
urn:brocade.com:mgmt:brocade-firmware namespace to reboot the switch.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="718">
<action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">
<data>
<reboot xmlns="urn:brocade.com:mgmt:brocade-firmware">
<fastboot/>
</reboot>
</data>
</action>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="718">
<ok/>
</rpc-reply>