cancel
Showing results for 
Search instead for 
Did you mean: 

How can I import variable into an .xsf script ?

How can I import variable into an .xsf script ?

Alex20
New Contributor II
hello,

I want to import some variable (.py,.xml,...) into a .xsf script, it is possible ?

Many thanks in advance, alex
5 REPLIES 5

Alex20
New Contributor II
Hi tknv,

Thanks for your help.

I finally find a solution, I import my variable which are stored in a .xsf by ftp to the switch, and i use a key to transport it to the principal .xsf.

alex

M_Nees
Contributor III
Can you share an example ?

Alex20
New Contributor II
I have a project to create a script that must detect if the
port of a switch is on or off, then find the MAC address of
the computer equipment that has just connected to the switch.
To finish, check if this address mac is part of the authorized
address and then put it in the vlan adapt.

Then, I created a file (.xsf) that informs all authorized macs that I import via FTP, and i use a key(load car key...) to transport
it to the principal .xsf.

I hope I was understandable, and I apologize for my bad english.
If you have some question don't hesitate to ask me.

Alex

M_Nees
Contributor III
Can you give us a example what you try and how you solve it ?! This is (maybe) interesting for me and all the other guys. Thanks Regards, Matthias
GTM-P2G8KFN