Fibre Channel (SAN)

Reply
New Contributor
Posts: 3
Registered: ‎03-31-2017

Does anyone have an example of a python script to POST a new zone

  I am able to GET data from BNA for a FC switch.  when I try to POST anything I get 404-Not Found errors. I have included my POST request below.  I am trying to add a zone but I cannot get the 'controlzonetransaction' POST to work.  If anyone has a working python script to add a zone that would be great.

 

'https://<ip address of BNA>/rest/resourcegroups/All/fcfabrics/<switch WWN>/controlzonetransaction?action=START'

 

Thanks,

Steve

New Contributor
Posts: 3
Registered: ‎03-31-2017

Re: Does anyone have an example of a python script to POST a new zone

I found some.
Occasional Contributor
Posts: 12
Registered: ‎10-31-2014

Re: Does anyone have an example of a python script to POST a new zone

let me know how you did? i am interested in knowing
New Contributor
Posts: 3
Registered: ‎03-31-2017

Re: Does anyone have an example of a python script to POST a new zone

I have attached some sample scripts that I got from a Brocade engineer.  You should be able to modify them to work for you.

Join the Community

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