Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Interface config#79

Merged
aojea merged 3 commits intogoogle:mainfrom
aojea:interface_config
May 19, 2025
Merged

Interface config#79
aojea merged 3 commits intogoogle:mainfrom
aojea:interface_config

Conversation

@aojea
Copy link
Collaborator

@aojea aojea commented May 19, 2025

Allow to pass device configuration to configure network interface attribute and Pod namespace routing

aojea added 3 commits May 19, 2025 21:01
Change-Id: I8676f2a2f7ed2fb08d6281e397ed317a4dbf7f9e
Change-Id: Icf6d7baf5eacdd35db7ed7b6a0dc2c3e069cd68e
Change-Id: I3bbd5df0fd6414b2c41f3ed240f1c1e3bcec2532
@aojea aojea merged commit 25db764 into google:main May 19, 2025
6 checks passed
@gauravkghildiyal
Copy link
Member

I'm curious if this is a purely hypothetical use case, or are we thinking of some what to pic one IP out of CIDR "169.254.169.13/32"?

@aojea
Copy link
Collaborator Author

aojea commented May 19, 2025

I'm curious if this is a purely hypothetical use case, or are we thinking of some what to pic one IP out of CIDR "169.254.169.13/32"?

it is not ipam, is the ip assigned to the interface

5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:82:4a:d5:11 brd ff:ff:ff:ff:ff:ff
    inet 192.168.9.1/24 brd 192.168.9.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:82ff:fe4a:d511/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever

@gauravkghildiyal
Copy link
Member

Sorry, misread the /32 as some smaller number. So it's like some static config. Gotcha

@aojea
Copy link
Collaborator Author

aojea commented May 20, 2025

Sorry, misread the /32 as some smaller number. So it's like some static config. Gotcha

yes, it is the minimum necessary for boostrap the network as defined in one of the 100s comments here opencontainers/runtime-spec#1271

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants