@rps this distinction also seems to be easy in the original proposed solution by @dmbaturin because key value pairs are not followed by '{' and the rest is.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 9 2017
Jan 5 2017
@dmbaturin I understand that the discussion is "unit 0" vs "unit { 0", what i meant was that i could be an option to keep following the JunOS style as much as possible to maybe enable more interoperability.
Well plain JSON would also be an option then :-)
In the blog post #7 i liked the address [ 192.168.2.1/24 10.10.10.1/30 ]; part. But since i work most of the time with mixed JunOS and Vyos environments a mostly the same syntax would be very nice :-)
However JunOS would be:
A pro for me would be that i can do 'edit interfaces ethernet eth0 vif' and work with all virtual interfaces.
Jan 4 2017
In JunOS the root user enters in the shell and uses 'cli' to enter show mode followed by configure for config mode.
When i add an extra user without shell access, this user is placed directly into show mode.
The vyos user is not the root user, so the way it currently is makes perfect sense to me.
Jan 2 2017
These are the details of the router with issues:
- ROUTER2:~$ show hardware cpu
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- CPU(s): 4
- Thread(s) per core: 1
- Core(s) per socket: 4
- CPU socket(s): 1
- NUMA node(s): 1
- Vendor ID: GenuineIntel
- CPU family: 6
- Model: 30
- Stepping: 5
- CPU MHz: 2393.940
- Virtualization: VT-x
- L1d cache: 32K
- L1i cache: 32K
- L2 cache: 256K
- L3 cache: 8192K
- ROUTER2:~$ show hardware dmi
- bios_date: 09/10/2013
- bios_vendor: Dell Inc.
- bios_version: 1.10.0
- board_asset_tag:
- board_name: 05KX61
- board_vendor: Dell Inc.
- board_version: A02
- chassis_asset_tag:
- chassis_type: 23
- chassis_vendor: Dell Inc.
- chassis_version:
- product_name: PowerEdge R210
- product_version:
- sys_vendor: Dell Inc.
- ROUTER2:~$ show hardware pci
- 00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
- 00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
- 00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
- 00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
- 00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
- 00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
- 00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
- 00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
- 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
- 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
- 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
- 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
- 00:1f.0 ISA bridge: Intel Corporation 3400 Series Chipset LPC Interface Controller (rev 05)
- 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
- 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
- 01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
- 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet (rev 20)
- 02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet (rev 20)
- 03:03.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200eW WPCM450 (rev 0a)
- ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
- ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
- ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
- ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
- ff:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
- ff:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
- ff:03.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
- ff:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
- ff:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
- ff:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
- ff:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
- ff:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
- ff:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
- ff:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
- ff:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
- ff:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
- ROUTER2:~$ show hardware scsi
- [0:0:0:0] disk ATA SAMSUNG HD501LJ CR10 /dev/sda
- [1:0:0:0] disk ATA SAMSUNG HD501LJ CR10 /dev/sdb
- [3:0:0:0] cd/dvd TEAC DVD-ROM DV-28SW R.2A /dev/sr0
- ROUTER2:~$ show hardware usb
- Bus 002 Device 005: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
- Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- ROUTER2:~$ show system routing-daemons
- zebra ripd ripngd ospfd ospf6d bgpd #
- ROUTER2:~$ show system image
- The system currently has the following image(s) installed:
- 1: VyOS-1.1.7 (default boot) (running image) #
- ROUTER2:~$ show version all
- Version: VyOS 1.1.7
- Description: VyOS 1.1.7 (helium)
- Copyright: 2016 VyOS maintainers and contributors
- Built by: [email protected]
- Built on: Wed Feb 17 09:57:31 UTC 2016
- Build ID: 1602170957-4459750
- System type: x86 64-bit
- Boot via: image
- HW model: PowerEdge R210
- HW S/N: 507645J
- HW UUID: 44454C4C-3000-1037-8036-B5C04F34354A
The configs on all the routers are roughly the same, the SNMP config is completely the same.
I will collect the hardware details.