1. 25 Nov, 2020 6 commits
  2. 23 Nov, 2020 4 commits
  3. 21 Nov, 2020 3 commits
  4. 20 Nov, 2020 4 commits
  5. 19 Nov, 2020 9 commits
  6. 18 Nov, 2020 7 commits
  7. 17 Nov, 2020 1 commit
  8. 16 Nov, 2020 3 commits
    • SIMONIN Matthieu's avatar
      support project · b6c41ec2
      SIMONIN Matthieu authored
      b6c41ec2
    • SIMONIN Matthieu's avatar
      20fce515
    • SIMONIN Matthieu's avatar
      G5k: Dictectomy · 04565862
      SIMONIN Matthieu authored
      This replaces our abuse of Dicts in the g5k provider by structured objects.
      
      There's no external API changes (provider.init still return roles and networks as before).
      But G5k provider no expose two attributes `provider.hosts` and `provider.networks` being a list of `G5kHost` et `G5kNetwork` which wraps the corresponding API object (see python-grid5000) and offer some convenient methods to the experimenter.
      
      For instance
      ```
      provider = G5k(conf)
      roles, networks = provider.init()
      
      g5k_hosts = provider.hosts
      
      g5k_hosts[0].roles
      
      g5k_hosts[0].ssh_address
      
      g5k_hosts[0].apinode
      
      g5k_hosts[0].primary_network
      
      g5k_hosts[0].primary_network
      
      g5k_hosts[0].primary_network.vlan_id
      
      g5k_hosts[0].primary_network.hosts
      ```
      
      The same apply on the network list
      04565862
  9. 20 Oct, 2020 3 commits