Skip to content
Snippets Groups Projects

Feat module refactor

  1. Jul 19, 2021
  2. Oct 08, 2019
  3. Sep 26, 2019
  4. Sep 24, 2019
  5. Sep 16, 2019
  6. Sep 11, 2019
    • Bo-Chun Chen's avatar
      Remove key-pair module · e53034c5
      Bo-Chun Chen authored
      e53034c5
    • Bo-Chun Chen's avatar
      Remove floating-ip module · 2f2e11da
      Bo-Chun Chen authored
      2f2e11da
    • Bo-Chun Chen's avatar
      Remove internal-network module · e674defe
      Bo-Chun Chen authored
      e674defe
    • Bo-Chun Chen's avatar
      Remove external-network module · 59a79567
      Bo-Chun Chen authored
      59a79567
    • Bo-Chun Chen's avatar
      Remove ood-instance module · 34433157
      Bo-Chun Chen authored
      34433157
    • Bo-Chun Chen's avatar
      Remove ohpc-instance module · 7495786d
      Bo-Chun Chen authored
      7495786d
    • Bo-Chun Chen's avatar
      Remove nodes module · 46a97e18
      Bo-Chun Chen authored
      46a97e18
    • Bo-Chun Chen's avatar
      Remove unuse variables in vars.tf · 860ba14d
      Bo-Chun Chen authored
      860ba14d
    • Bo-Chun Chen's avatar
      Update main.tf · c3feedde
      Bo-Chun Chen authored
      Add router module
      Remove key-pair module, calling resource directly instead
      Remove floating-ip module, merge into box module
      Replace internal-network and external-network modulex with network
      Replace ohpc-instance, ood-instance, nodes modules with box
      c3feedde
    • Bo-Chun Chen's avatar
      Update vars.tf · b89ac2ba
      Bo-Chun Chen authored
      Reorder variables
      Update some default value:
        image_ohpc: CentOS-7-x86_64-GenericCloud-1905 => ohpc-V0.7
        image_ood: CentOS-7-x86_64-GenericCloud-1905 => ood_15
        internal_network: clusternet => cluster
        external_network: dmznet => dmz
      
      Add new variables, some will replace old variable later:
        ohpc_image: will replace image_ohpc
        ood_image: will replace image_ood
        compute_image: will replace image_compute
        cluster_user: will replace ohpc_user and ood_user
      b89ac2ba
    • Bo-Chun Chen's avatar
      Add module router · b318b4d6
      Bo-Chun Chen authored
      Input:
      name - (required) name of the router
      subnet - (required) ID of the subnet as inbound of router
      gateway - (required) ID of the network as outbound of router
      admin_state - (optional) admin state of the router
      
      Output:
      id - ID of the router
      b318b4d6
    • Bo-Chun Chen's avatar
      Add module network · 47b07a74
      Bo-Chun Chen authored
      Input:
      name - (required) name of the network
      cidr - (required) define ip range of network
      
      admin_state_up - (optional) admin state of the network
      enable_dhcp - (optional) enable DHCP of the network
      nameservers - (optional) List of DNS server for the network
      
      Output:
      id - ID of the network
      subnet - ID of its subnet
      47b07a74
    • Bo-Chun Chen's avatar
      Add module box · 4475ea1a
      Bo-Chun Chen authored
      Input:
      key_pair - (required) key pair name injected into instance
      image_name - (required) image name to boot up instance
      box_name - (required) name of instance
      box_nets - (required) list of network object including id(net_id) and desired ip(ip_v4).
      
      amount - (optional) amount of instance
        if bigger than 1, will append index to the box name
        e.g. name: c, amount: 2 => c0, c1
      box_size - (optional) flavor of instance. default to m1.medium
      user_data - (optional) user_data used to config instance at boot time
      floating_ip_pool - (optional) floating ip pool name. Won't attach floating ip if not passing in.
      
      Output:
      id - List of ID of instance(s)
      image_id - ID of image that is used to launch the instance
      network - Map of nodename to its network(s)
      cpus - Number of vcpu in the instance
      mem - Memory size of the instance
      floating_ip - Map of nodename to its floating ip, if assigned
      4475ea1a
  7. Aug 30, 2019
  8. Aug 29, 2019
  9. Aug 28, 2019
  10. Aug 27, 2019
  11. Aug 21, 2019
Loading