ceilometer network.* collector are not JSON serializable
Add network_tap and network_floating to CeilometerTransformer.
Add corresponding test cases.
In order to map the strip_func, replace the '.' to '_' in service name,
by the line "res_type = res_type.replace('.', '_')".
network.floating --> _strip_network_floating
(network.bw.in and network.bw.out) network.tap --> _strip_network_tap
Reviewed: https:/ /review. openstack. org/355869 /git.openstack. org/cgit/ openstack/ cloudkitty/ commit/ ?id=015546e44ef a3e3ea0cd59d8a4 130e3598fe6544
Committed: https:/
Submitter: Jenkins
Branch: master
commit 015546e44efa3e3 ea0cd59d8a4130e 3598fe6544 guoqing@ 99cloud. net>
Author: zhangguoqing <zhang.
Date: Tue Aug 16 19:36:32 2016 +0800
ceilometer network.* collector are not JSON serializable
Add network_tap and network_floating to CeilometerTrans former.
Add corresponding test cases.
In order to map the strip_func, replace the '.' to '_' in service name, replace( '.', '_')". floating --> _strip_ network_ floating
by the line "res_type = res_type.
network.
(network.bw.in and network.bw.out) network.tap --> _strip_network_tap
Change-Id: Iee47f7693e8a37 d8239ea52419bef 1c2304d0a31
Closes-bug: #1616738