module Lunanode::APIActions::Network

Public Instance Methods

network_create(region:, name:, subnet:, dns:) click to toggle source
# File lib/lunanode/api_actions/default/network.rb, line 10
def network_create(region:, name:, subnet:, dns:)
  action(:network, :create, region: region, name: name, subnet: subnet, dns: dns)
end
network_delete(region:, net_id:) click to toggle source
# File lib/lunanode/api_actions/default/network.rb, line 14
def network_delete(region:, net_id:)
  action(:network, :delete, region: region, net_id: net_id)
end
network_list(region: nil) click to toggle source
# File lib/lunanode/api_actions/default/network.rb, line 6
def network_list(region: nil)
  action(:network, :list, region: region)
end