From 08eddb8df44beacbb7b4047e313a771292030ccc Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Apr 2020 21:53:00 +0000 Subject: Initial VES for DANOS vRouter 1. Create vpp_measurement_reporter that use DANOS configd query to retrieve statistics and libevel to transmit 2. Copy VES evel library to build a debian package under vpp_measurement_report 3. Add debian files to create a vpp_measurement_reporter + libevel debian package 4. Add debian install and systemctl start files 5. Add instruction to build VES reporter debian package (that will include libevel.so) 6. Add instructions to build DANOS ISO with VES reporter debian package and creating glance image Issue-ID: INT-1566 Change-Id: If18f16525f07f1b6bae0fc105e0452263b4bf661 Signed-off-by: Brian Freeman --- preload_data/vFWCLDN/preload_data.json | 35 ++++++++++++++++++++++++++++++ preload_data/vFWCL_DANOS/preload_data.json | 35 ++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 preload_data/vFWCLDN/preload_data.json create mode 100644 preload_data/vFWCL_DANOS/preload_data.json (limited to 'preload_data') diff --git a/preload_data/vFWCLDN/preload_data.json b/preload_data/vFWCLDN/preload_data.json new file mode 100644 index 00000000..a42ec909 --- /dev/null +++ b/preload_data/vFWCLDN/preload_data.json @@ -0,0 +1,35 @@ +{ + "vfwsnk_preload.template": { + "int_unprotected_private_net_id": "vofwlsnk_unprotected${hostid}", + "int_unprotected_private_subnet_id": "vofwlsnk_unprotected_sub${hostid}", + "unprotected_private_net_cidr": "192.168.10.0/24", + "int_protected_private_net_id": "vofwlsnk_protected${hostid}", + "int_protected_private_subnet_id": "vofwlsnk_protected_sub${hostid}", + "protected_private_net_cidr": "192.168.20.0/24", + "vfw_int_unprotected_private_ip_0": "192.168.10.100", + "vfw_int_protected_private_floating_ip": "192.168.10.200", + "vfw_int_protected_private_ip_0": "192.168.20.100", + "vfw_onap_private_ip_0": "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_CIDR_PREFIX}.${ecompnet}.101", + "vsn_int_protected_private_ip_0": "192.168.20.250", + "vsn_onap_private_ip_0": "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_CIDR_PREFIX}.${ecompnet}.102", + "vfw_name_0": "vofwl01fwl${hostid}", + "vsn_name_0": "vofwl01snk${hostid}", + "vfw_image_name": "${GLOBAL_INJECTED_DANOS_IMAGE}", + "vfw_flavor_name": "${GLOBAL_INJECTED_DANOS_FLAVOR}", + "vsn_image_name": "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}", + "vsn_flavor_name": "${GLOBAL_INJECTED_VM_FLAVOR}" + }, + "vpkg_preload.template": { + "unprotected_private_net_id": "vFWSNK_vofwlsnk_unprotected${hostid}", + "unprotected_private_subnet_id": "vFWSNK_vofwlsnk_unprotected_sub${hostid}", + "unprotected_private_net_cidr": "192.168.10.0/24", + "protected_private_net_cidr": "192.168.20.0/24", + "vfw_private_ip_0": "192.168.10.100", + "vpg_unprotected_private_ip_0": "192.168.10.200", + "vpg_onap_private_ip_0": "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_CIDR_PREFIX}.${ecompnet}.103", + "vsn_private_ip_0": "192.168.20.250", + "vpg_name_0": "vofwl01pgn${hostid}", + "vpg_image_name": "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}", + "vpg_flavor_name": "${GLOBAL_INJECTED_VM_FLAVOR}" + } +} diff --git a/preload_data/vFWCL_DANOS/preload_data.json b/preload_data/vFWCL_DANOS/preload_data.json new file mode 100644 index 00000000..1a50b260 --- /dev/null +++ b/preload_data/vFWCL_DANOS/preload_data.json @@ -0,0 +1,35 @@ +{ + "vfwsnk_preload.template": { + "int_unprotected_private_net_id": "vofwlsnk_unprotected${hostid}", + "int_unprotected_private_subnet_id": "vofwlsnk_unprotected_sub${hostid}", + "unprotected_private_net_cidr": "192.168.10.0/24", + "int_protected_private_net_id": "vofwlsnk_protected${hostid}", + "int_protected_private_subnet_id": "vofwlsnk_protected_sub${hostid}", + "protected_private_net_cidr": "192.168.20.0/24", + "vfw_int_unprotected_private_ip_0": "192.168.10.100", + "vfw_int_protected_private_floating_ip": "192.168.10.200", + "vfw_int_protected_private_ip_0": "192.168.20.100", + "vfw_onap_private_ip_0": "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_CIDR_PREFIX}.${ecompnet}.101", + "vsn_int_protected_private_ip_0": "192.168.20.250", + "vsn_onap_private_ip_0": "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_CIDR_PREFIX}.${ecompnet}.102", + "vfw_name_0": "vofwl01fwl${hostid}", + "vsn_name_0": "vofwl01snk${hostid}", + "vfw_image_name": "${GLOBAL_INJECTED_DANOS_VES_IMAGE}", + "vfw_flavor_name": "${GLOBAL_INJECTED_DANOS_VES_FLAVOR}", + "vsn_image_name": "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}", + "vsn_flavor_name": "${GLOBAL_INJECTED_VM_FLAVOR}" + }, + "vpkg_preload.template": { + "unprotected_private_net_id": "vFWSNK_vofwlsnk_unprotected${hostid}", + "unprotected_private_subnet_id": "vFWSNK_vofwlsnk_unprotected_sub${hostid}", + "unprotected_private_net_cidr": "192.168.10.0/24", + "protected_private_net_cidr": "192.168.20.0/24", + "vfw_private_ip_0": "192.168.10.100", + "vpg_unprotected_private_ip_0": "192.168.10.200", + "vpg_onap_private_ip_0": "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_CIDR_PREFIX}.${ecompnet}.103", + "vsn_private_ip_0": "192.168.20.250", + "vpg_name_0": "vofwl01pgn${hostid}", + "vpg_image_name": "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}", + "vpg_flavor_name": "${GLOBAL_INJECTED_VM_FLAVOR}" + } +} -- cgit 1.2.3-korg