Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !24 opened Mar 08, 2014 by Bach Dániel@bachdaniel 
  • Report abuse
Report abuse

Log Host life cycle

  • Discussion 3
  • Commits 1
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté @orymate commented Mar 09, 2014
    Owner

    👍

    :+1:
  • Őry Máté @orymate commented Mar 09, 2014
    Owner

    Closes #31 (closed)

    Closes #31
  • Őry Máté
    @orymate started a discussion on commit 9e66bb5d Mar 09, 2014
    circle/vm/models/network.py
    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:
    • Őry Máté @orymate commented Mar 09, 2014
      Owner

      with act:?

      `with act:`?
    Please register or sign in to reply
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Bach Dániel
Assignee
Bach Dániel @bachdaniel
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: circle/cloud!24