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

Interface addressing #39

Merged
merged 4 commits into from
Jun 6, 2023
Merged

Interface addressing #39

merged 4 commits into from
Jun 6, 2023

Conversation

henderiw
Copy link
Contributor

@henderiw henderiw commented Jun 5, 2023

Right now we only allocate 1 IP address family.
With this PR the author of the package is able to select what type of addressing he/she wants: ipv4only, ipv6only dual stack or none (which means L2)

@@ -34,6 +34,14 @@ spec:
spec:
description: TBD how do we distinguish the loopback from the vnic(s)
properties:
addressing:
Copy link
Member

Choose a reason for hiding this comment

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

K8s uses ipFamilyPolicy and ipFamilies for Service: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#ServiceSpec

Can/should we follow the same practice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I aligned with the IPFamily convention. The IPFamily Policy is slightly different, but I reused the naming

@johnbelamaric
Copy link
Member

/approve
/lgtm

@nephio-prow
Copy link
Contributor

nephio-prow bot commented Jun 6, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnbelamaric

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot added the approved label Jun 6, 2023
@nephio-prow nephio-prow bot merged commit 846162f into nephio-project:main Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants