Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 290

Advertising
background image

258

Network OS NETCONF Operations Guide

53-1003231-02

Configuring AMPP port-profiles

19

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="1722" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<port-profile-global

xmlns="urn:brocade.com:mgmt:brocade-port-profile">

<port-profile>

<name>vm1-port-profile</name>

<activate xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

</port-profile>

</port-profile-global>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="1722" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

2. Delete the port-profile—Issue an <edit-config> RPC to configure the

<port-profile-global>/<port-profile> node in the urn:brocade.cpm:mgmt:brocade-port-profile
namespace and specify the following leaf elements.

a. In the <port-profile> node element, include the delete operation in the opening element

tag.

b. In the <name> element, specify the port-profile for you want to delete.

The following example deletes the port-profile named vm1-port-profile.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="1723" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<port-profile-global

xmlns="urn:brocade.com:mgmt:brocade-port-profile">

<port-profile

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete">

<name>vm1-port-profile</name>

</port-profile>

</port-profile-global>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="1723" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Advertising