Skip to content

DHCP support#584

Merged
jmedved merged 1 commit intocontiv:masterfrom
lukasmacko:dhcp
Feb 9, 2018
Merged

DHCP support#584
jmedved merged 1 commit intocontiv:masterfrom
lukasmacko:dhcp

Conversation

@lukasmacko
Copy link
Collaborator

This PR allows to configure DHCP on the main VPP interface. Renewal of DHCP lease is not supported.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.3%) to 75.517% when pulling ff3324c on lukasmacko:dhcp into 9726993 on contiv:master.

* Node configuration (section `NodeConfig`; one entry for each node)
- `NodeName`: name of a Kubernetes node;
- `UseDhcpOnMainInt`: acquire IP address for the main VPP interface using DHCP
(beware: renew of IP address is not supported)
Copy link
Contributor

Choose a reason for hiding this comment

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

is renew lease or changing ip ?

Copy link
Member

Choose a reason for hiding this comment

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

The IP address could be changed when the lease is renewed. I guess that's what Lukas is referring to. If the lease is renewed, but the IP address stays the same, we should be fine.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes correct, the change of IP address is not supported. I'll re-phrase it

}

for {
select {
Copy link
Member

Choose a reason for hiding this comment

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

Should you be getting the IP address through DHCP also in the Resync case?

Copy link
Member

@jmedved jmedved left a comment

Choose a reason for hiding this comment

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

Need to address the comments in a follow-up pull request. also, Get back the unit test coverage. But we need to be unblocked to start testing.

@jmedved jmedved merged commit dbcef8d into contiv:master Feb 9, 2018
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.

4 participants