Log Host life cycle
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
Owner
👍 -
Owner
Closes #31 (closed)
-
115 116 host.mac = str(cls.generate_mac(instance, vlan)) 116 117 host.hostname = instance.vm_name 117 118 # Get adresses from firewall 118 addresses = vlan.get_new_address() 119 host.ipv4 = addresses['ipv4'] 120 host.ipv6 = addresses['ipv6'] 119 if base_activity is None: 120 act = instance_activity(code_suffix='allocating_ip', 121 instance=instance, user=owner) 122 else: 123 act = base_activity.sub_activity('allocating_ip') 124 with act as act: -
Owner
with act:
?
-