Re: [openstack-dev] [vitrage] rules in vitrage_aggregated_state()

2018-01-11 Thread Afek, Ifat (Nokia - IL/Kfar Sava)
r usage questions)" mailto:openstack-dev@lists.openstack.org>> Date: Tuesday, 9 January 2018 at 8:34 To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [vitrage] rules in vitrage_

Re: [openstack-dev] [vitrage] rules in vitrage_aggregated_state()

2018-01-11 Thread Yujun Zhang (ZTE)
function… > > > > Best Regards, > > Ifat. > > > > > > *From: *"Yujun Zhang (ZTE)" > *Reply-To: *"OpenStack Development Mailing List (not for usage > questions)" > *Date: *Tuesday, 9 January 2018 at 8:34 > *To: *"OpenStack Development M

Re: [openstack-dev] [vitrage] rules in vitrage_aggregated_state()

2018-01-09 Thread Afek, Ifat (Nokia - IL/Kfar Sava)
ist (not for usage questions)" Date: Tuesday, 9 January 2018 at 8:34 To: "OpenStack Development Mailing List (not for usage questions)" Subject: Re: [openstack-dev] [vitrage] rules in vitrage_aggregated_state() Forgot to paste the link to the related code: https://git.openst

Re: [openstack-dev] [vitrage] rules in vitrage_aggregated_state()

2018-01-08 Thread Yujun Zhang (ZTE)
Forgot to paste the link to the related code: https://git.openstack.org/cgit/openstack/vitrage/tree/vitrage/entity_graph/mappings/datasource_info_mapper.py#n61 On Tue, Jan 9, 2018 at 2:34 PM Yujun Zhang (ZTE) wrote: > Hi root causers > > I have been inspecting the code about aggregated state

[openstack-dev] [vitrage] rules in vitrage_aggregated_state()

2018-01-08 Thread Yujun Zhang (ZTE)
Hi root causers I have been inspecting the code about aggregated state recently and have a question regarding the rules. The "not" operator in the if clause confuses me. If it is not a configured data source, how do we apply the aggregation rules? It seems this is handled in else clause.