Skip to content

Commit

Permalink
Remove usage of macaddress from repositoriy
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
  • Loading branch information
ddelnano committed Feb 28, 2024
1 parent b808b60 commit 433747c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/ddelnano/terraform-provider-xenorchestra/client v0.0.0-00010101000000-000000000000
github.com/hashicorp/terraform-plugin-docs v0.18.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0
terraform-provider-macaddress v0.1.0
)

require (
Expand Down Expand Up @@ -82,5 +81,3 @@ require (
)

replace github.com/ddelnano/terraform-provider-xenorchestra/client => ./client

replace terraform-provider-macaddress v0.1.0 => github.com/ddelnano/terraform-provider-macaddress v0.1.0
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53E
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/ddelnano/terraform-provider-macaddress v0.1.0 h1:RMMGs+62aQ4WEoRkejPxSS6kVtoBNdmT6eBNWsSvank=
github.com/ddelnano/terraform-provider-macaddress v0.1.0/go.mod h1:LpMEnN7Xnb/ioRRastKXG9uHe6X0JiJ46pQk2EUqo0E=
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
Expand Down
2 changes: 0 additions & 2 deletions xoa/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package xoa

import (
"os"
"terraform-provider-macaddress/macaddress"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal"
Expand All @@ -21,7 +20,6 @@ func init() {
testAccProvider = Provider()
testAccProviders = map[string]*schema.Provider{
"xenorchestra": testAccProvider,
"macaddress": macaddress.Provider(),
}

testAccFailToStartHaltVmProvider = Provider()
Expand Down
2 changes: 2 additions & 0 deletions xoa/resource_xenorchestra_vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@ func TestAccXenorchestraVm_createWithCloudInitNetworkConfig(t *testing.T) {
}

func TestAccXenorchestraVm_createWithInvalidMacAddress(t *testing.T) {
t.Skip("This test is broken until gh#303 is resolved")
vmName := fmt.Sprintf("%s - %s", accTestPrefix, t.Name())
invalidMac := "00-0a:83-b1:c0-01"
resource.ParallelTest(t, resource.TestCase{
Expand All @@ -952,6 +953,7 @@ func TestAccXenorchestraVm_createWithInvalidMacAddress(t *testing.T) {
}

func TestAccXenorchestraVm_createWithSentinelPlanValue(t *testing.T) {
t.Skip("This test is broken until gh#303 is resolved")
resourceName := "xenorchestra_vm.bar"
vmName := fmt.Sprintf("%s - %s", accTestPrefix, t.Name())
resource.ParallelTest(t, resource.TestCase{
Expand Down

0 comments on commit 433747c

Please sign in to comment.