Skip to content

added image details and size details to a node in dimension data driver#832

Closed
tonybaloney wants to merge 1 commit intoapache:trunkfrom
tonybaloney:dd_node_details
Closed

added image details and size details to a node in dimension data driver#832
tonybaloney wants to merge 1 commit intoapache:trunkfrom
tonybaloney:dd_node_details

Conversation

@tonybaloney
Copy link
Contributor

@tonybaloney tonybaloney commented Jul 4, 2016

Status

Replace this: describe the PR status. Examples:

  • done, ready for review

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

public_ips=[public_ip] if public_ip is not None else [],
private_ips=[private_ip] if private_ip is not None else [],
size=self.list_sizes()[0],
image=NodeImage(extra['sourceImageId'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm - those keys are always present in the extra dictionary, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would also make it a bit easier to read / fail safe if we use keyword arguments when calling a constructor, but that's not a blocker for me.

@Kami
Copy link
Member

Kami commented Jul 10, 2016

LGTM, 👍

@tonybaloney
Copy link
Contributor Author

k, merging.

@asfgit asfgit closed this in ae4f64e Jul 14, 2016
asfgit pushed a commit that referenced this pull request Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants