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

provider/openstack: Add to support protocols for resourceNetworkingSecGroupRuleV2 #14307

Merged
merged 4 commits into from
May 15, 2017
Merged

provider/openstack: Add to support protocols for resourceNetworkingSecGroupRuleV2 #14307

merged 4 commits into from
May 15, 2017

Conversation

takaishi
Copy link
Contributor

@takaishi takaishi commented May 9, 2017

issue: #12901

@takaishi takaishi changed the title [WIP] provider/openstack: Add to support protocols for resourceNetworkingSecGroupRuleV2 provider/openstack: Add to support protocols for resourceNetworkingSecGroupRuleV2 May 9, 2017
Copy link
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@takaishi Thanks for submitting this. I just have a few style requests for the name of the test.

In addition, would it be possible for you to rename the first commit to:

vendor: Updating Gophercloud for OpenStack Provider

Let me know if you need help with that or if you have any questions. :)

@@ -85,6 85,115 @@ func TestAccNetworkingV2SecGroupRule_timeout(t *testing.T) {
})
}

func TestAccNetworkingV2SecGroupRule_vrrp(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should change the test name to something like TestAccNetworkingV2SecGroupRule_protocols since it's testing more than just VRRP.

@@ -226,3 335,154 @@ resource "openstack_networking_secgroup_rule_v2" "secgroup_rule_2" {
}
}
`

const testAccNetworkingV2SecGroupRule_vrrp = `
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly here, testAccNetworkingV2SecGroupRule_protocols.

@takaishi
Copy link
Contributor Author

@jtopjian Thank you for comment!
I fixed test name, and rename first commit to fetch gophercloud.

@jtopjian
Copy link
Contributor

@takaishi Thanks! Nice work on this, thank you very much :)

@jaydub
Copy link

jaydub commented May 30, 2017

This fix doesn't address the case where the protocol is supplied by a protocol number (because eg you're stuck using an older version of neutron). This still results in 'null' being handed to the API backend resulting in an 'any' protocol rule being created, in spite of the API supporting numeric protocols.

@jtopjian
Copy link
Contributor

@jaydub Thanks. Do you mind opening a new issue to track this?

@takaishi takaishi deleted the support-to-create-seccgorup-rule-with-protocol-name branch May 30, 2017 03:43
@ghost
Copy link

ghost commented Apr 12, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants