-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to integrate with ACI 4.1 and new packages (SOC-10403)
This commit provides changes in plugin packages and config files needed for integration of SOC with ACI 4.1 and higher versions. ACI 4.1 uses a slightly different set of plugin packages and configs for integration with OpenStack. This includes: - python-gbpclient renamed to python-group-based-policy-client - ovs-bridge-name in opflex-agent-ovs.conf removed - addition of int-bridge-name and access-bridge-name in opflex-agent-ovs.conf - Renaming of agent-ovs to opflex-agent For uniformity, the template for opflex-agent-ovs.conf is now renamed from 10-opflex-agent-ovs.conf.erb to opflex-agent-ovs.conf.erb - The neutron template schema and json templates are updated to provide integration_bridge and access_bridge details with default values. The corresponding migration scripts are also updated. (cherry picked from commit cb5347d)
- Loading branch information
1 parent
2f98991
commit 914b93c
Showing
6 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
chef/data_bags/crowbar/migrate/neutron/125_add_opflex_access_integration_bridge.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
def upgrade(tattr, tdep, attr, dep) | ||
unless attr["apic"]["opflex"].key?("integration_bridge") | ||
attr["apic"]["opflex"]["integration_bridge"] = tattr["apic"]["opflex"]["integration_bridge"] | ||
end | ||
unless attr["apic"]["opflex"].key?("access_bridge") | ||
attr["apic"]["opflex"]["access_bridge"] = tattr["apic"]["opflex"]["access_bridge"] | ||
end | ||
|
||
return attr, dep | ||
end | ||
|
||
def downgrade(tattr, tdep, attr, dep) | ||
unless tattr["apic"]["opflex"].key?("integration_bridge") | ||
attr["apic"]["opflex"].delete("integration_bridge") if attr.key?("integration_bridge") | ||
end | ||
unless tattr["apic"]["opflex"].key?("access_bridge") | ||
attr["apic"]["opflex"].delete("access_bridge") if attr.key?("access_bridge") | ||
end | ||
|
||
return attr, dep | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters