TWSD-908: Enhancement Request: Display Full CPU Model Information in 'show version'

Review Request #1037 — Created Aug. 29, 2025 and submitted — Latest diff uploaded

chihchun
APV10
rel_apv_10_7
evalin, jasonchang, mingji

The revised code is shown in the log below. The original code already retrieves the full CPU model information from the /proc/cpuinfo file, but it filters the details and only prints the fields specified in a hard-coded list.

I disabled the filtering logic so that the full CPU model information is printed.

Results:

  • Revised CPU model information:
System CPU : Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz

  • CPU model information (before revision):
System CPU : Intel(R) Xeon(R) CPU

  • APV show version log:
AN(config)#show version

ArrayOS Beta.APV.10.7.4.20 - untagged unofficial build by uid=0(root) gid=0(root) groups=0(root) on AVX-Build: on Fri Aug 29 02:39:23 2025

        Host name : AN
       System CPU : Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz
       System RAM : 3880560 kbytes.
 System boot time : Fri Aug 29 08:00:49 GMT (+0000) 2025
     Current time : Fri Aug 29 08:18:22 GMT (+0000) 2025
   System up time : 18 mins, 3 secs
Platform Bld Date : Fri Aug 29 07:59:50 GMT 2025
           SSL HW : HW (1X10H+) Initialized
   Compression HW : 1XC35v, Initialized
Network Interface : 1 x Gigabit Ethernet copper
                    1 x 10Gigabit Ethernet fiber
            Model : Array AVX vAPV
    Serial Number : 67794CCF15E3D07716077347227013
  Licensed Limits : vCPUs(x32), NICs(x16), RAM(64 GB), Bandwidth(10 Gbps)
Licensed Features : WebWall  Clustering  L4SLB  L7SLB  Caching
                    SSL  tProxy  SwCompression  LLB  QoS  MultiLang
                    DynRoute  IPv6
      License Key : 89af4f6a-675eb0d1-35a6baa5-04e535dd-391219ea-4f101280-0454d8ab-20250828-99999999

Array Networks Customer Support
Telephone         : 1-877-992-7729 (1-877-99-ARRAY)
Email             : support@arraynetworks.com
Update            : please contact support for instructions
Website           : http://www.arraynetworks.com

Other Root Version
Beta.APV.10.7.4.20 - untagged unofficial build by uid=0(root) gid=0(root) groups=0(root) on AVX-Build: on Thu Aug 28 03:35:18 2025


    Loading...