Open jloms opened 2 months ago
mlnxos.rb is somewhat ugly, as it codes \e as binary char in the source code. This must be addressed by someone having access to the hardware. When I have finished my work on device simulation, I may help without access to the hardware.
Thanks for the idea .... on the config file in oxidized stange char correspond to pager prompt Adding cmd 'terminal length 999' in model/mlnxos.rb solved the issue.
have a similar issue, who can give an advice what should I fix in mlnxos.rb? some unprinted codes in config output needs to be filtered.
interface ethernet 1/8 switchport trunk allowed-vlan add 100-101 interface ethernet 1/8 switchport trunk allowed-vlan add 150 interface ethernet 1/8 switchport trunk allowed-vlan remove 1 interface ethernet 1/9 switchport trunk allowed-vlan add 100-101 interface ethernet 1/9 switchport trunk allowed-vlan add 150 interface ethernet 1/9 switchport trunk allowed-vlan remove 1 interface ethernet 1/10 switchport trunk allowed-vlan add 100-101 ������������ interface ethernet 1/10 switchport trunk allowed-vlan add 150 interface ethernet 1/10 switchport trunk allowed-vlan remove 1 interface ethernet 1/11 switchport trunk allowed-vlan add 100-101 interface ethernet 1/11 switchport trunk allowed-vlan add 150 interface ethernet 1/11 switchport trunk allowed-vlan remove 1 interface ethernet 1/12 switchport trunk allowed-vlan add 100-101 interface ethernet 1/12 switchport trunk allowed-vlan add 150 interface ethernet 1/12 switchport trunk allowed-vlan remove 1 interface ethernet 1/13 switchport trunk allowed-vlan add 100-101
For MLNXOS class (mellanox whith Onyx OS), the config file contains ASCII but the linux type is binary. For git output it is not pretty good. I missed something in the config file ?