Merge lp:~majduk/charms/trusty/neutron-contrail/trunk into lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
Status: | Merged |
---|---|
Approved by: | Michał Sawicz |
Approved revision: | 89 |
Merged at revision: | 75 |
Proposed branch: | lp:~majduk/charms/trusty/neutron-contrail/trunk |
Merge into: | lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk |
Diff against target: |
531 lines (+230/-37) 6 files modified
config.yaml (+10/-0) files/40contrail (+10/-0) hooks/neutron_contrail_hooks.py (+83/-24) hooks/neutron_contrail_utils.py (+108/-9) scripts/create-vrouter.sh (+11/-4) scripts/set-scaling-governor.sh (+8/-0) |
To merge this branch: | bzr merge lp:~majduk/charms/trusty/neutron-contrail/trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ante Karamatić | Approve | ||
Robert Ayres | Pending | ||
Review via email: mp+340373@code.launchpad.net |
Description of the change
Changelog:
Allow changing dpdk_coremask, dpdk_mempool_size, dpdk_txd_size, dpdk_rxd_size using config-changed. Always restart supervisor-vrouter service as per Juniper recommen
dation.
Set kernel CPU frequency scaling_governor to performance. This is required on DPDK enabled nodes.
Add custom restart function for vrouter. DPDK vRouter does require i40e driver to be reloaded as it is not correctly reassigned to the interfaces after vRouter stop.
Render vrouter agent configuration (and in effect restart vrouter) only when configuration is complete. Incomplete configuration causes vrouter to deconfigure interf
aces and fail to start.
Store vhost0 interface IP, prefix length and gateway in config. This prevents issue where IP or Gateway is lost when config-changed is ran during vrouter restart or before vrouter was first started after the install
Update vhost-phy, vhost-phy-ip and vhost-phy-gw on charm upgrade
Add parameters for vrouter: dpdk-mempool-size, dpdk-txd-size, dpdk-rxd-size.
Allow reconfiguration of dpdk-coremask in config-changed
Use Contrail provided version of nova-*, libvirt-* and qemu-*
Present vrouter status in juju to simplify debugging and quicker service status overview
Setup jumboframe support
See comments in line.