Packages

This package implements the full CloudAPI for managing Joyent Triton clusters

Current section

Files

Jump to
cloudapi lib nic.ex
Raw

lib/nic.ex

defmodule CloudAPI.NIC do
@typedoc """
This structure represents a CloudAPI NIC
"""
use Ecto.Schema
import Ecto.Changeset
@primary_key false
embedded_schema do
field :ip, :string
field :mac, :string
field :primary, :boolean
field :netmask, :string
field :gateway, :string
field :state, :string
field :network, Ecto.UUID
end
end