-
Notifications
You must be signed in to change notification settings - Fork 309
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
feat(nm): implementation of IPv6 configuration #4786
Conversation
…tIp6' method Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
@sfiorani You have a couple of test failures probably due to a missing Set |
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/KuraIp6AddressGenerationMode.java
Outdated
Show resolved
Hide resolved
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/KuraIp6Privacy.java
Outdated
Show resolved
Hide resolved
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/KuraIp6ConfigurationMethod.java
Outdated
Show resolved
Hide resolved
...org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/configuration/NMSettingsConverter.java
Outdated
Show resolved
Hide resolved
...org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/configuration/NMSettingsConverter.java
Outdated
Show resolved
Hide resolved
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
kura/test/org.eclipse.kura.nm.test/src/test/java/org/eclipse/kura/nm/NMDbusConnectorTest.java
Outdated
Show resolved
Hide resolved
...org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/configuration/NMSettingsConverter.java
Outdated
Show resolved
Hide resolved
Please check and solve the two issues reported by Sonar: https://sonarcloud.io/project/issues?resolved=false&severities=CRITICAL&sinceLeakPeriod=true&branch=PR-4786&id=org.eclipse.kura%3Akura |
...org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/configuration/NMSettingsConverter.java
Outdated
Show resolved
Hide resolved
...se.kura.nm.test/src/test/java/org/eclipse/kura/nm/configuration/NMSettingsConverterTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
...org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/configuration/NMSettingsConverter.java
Outdated
Show resolved
Hide resolved
...org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/configuration/NMSettingsConverter.java
Outdated
Show resolved
Hide resolved
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/KuraIp6AddressGenerationMode.java
Show resolved
Hide resolved
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/KuraIp6Privacy.java
Show resolved
Hide resolved
...g.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/enums/NMSettingIP6ConfigAddrGenMode.java
Show resolved
Hide resolved
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/enums/NMSettingIP6ConfigPrivacy.java
Show resolved
Hide resolved
...se.kura.nm.test/src/test/java/org/eclipse/kura/nm/configuration/NMSettingsConverterTest.java
Outdated
Show resolved
Hide resolved
...se.kura.nm.test/src/test/java/org/eclipse/kura/nm/configuration/NMSettingsConverterTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
kura/org.eclipse.kura.nm/src/main/java/org/eclipse/kura/nm/KuraIp6Privacy.java
Outdated
Show resolved
Hide resolved
@sfiorani the only missing thing at this point are the unit tests. The production code is 👌 |
Opened IP review: https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9819 |
IP check successful |
This PR adds the configuration of IPv6 protocol in the NetworkManager bundle.
New enums to map NM settings and Snapshots settings in Kura
NMSettingIP6ConfigAddrGenMode
andNMSettingIP6ConfigPrivacy
enums to map theaddr-gen-mode
andip6-privacy
NetworkManager's settingsKuraIp6ConfigurationMethod
andKuraIp6Privacy
enums that maps Snapshots' values for previous NM's settingsKuraIp6ConfigurationMethod
to map NetworkManager's settingmethod
for IPv6 protocolIPv6 protocol configuration
In
org.eclipse.kura.nm.configuration.NMSettingsConverter
, thebuildIpv6Settings
method is now implemented: the IPv6 configuration can be set according to NetworkManager requirements.Related Issue: This PR fixes/closes {issue number}
Description of the solution adopted: A more detailed description of the changes made to solve/close one or more issues. If the PR is simple and easy to understand this section can be skipped
Screenshots: If applicable, add screenshots to help explain your solution
Manual Tests: Optional description of the tests performed to check correct functioning of changes, useful for an efficient review
Any side note on the changes made: Description of any other change that has been made, which is not directly linked to the issue resolution [e.g. Code clean up/Sonar issue resolution]