Skip to content

Only allocate SNAT IP when there is no ephemeral or floating IP #4317

@bnaecker

Description

@bnaecker

In the instance-creation saga, we unconditionally allocate an SNAT IP for every instance. This is regardless of whether the request explicitly asked for ephemeral addresses. In that case, OPTE always uses the ephemeral address anyway, and no network traffic will ever flow through the SNAT IP. We ought to make such allocation optional, and only provide one if no ephemeral addresses were requested.

Metadata

Metadata

Assignees

Labels

networkingRelated to the networking.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions