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

Nat Network Support #18

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Nat Network Support #18

wants to merge 6 commits into from

Conversation

jpts
Copy link
Contributor

@jpts jpts commented May 13, 2021

This PR contains the functionality in #13 and #11, rebased onto master and updated to use the Mange().run functions.

I am using this functionality successfully with a patched version of the terraform provider, and a couple of other minor patches to this library (to be introduced in different PRs).

This was referenced Jun 23, 2021
@VoyTechnology
Copy link
Member

Hi @jpts, Since isage no longer works on #11 I have closed the PR. I have also asked patsevanton on #13 is this PR a more complete version. Lets just wait on their response, and if there is none, I will close #13 and merge this change.

@@ -18,6 +19,8 @@ const (
NICNetDisconnected = NICNetwork("null")
// NICNetNAT when the NIC is NAT-ed to access the external network.
NICNetNAT = NICNetwork("nat")
// NICNetNATNetwork when the NIC is on an internal network, with NATed external access.
Copy link
Member

Choose a reason for hiding this comment

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

This looks like a potential go fmt error. I have merged a change to update the linting on the CI. I think if you rebase this PR it should show up.

return nil
}

func (n *NATNet) Config() error {
Copy link
Member

Choose a reason for hiding this comment

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

Config sounds like a function which will return some configuration. I think making it a verb Configure would portray the effect of this function better.

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.

3 participants