Space for scripts

  • 1
  • Idea
  • Updated 5 years ago
  • Not Planned
Hi,

new Extreme switches have a lot of RAM.
Now we can download  xsf scripts to the flash,
but it is possible to use  linux  tmpfs ->  /dev/shm  (for example 20 MB)
This could be useful when you need to download some dynamic scripts.

Is it possible to add this to EXOS?

--
Jarek

Photo of Jarek

Jarek

  • 2,398 Points 2k badge 2x thumb

Posted 5 years ago

  • 1
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
YES, you should able to trasnfer the file. I have tried using filezilla as well and I was able to transfer XSF files successfully.
Photo of Jarek

Jarek

  • 2,398 Points 2k badge 2x thumb
Hi,

sorry for my above description. 
I try to clarify what I mean.
Now, it is not possible to get access to /dev/shm on EXOS to download scripts
(to Extreme RAM), is there any chance to make it as a feature request ? 


--
Jarek


Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb

administrator@ubuntuServer-TAC1:~$ sftp admin@10.67.73.65

Keyboard-interactive authentication

Enter password for admin:

Connected to 10.67.73.65.

sftp> put /home/administrator/combined-switch1.pol

Uploading /home/administrator/combined-switch1.pol to /config/combined-switch1.pol

/home/administrator/combined-switch1.pol                                        100%  144KB 143.7KB/s   00:00

sftp>

EXOS will store the config file under the /config/ folder.

I am using SFTP(OpenSSH_5.9p1) to upload the ".POL" file on switch. I would say in similay way you may also upload it.


Let me this is what you want.

Photo of Daniel Flouret

Daniel Flouret, Employee

  • 7,470 Points 5k badge 2x thumb
Jarek,

What would be the point of having a volatile file system to store scripts? You would have to remotely reload any scripts you wanted to use every time you rebooted a switch.

Regards, Daniel
Photo of Jarek

Jarek

  • 2,398 Points 2k badge 2x thumb
Hi Sumit and Daniel ,


thank you for your answers.

Daniel I  know that, and I need that :)
What I want to achieve:

1) after reload/reboot, switch will download a script after 5 minutes
2) upm will check every 10-15 minutes tftp server for new script, and load it

Regards
--
Jarek
Photo of Daniel Flouret

Daniel Flouret, Employee

  • 7,470 Points 5k badge 2x thumb
You can do that today without a volatile file system, although I understand the concern about the proliferation of scripts in Flash...

What is it exactly that you would like to accomplish with these scripts? Just curious...

Regards, Daniel
Photo of Jarek

Jarek

  • 2,398 Points 2k badge 2x thumb
We use ip-security functions like arp validation and dhcp-snooping,
after restart/reboot ip-security and arp tables are empty.
This produce many logs like 'ARP violation' etc.. and all devices don't have network access,
until they get IP from DHCP.
Scripts use many lines of " conf ip-security dhcp-bindings add ...".

Second thing EXOS 15.X has a bug/feature ;) in ip-security function,
that forces us to do "conf ip-security dhcp-bindings del then add..." by hand
or "conf ip-security dhcp-bindings del  and "wait when the device discover/renew IP address from DHCP.

We wait when our partner will  reopen  the TAC case.


Regards.
--
Jarek