Re: [openstack-dev] [infra] support graphviz in document publishing

2017-11-14 Thread Yujun Zhang (ZTE)
python.org/pypi/sphinxcontrib-blockdiag > > Might be worth looking at if you want something simpler than graphviz > and to not depend on it. > Really nice diagram and syntax. I will surely consider it for so

Re: [openstack-dev] [infra] support graphviz in document publishing

2017-11-14 Thread Yujun Zhang (ZTE)
anual/drivers.html#package-requirements Thanks Andreas. Besides the dependency you mentioned, I just realized that we need also to add the extension to sphinx conf[1] to make it effective. https://review.openstack.org/#/c/518196/8/doc/source/conf.

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) <zhangyujun+...@gmail.com> wrote: > Hi root causers > > I have

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

2018-01-08 Thread Yujun Zhang (ZTE)
ata source is not defined 2. data source defined but state config not exist 3. data source defined, state config exist but the state is not found. Could somebody shed some light on it? -- Yujun Zhang __ OpenStack Development Ma

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

2018-01-11 Thread Yujun Zhang (ZTE)
efined, state config exist but the state is not found. >-> I believe that somewhere in the first part of the if statement you will > get UNDEFINED > > > > > > Hope that’s more clear now. It might be a good idea to add some comments > to that function… >

<    1   2