This patch adds rpc stuff for logging extension as below:
- Reserves a rpc listener for listening callback from log drivers.
- Also provides log_db_api:
+ get_logs_bound_port
+ get_logs_bound_fwg
+ get_fwg_log_info_for_port
+ get_fwg_log_info_for_log_resources
This patch also introduces get_fwg_ports_in_tenant method in
firewall_db_v2.py as helper function for further processing.
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Co-Authored-By: Kim Bao Long <longkb@vn.fujitsu.com>
Partial-Bug: #1720727
Change-Id: I6ad3fcec9a233286fdbd039d6d0e3a842c027f3f