Add ovs flows to skydive
Skydive does not receive information about ovs flows Fixed some other issue: - Add logic to use skydive with odl - Useless config folder. - Missing auth parm in analyzer conf. - Set internal endpoint for connection to keystone. - Remove stderr which consumes a lot of disk space in the host. Change-Id: I4f7287f7453a6c5b6b8d77d746281b175d421bed Closes-Bug: #1711336
This commit is contained in:
parent
1201ee0572
commit
bba8c8af43
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Ensuring config directories exist
|
- name: Ensuring config directories exist
|
||||||
file:
|
file:
|
||||||
path: "{{ node_config_directory }}/{{ item.key }}/config"
|
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||||
state: "directory"
|
state: "directory"
|
||||||
recurse: yes
|
recurse: yes
|
||||||
when:
|
when:
|
||||||
|
@ -8,7 +8,6 @@ auth:
|
|||||||
logging:
|
logging:
|
||||||
level: INFO
|
level: INFO
|
||||||
backends:
|
backends:
|
||||||
- stderr
|
|
||||||
- file
|
- file
|
||||||
file:
|
file:
|
||||||
path: /var/log/kolla/skydive/skydive-agent.log
|
path: /var/log/kolla/skydive/skydive-agent.log
|
||||||
@ -20,6 +19,7 @@ openstack:
|
|||||||
tenant_name: {{ openstack_auth['project_name'] }}
|
tenant_name: {{ openstack_auth['project_name'] }}
|
||||||
region_name: {{ openstack_region_name }}
|
region_name: {{ openstack_region_name }}
|
||||||
domain_name: Default
|
domain_name: Default
|
||||||
|
endpoint_type: internal
|
||||||
|
|
||||||
etcd:
|
etcd:
|
||||||
servers:
|
servers:
|
||||||
@ -43,7 +43,7 @@ agent:
|
|||||||
flow:
|
flow:
|
||||||
probes:
|
probes:
|
||||||
- gopacket
|
- gopacket
|
||||||
{% if neutron_plugin_agent == "openvswitch" %}
|
{% if neutron_plugin_agent in ['openvswitch', 'opendaylight'] %}
|
||||||
- ovssflow
|
- ovssflow
|
||||||
{% endif %}
|
{% endif %}
|
||||||
topology:
|
topology:
|
||||||
@ -51,7 +51,7 @@ agent:
|
|||||||
- netlink
|
- netlink
|
||||||
- netns
|
- netns
|
||||||
- neutron
|
- neutron
|
||||||
{% if neutron_plugin_agent == "openvswitch" %}
|
{% if neutron_plugin_agent in ['openvswitch', 'opendaylight'] %}
|
||||||
- ovsdb
|
- ovsdb
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -61,3 +61,10 @@ netns:
|
|||||||
flow:
|
flow:
|
||||||
expire: 600
|
expire: 600
|
||||||
update: 60
|
update: 60
|
||||||
|
|
||||||
|
{% if neutron_plugin_agent in ['openvswitch', 'opendaylight'] %}
|
||||||
|
ovs:
|
||||||
|
ovsdb: tcp://{{ api_interface_address }}:{{ ovsdb_port }}
|
||||||
|
oflow:
|
||||||
|
enable: true
|
||||||
|
{% endif %}
|
||||||
|
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
auth:
|
auth:
|
||||||
type: keystone
|
type: keystone
|
||||||
|
analyzer_username: {{ openstack_auth['username'] }}
|
||||||
|
analyzer_password: {{ openstack_auth['password'] }}
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level: INFO
|
level: INFO
|
||||||
backends:
|
backends:
|
||||||
- stderr
|
|
||||||
- file
|
- file
|
||||||
file:
|
file:
|
||||||
path: /var/log/kolla/skydive/skydive-analyzer.log
|
path: /var/log/kolla/skydive/skydive-analyzer.log
|
||||||
@ -16,6 +17,7 @@ openstack:
|
|||||||
tenant_name: {{ openstack_auth['project_name'] }}
|
tenant_name: {{ openstack_auth['project_name'] }}
|
||||||
region_name: {{ openstack_region_name }}
|
region_name: {{ openstack_region_name }}
|
||||||
domain_name: Default
|
domain_name: Default
|
||||||
|
endpoint_type: internal
|
||||||
|
|
||||||
etcd:
|
etcd:
|
||||||
client_timeout: 100
|
client_timeout: 100
|
||||||
|
Loading…
Reference in New Issue
Block a user