Management Software

Reply
New Member
Posts: 1
Registered: ‎10-10-2017

I am trying REST API for BNA controlzone transaction. I am getting a error Internal Server Error

I am trying REST API for BNA controlzone transaction. I am getting a error Internal Server Error

URL:
https://<BNA IP>/rest/resourcegroups/LAB/fcfabrics/<fckey>/controlzonetransaction

 

Sample Payload

<xs:complexType name="ControlZoneTransactionRequest">
<xs:sequence>
<xs:element name="false" type="xs:boolean" default="false"/>
<xs:element name="START" type="tns:TransactionAction"/>
</xs:sequence>
</xs:complexType>

Highlighted
Broadcom
Posts: 445
Registered: ‎03-29-2011

Re: I am trying REST API for BNA controlzone transaction. I am getting a error Internal Server Error

Hi,

 

the POST payload should look like (my BNA server is not up and running for the moment)

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ControlZoneTransactionRequest>
<lsanZoning>false</lsanZoning>   
<action>START</action>
</ControlZoneTransactionRequest>

 

the below is the schema describing the above

 

<xs:complexType name="ControlZoneTransactionRequest">
<xs:sequence>
<xs:element name="lsanZoning" type="xs:boolean" default="false"/> ' case sensitive, use either true or false
<xs:element name="action" type="tns:TransactionAction"/>
</xs:sequence>
</xs:complexType>

<xs:simpleType name="TransactionAction">
<xs:restriction base="xs:string">
<xs:enumeration value="NONE"/>
<xs:enumeration value="START"/>
<xs:enumeration value="ABORT"/>
<xs:enumeration value="COMMIT"/>
</xs:restriction>
</xs:simpleType>




If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution".


Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers. All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider. If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution"
New Contributor
Posts: 2
Registered: ‎10-10-2017

Re: I am trying REST API for BNA controlzone transaction. I am getting a error Internal Server Error

Thank you. Its working fine.

 

New Query:

 

I have created zoning through API but the created zone is not shown in effective zone configuration.

Please help.

Broadcom
Posts: 445
Registered: ‎03-29-2011

Re: I am trying REST API for BNA controlzone transaction. I am getting a error Internal Server Error

Hi @Derin,

 

If it is part of the same configuration (zone set) in the defined configuration as current effective configuration, you then need to activate the zoneset.

 

URI>/resourcegroups/rgkey/fcfabrics/fcfkey/zonesets/zskey/activate

if the new zone is not part of the effective configation (active zoneset), then it needs to be added via updatezoningobject to current effective config (zoneset). And then activated.

 

Or if you have a new defined configuration (zoneset) with your zones, you need to activate it.




If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution".


Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers. All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider. If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution"

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook