Menu

#4756 [FVT]: add Ethernet switches management files on Ubuntu

2.10
closed
None
unknown
6
2015-07-27
2015-07-22
No

Please add following files on Ubuntu platform.

[root@c910f04x27v02 devicetype]# pwd
/opt/xcat/share/xcat/devicetype

[root@c910f04x27v02 devicetype]# ls -alR
.:
total 20
drwxr-xr-x 5 root root 4096 Jul 22 04:18 .
drwxr-xr-x 19 root root 4096 Jul 21 11:50 ..
drwxr-xr-x 6 root root 4096 Jul 22 04:18 EthSwitch
drwxr-xr-x 4 root root 4096 Jul 22 04:18 IBSwitch
drwxr-xr-x 2 root root 4096 Jul 22 04:18 vios

./EthSwitch:
total 28
drwxr-xr-x 6 root root 4096 Jul 22 04:18 .
drwxr-xr-x 5 root root 4096 Jul 22 04:18 ..
drwxr-xr-x 2 root root 4096 Jul 22 04:18 BNT
drwxr-xr-x 2 root root 4096 Jul 22 04:18 Cisco
-rw-r--r-- 1 root root 439 Jul 21 11:50 config
drwxr-xr-x 2 root root 4096 Jul 22 07:48 Jun
lrwxrwxrwx 1 root root 3 Jul 22 04:18 Juniper -> Jun
drwxr-xr-x 2 root root 4096 Jul 22 04:18 Mellanox

./EthSwitch/BNT:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 82 Jul 21 11:50 config

./EthSwitch/Cisco:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 82 Jul 21 11:50 config

./EthSwitch/Jun:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 07:48 .
drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 149 Jul 21 11:50 config

./EthSwitch/Mellanox:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 134 Jul 21 11:50 config

./IBSwitch:
total 16
drwxr-xr-x 4 root root 4096 Jul 22 04:18 .
drwxr-xr-x 5 root root 4096 Jul 22 04:18 ..
drwxr-xr-x 2 root root 4096 Jul 22 04:18 Mellanox
drwxr-xr-x 2 root root 4096 Jul 22 04:18 QLogic

./IBSwitch/Mellanox:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
drwxr-xr-x 4 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 48 Jul 21 11:50 config

./IBSwitch/QLogic:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
drwxr-xr-x 4 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 96 Jul 21 11:50 config

./vios:
total 12
drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
drwxr-xr-x 5 root root 4096 Jul 22 04:18 ..
-rw-r--r-- 1 root root 72 Jul 21 11:50 config

Discussion

  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-23

    diff xCAT-server/debian/dirs /root/wxp/dirs

    16d15
    < opt/xcat/share/xcat/devicetype

    diff xCAT-server/debian/install /root/wxp/install

    18d17
    < share/xcat/devicetype/* opt/xcat/share/xcat/devicetype

    cat xCAT-server/debian/xcat-server.links

    opt/xcat/share/xcat/devicetype/EthSwitch/Jun opt/xcat/share/xcat/devicetype/EthSwitch/Juniper

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-23

    The fix is simple that just adding the files in the debian .deb configuration to make them get into the debian packages.

    diff xCAT-server/debian/dirs /root/wxp/dirs

    16d15
    < opt/xcat/share/xcat/devicetype

    diff xCAT-server/debian/install /root/wxp/install

    18d17
    < share/xcat/devicetype/* opt/xcat/share/xcat/devicetype

    cat xCAT-server/debian/xcat-server.links

    opt/xcat/share/xcat/devicetype/EthSwitch/Jun opt/xcat/share/xcat/devicetype/EthSwitch/Juniper

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-23
    • status: open --> accepted
     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-23
    • status: accepted --> pending
     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-23

    commit:
    2.10 7444165c19157b27ae02cb32d7ef670847055eda

     
  • Ling

    Ling - 2015-07-23

    Xiao Peng, I saw you have added the whole devicetype directory for Ubuntu. There is also a need to add a softlink
    # ls -l /opt/xcat/share/xcat/devicetype/EthSwitch/
    total 4
    drwxr-xr-x 2 root root 19 Jun 25 16:55 BNT
    drwxr-xr-x 2 root root 19 Jun 30 15:50 Cisco
    -rw-r--r-- 1 root root 439 Jun 25 11:53 config
    drwxr-xr-x 2 root root 19 Jul 15 10:45 Jun
    lrwxrwxrwx 1 root root 3 Jun 25 16:55 Juniper -> Jun
    drwxr-xr-x 2 root root 19 Jun 30 15:50 Mellanox

     
    • XiaoPeng Wang

      XiaoPeng Wang - 2015-07-24

      Ling,

      I think you meant that add a soft link of Juniper to Jun, right? It has
      been done.

      Thanks
      Best Regards


      Wang Xiaopeng (王晓朋)
      IBM China System Technology Laboratory
      Tel: 86-10-82453455
      Email: wxp@cn.ibm.com
      Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
      Haidian District Beijing P.R.China 100193

      From: "Ling" linggao@users.sf.net
      To: "[xcat:bugs] " 4756@bugs.xcat.p.re.sf.net
      Date: 2015/07/24 07:04
      Subject: [xcat:bugs] #4756 [FVT]: add Ethernet switches management files
      on Ubuntu

      Xiao Peng, I saw you have added the whole devicetype directory for Ubuntu.
      There is also a need to add a softlink

      ls -l /opt/xcat/share/xcat/devicetype/EthSwitch/

      total 4
      drwxr-xr-x 2 root root 19 Jun 25 16:55 BNT
      drwxr-xr-x 2 root root 19 Jun 30 15:50 Cisco
      -rw-r--r-- 1 root root 439 Jun 25 11:53 config
      drwxr-xr-x 2 root root 19 Jul 15 10:45 Jun
      lrwxrwxrwx 1 root root 3 Jun 25 16:55 Juniper -> Jun
      drwxr-xr-x 2 root root 19 Jun 30 15:50 Mellanox

      [bugs:#4756] [FVT]: add Ethernet switches management files on Ubuntu

      Status: pending
      Milestone: 2.10
      Created: Wed Jul 22, 2015 09:28 AM UTC by ting ting li
      Last Updated: Thu Jul 23, 2015 03:18 AM UTC
      Owner: XiaoPeng Wang

      Please add following files on Ubuntu platform.

      [root@c910f04x27v02 devicetype]# pwd
      /opt/xcat/share/xcat/devicetype

      [root@c910f04x27v02 devicetype]# ls -alR
      .:
      total 20
      drwxr-xr-x 5 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 19 root root 4096 Jul 21 11:50 ..
      drwxr-xr-x 6 root root 4096 Jul 22 04:18 EthSwitch
      drwxr-xr-x 4 root root 4096 Jul 22 04:18 IBSwitch
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 vios

      ./EthSwitch:
      total 28
      drwxr-xr-x 6 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 5 root root 4096 Jul 22 04:18 ..
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 BNT
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 Cisco
      -rw-r--r-- 1 root root 439 Jul 21 11:50 config
      drwxr-xr-x 2 root root 4096 Jul 22 07:48 Jun
      lrwxrwxrwx 1 root root 3 Jul 22 04:18 Juniper -> Jun
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 Mellanox

      ./EthSwitch/BNT:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 82 Jul 21 11:50 config

      ./EthSwitch/Cisco:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 82 Jul 21 11:50 config

      ./EthSwitch/Jun:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 07:48 .
      drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 149 Jul 21 11:50 config

      ./EthSwitch/Mellanox:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 6 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 134 Jul 21 11:50 config

      ./IBSwitch:
      total 16
      drwxr-xr-x 4 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 5 root root 4096 Jul 22 04:18 ..
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 Mellanox
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 QLogic

      ./IBSwitch/Mellanox:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 4 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 48 Jul 21 11:50 config

      ./IBSwitch/QLogic:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 4 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 96 Jul 21 11:50 config

      ./vios:
      total 12
      drwxr-xr-x 2 root root 4096 Jul 22 04:18 .
      drwxr-xr-x 5 root root 4096 Jul 22 04:18 ..
      -rw-r--r-- 1 root root 72 Jul 21 11:50 config

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/xcat/bugs/4756/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-24

    This is the files structure in a ubuntu Mn that has this fix included:

    /opt/xcat/share/xcat/devicetype/EthSwitch# ls -al
    total 28
    drwxr-xr-x 6 nobody nogroup 4096 Jul 23 11:24 .
    drwxr-xr-x 5 root root 4096 Jul 23 11:24 ..
    drwxr-xr-x 2 nobody nogroup 4096 Jul 23 11:24 BNT
    drwxr-xr-x 2 nobody nogroup 4096 Jul 23 11:24 Cisco
    -rw-r--r-- 1 nobody nogroup 439 Jul 23 00:51 config
    drwxr-xr-x 2 nobody nogroup 4096 Jul 23 11:24 Jun
    lrwxrwxrwx 1 root root 3 Jul 23 00:59 Juniper -> Jun
    drwxr-xr-x 2 nobody nogroup 4096 Jul 23 11:24 Mellanox

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-27
    • status: pending --> closed
     
MongoDB Logo MongoDB