-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cy 802 openstack plugin v3 #296
Conversation
7e2e449
to
f3551db
Compare
f3551db
to
846155f
Compare
id: { get_input: external_network_id } | ||
kwargs: | ||
routing: | ||
external: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EarthmanT I do not think so we should add kwargs
since it uses use_external_resource
external-network:
type: cloudify.nodes.openstack.Network
properties:
client_config: *client_config
use_external_resource: true
resource_config:
id: { get_input: external_network_id }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because it will be useless since it use use_external_resource
@@ -115,11 +115,13 @@ def _handle_external_router_resource(openstack_resource): | |||
is connected to external network node resource | |||
:param openstack_resource: Instance of openstack router resource | |||
""" | |||
remote_router = openstack_resource.get() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not delete this since we need it down there
ext_network_id = \ | ||
_get_external_network_id(remote_router.external_gateway_info) | ||
_get_external_network_id(network_resource.external_gateway_info) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still need the remote_router
since we need to get the value for external_gateway_info
which at the end of the day get the external network id and then compare it with external network from the realtionship
66c6297
to
ba1da35
Compare
No description provided.