diff options
Diffstat (limited to 'libvirt/resource_libvirt_domain_netiface.go')
-rw-r--r-- | libvirt/resource_libvirt_domain_netiface.go | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/libvirt/resource_libvirt_domain_netiface.go b/libvirt/resource_libvirt_domain_netiface.go deleted file mode 100644 index 7ffc948a..00000000 --- a/libvirt/resource_libvirt_domain_netiface.go +++ /dev/null @@ -1,67 +0,0 @@ -package libvirt - -import ( - "github.com/hashicorp/terraform/helper/schema" -) - -func networkInterfaceCommonSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "network_id": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - Computed: true, - }, - "network_name": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - Computed: true, - }, - "bridge": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - }, - "vepa": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - }, - "macvtap": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - }, - "passthrough": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - }, - "hostname": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ForceNew: false, - }, - "mac": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ForceNew: true, - }, - "wait_for_lease": { - Type: schema.TypeBool, - Optional: true, - }, - "addresses": { - Type: schema.TypeList, - Optional: true, - Computed: true, - ForceNew: false, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - } -} |