Whamcloud - gitweb
LU-5854 lnet: make YAML output/input consistent 56/12556/6
authorAmir Shehata <amir.shehata@intel.com>
Tue, 4 Nov 2014 20:49:51 +0000 (12:49 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 11 Nov 2014 17:17:44 +0000 (17:17 +0000)
commit51ef7d7997de254bcaa243f7391261c7bd201dd3
treea643c0aac04d1e465a8de71391d8907f097ecad6
parentb1acb4a6dafed08691c026646a732a20caf11c10
LU-5854 lnet: make YAML output/input consistent

The YAML format used for configuring and showing networks was not
consistent. This patch makes both formats consistent.

EX:
net:
    - net: tcp
      nid: 192.168.206.130@tcp
      status: up
      interfaces:
          0: eth0
      tunables:
          peer_timeout: 180
          peer_credits: 8
          peer_buffer_credits: 0
          credits: 256
      CPT: [0,1]

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Id4314679930709ac43104f1ba544bb6d1ca8cb0a
Reviewed-on: http://review.whamcloud.com/12556
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/utils/lnetconfig/liblnetconfig.c