Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add vlan resource #6

Merged
merged 5 commits into from
Nov 26, 2020
Merged

add vlan resource #6

merged 5 commits into from
Nov 26, 2020

Conversation

mfranczy
Copy link
Contributor

@mfranczy mfranczy commented Nov 24, 2020

Signed-off-by: Marcin Franczyk [email protected]

Description

Add VLAN resource

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

make testacc TESTARGS='-run=TestAccAnxcloudVLAN'                                                                                                         
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... | grep -v 'vendor') -v -run=TestAccAnxcloudVLAN -timeout 120m -parallel=4             
?       github.com/anexia-it/terraform-provider-anxcloud        [no test files]                                        
=== RUN   TestAccAnxcloudVLAN                                                                                          
    TestAccAnxcloudVLAN: resource_vlan_test.go:22: Step 1/2 error: Error running apply:                                
        Error: waiting for vlan with '03f7fa5ba3b14fcb9ab7ec305c448b9d' id to be 'Active'                              
                                                                                                                       
                                          
    TestAccAnxcloudVLAN: testing_new.go:63: Error running post-test destroy, there may be dangling resources:          
        Error: could not execute vlan delete request: received error from api: {Code:405 Message:Method Not Allowed: Pending VLAN "newVLAN-110500" cannot be deleted Validation:map[]}                                                        
                                                                                                                       
                                                                                                                       
--- FAIL: TestAccAnxcloudVLAN (900.68s)                                                                                
FAIL                                                                                                                   
FAIL    github.com/anexia-it/terraform-provider-anxcloud/anxcloud       900.687s                                       
FAIL                                                                                                                   
make: *** [Makefile:49: testacc] Error 1 

Release Note

Release note for CHANGELOG:

Add VLAN resource

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Signed-off-by: Marcin Franczyk <[email protected]>
@mfranczy
Copy link
Contributor Author

Acceptance tests are failing because of Anexia problems with VLAN creation.

Signed-off-by: Marcin Franczyk <[email protected]>
@mfranczy mfranczy merged commit 3cd9d63 into main Nov 26, 2020
@mfranczy mfranczy deleted the add-vlan-resource branch December 14, 2020 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants