Open maxadamo opened 4 months ago
I have ipv4 and ipv6 objects, created as following:
ip6 = objects.IPv6.create(ip=self.ipv6, mac="00:00:00:00:00:00", configure_for_dhcp=False) ip4 = objects.IPv4.create(ip=self.ipv4, configure_for_dhcp=False)
if try to create the host record, I can get only IPv4 or IPv6, but I cannot get the two types of IPs together.
objects.HostRecordV6.create( self.conn, view=self.network, name=self.record, ipv4addrs=[ip4], ipv6addrs=[ip6], )
if I use objects.HostRecordV6 I get only the IPv6 if I use objects.HostRecordV4 or objects.HostRecord I get only the IPv4 If I try to run if again, I get to add the missing IP I get an error
objects.HostRecordV6
objects.HostRecordV4
objects.HostRecord
please also note #346 : with IPv6 I have to use mac=...)
mac=...
I have ipv4 and ipv6 objects, created as following:
if try to create the host record, I can get only IPv4 or IPv6, but I cannot get the two types of IPs together.
if I use
objects.HostRecordV6
I get only the IPv6 if I useobjects.HostRecordV4
orobjects.HostRecord
I get only the IPv4 If I try to run if again, I get to add the missing IP I get an errorplease also note #346 : with IPv6 I have to use
mac=...
)