268 Network OS NETCONF Operations Guide
53-1003231-02
Configuring port-profile-domains
19
</port-profile-domain>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Deleting a port-profile-domain
This task deletes the port-profile-domain. Any associated AMPP port-profiles are not deleted from
the switch.
1. Activate the port-profile-domain—Issue an <edit-config> RPC to configure the
<port-profile-domain> node in the urn:brocade.com:mgmt:brocade-port-profile namespace.
Under the <port-profile-domain> node, specify the following leaf elements.
2. Specify the name for the <port-profile-domain-name> element. include the delete option.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<edit-config>
<target>
<running/>
</target>
<config>
<port-profile-domain xmlns="urn:brocade.com:mgmt:brocade-port-profile"
operation="delete">
<port-profile-domain-name>TENANT_1</port-profile-domain-name>
</port-profile-domain>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Obtaining the port-profile-domain status
Use the <get-config> RPC to retrieve the current configuration data and operational state data.
Refer to “Retrieving configuration data” on page 11 and “Retrieving operational data” on page 15
for detailed instructions.
The following example retrieves the status from the TENANT_1 port-profile-domain.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<get-config>
<source>
<running></running>
</source>
<filter type="subtree">
<port-profile-domain
xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<port-profile-domain-name>TENANT_1</port-profile-domain-name>
</port-profile-domain>
Komentarze do niniejszej Instrukcji