mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge pull request #1927 from wido/ipv6-ssvm-fix
ipv6: Set IPv6 CIDR and Gateway in 'nic' profileWithout this information a NPE might be triggered when starting a VR, SSVM or CP as this information is read from the 'nics' table and causes a NPE. During deployment we should set the IPv6 Gateway and CIDR for the NIC object so that it is persisted to the database. Signed-off-by: Wido den Hollander <wido@widodh.nl> * pr/1927: ipv6: Set IPv6 CIDR and Gateway in 'nic' profile Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
This commit is contained in:
commit
1e8126afbf
@ -1523,6 +1523,8 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
|
||||
nic.setIPv4Address(profile.getIPv4Address());
|
||||
nic.setAddressFormat(profile.getFormat());
|
||||
nic.setIPv6Address(profile.getIPv6Address());
|
||||
nic.setIPv6Cidr(profile.getIPv6Cidr());
|
||||
nic.setIPv6Gateway(profile.getIPv6Gateway());
|
||||
nic.setMacAddress(profile.getMacAddress());
|
||||
nic.setIsolationUri(profile.getIsolationUri());
|
||||
nic.setBroadcastUri(profile.getBroadCastUri());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user