Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 299

Advertising
background image

Network OS NETCONF Operations Guide

267

53-1003231-02

Configuring port-profile-domains

19

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 for modification.

3. Specify the <profile-name> element for the AMPP profile name to add to the

port-profile-domain.

<?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">

<port-profile-domain-name>TENANT_1</port-profile-domain-name>

<profile>

<profile-name>PROFILE_1</profile-name>

</profile>

</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 from the port-profile-domain

This task deletes the AMPP port-profile from the port-profile-domain. Refer to

“Configuring AMPP

port-profiles”

on page 241. This does not delete the AMPP port-profile 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 for modification.

3. Include the <profile> element with the delete option.

4. Specify the <profile-name> element for the AMPP profile name to remove from the

port-profile-domain.

<?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">

<port-profile-domain-name>TENANT_1</port-profile-domain-name>

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

nc:operation="delete">

<profile-name>PROFILE_1</profile-name>

</profile>

Advertising