vrouter gateway should be set if instances has gateway vars set in topology.yml
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
Sanju Abraham | |||
Trunk |
Fix Committed
|
High
|
Sanju Abraham |
Bug Description
Currently for gateway role alone we look at the gateway var of instances dict and update the contrail_
Proposed patch is as below.
diff --git a/transform/
index 52c28de..b416cb8 100755
--- a/transform/
+++ b/transform/
@@ -266,11 +266,9 @@ class Inventory(object):
}
- if instance.provider == 'onprem' and hasattr(instance, 'gateway') and instance.gateway:
- entry['
- else:
- entry['
-
+ entry['
+ if instance.provider == 'onprem' and hasattr(instance, 'gateway') and instance.gateway:
+ entry['
# TODO
tags: | added: beta-blocker releaseblocker |
Senthil,
contrail- multi-cloud is not intended to provision any other roles onprem other than the gateway for extending the fabric.
The gateway var for gateway in onprem is the only role that is applicable in the current context.
I am marking this bug as invalid. Please let me know if you need to discuss this further.