1. 11 Jan, 2019 1 commit
  2. 03 Dec, 2018 1 commit
  3. 30 Nov, 2018 1 commit
  4. 29 Nov, 2018 1 commit
  5. 28 Nov, 2018 1 commit
  6. 26 Nov, 2018 1 commit
  7. 30 Oct, 2018 4 commits
  8. 27 Oct, 2018 1 commit
    • Added downloading bitstream when programming fpga · 0bd8a7d9
      How to test the flow of program process manually:
      1. generate the fake env by the follow command
      cat > ./fake_env.sh << EOL
      SYSINFO=cyborg/accelerator/drivers/fpga/intel/sysinfo.py
      UTILS=cyborg/accelerator/drivers/fpga/utils.py
      sed -i -e 's/^\(SYS_FPGA\) = "\(\/sys\/class\/fpga\)"$/\1 = "\/tmp\2"/g' $SYSINFO
      sed -i -e 's/^\(SYS_FPGA_PATH\) = "\(\/sys\/class\/fpga\)"$/\1 = "\/tmp\2"/g' $UTILS
      python cyborg/tests/unit/accelerator/drivers/fpga/intel/prepare_test_data.py
      LOG=/tmp/intel_fpga_program.log
      sudo echo 'echo fpgaconf \$@ '"|tee $LOG" > /usr/bin/fpgaconf
      sudo echo "date |tee -a $LOG" >> /usr/bin/fpgaconf
      sudo echo "echo 'Program intel FPGA successfully' |tee -a $LOG" >> /usr/bin/fpgaconf
      sudo chmod a+x /usr/bin/fpgaconf
      EOL
      
      chmod a+x ./fake_env.sh
      sudo ./fake_env.sh
      
      2. Please use curl command as follows:
      curl -s -X PATCH -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json"\
        -d '[{
          	"path": "/program",
          	"op": "replace",
          	"value": [{
          		"image_uuid": "{image_uuid}"
          	}]
        }]'\
        http://{host_ip}:6666/v1/accelerators/deployables/{deployable_uuid}/program
      
      3. Checke the /tmp/intel_fpga_program.log it should see the infomation as
      the follow exmaple:
      $ cat /tmp/intel_fpga_program.log
      fpgaconf -b 04 -d 00 -f 1 4047d422-5d2f-432c-b87f-5e1749e95ee6.bin
      Sat Oct 27 15:08:34 UTC 2018
      Program intel FPGA successfully
      
      Change-Id: I70ff5edac65fe9e9ec1783d62c2ecd21ac5fab18
      Li Liu committed
  9. 26 Oct, 2018 2 commits
  10. 24 Oct, 2018 7 commits
  11. 22 Oct, 2018 2 commits
  12. 21 Oct, 2018 1 commit
    • Don't quote {posargs} in tox.ini · c9398c25
      Quotes around {posargs} cause the entire string to be combined into one
      arg that gets passed to stestr. This prevents passing multiple args
      (e.g. '--concurrency=16 some-regex')
      
      Change-Id: I1e860339c2fad9e86c0a2cacf344a6ff94325873
      melissaml committed
  13. 20 Oct, 2018 1 commit
  14. 19 Oct, 2018 2 commits
  15. 17 Oct, 2018 1 commit
    • Added Glance Client for Image downloading · 156c9f18
      According to sean mooney's comments in
      https://review.openstack.org/#/c/596507/
      
      I am splitting into 2 patches
      
      For now, please add following session in cyborg.conf
      [glance]
      project_domain_name = Default
      project_name = service
      user_domain_name = Default
      password = {your_password}
      username = placement
      auth_url = http://{host_ip}/identity
      auth_type = password
      auth_section = keystone_authtoken
      api_servers = http://{host_ip}/image
      
      Change-Id: I3a0249c7ac8ba5fd3c20ae6402dcc2f9e9bcfe95
      Li Liu committed
  16. 11 Sep, 2018 1 commit
  17. 20 Aug, 2018 1 commit
  18. 19 Aug, 2018 1 commit
  19. 17 Aug, 2018 2 commits
  20. 16 Aug, 2018 1 commit
  21. 15 Aug, 2018 1 commit
    • Quota usage support in Cyborg · e7db748c
      1. Introduce quote usage related tables.
      2. Add reserve() and commit() function to update quota usage in DB.
      3. Invoke reserve() and commit() when users create or delete acclerators.
      
      Change-Id: I828bc6d35d08116a2b3c74baeda8876121541f8c
      Xinran WANG committed
  22. 14 Aug, 2018 1 commit
  23. 13 Aug, 2018 2 commits
  24. 11 Aug, 2018 2 commits
  25. 10 Aug, 2018 1 commit