aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot/aai2_vm_init.sh16
-rw-r--r--boot/aai_install.sh25
-rw-r--r--boot/aai_vm_init.sh45
-rw-r--r--boot/appc_install.sh8
-rw-r--r--boot/appc_vm_init.sh5
-rw-r--r--boot/bind_zones28
-rw-r--r--boot/clamp_install.sh (renamed from boot/mso_install.sh)25
-rw-r--r--boot/clamp_serv.sh (renamed from boot/asdc_serv.sh)2
-rw-r--r--boot/clamp_vm_init.sh30
-rw-r--r--boot/cli_install.sh50
-rw-r--r--boot/db_openecomp_org109
-rw-r--r--boot/db_simpledemo_openecomp_org12
-rw-r--r--boot/dcae_install.sh11
-rw-r--r--boot/dns_install.sh9
-rw-r--r--boot/mr_install.sh8
-rw-r--r--boot/msb_vm_init.sh83
-rwxr-xr-xboot/mvim_vm_init.sh26
-rw-r--r--boot/openo_all_serv.sh7
-rw-r--r--boot/openo_install.sh120
-rw-r--r--boot/openo_serv.sh98
-rw-r--r--boot/policy_install.sh8
-rw-r--r--boot/portal_install.sh9
-rwxr-xr-xboot/portal_vm_init.sh84
-rw-r--r--boot/robot_install.sh8
-rw-r--r--boot/robot_vm_init.sh3
-rw-r--r--boot/sdc_ext_volume_partitions.txt (renamed from boot/asdc_ext_volume_partitions.txt)0
-rw-r--r--boot/sdc_install.sh (renamed from boot/asdc_install.sh)28
-rw-r--r--boot/sdc_serv.sh (renamed from boot/mso_serv.sh)2
-rw-r--r--boot/sdc_vm_init.sh (renamed from boot/asdc_vm_init.sh)0
-rw-r--r--boot/sdnc_install.sh8
-rw-r--r--boot/sdnc_vm_init.sh5
-rw-r--r--boot/so_install.sh (renamed from boot/aai2_install.sh)50
-rw-r--r--boot/so_serv.sh (renamed from boot/aai2_serv.sh)2
-rw-r--r--boot/so_vm_init.sh (renamed from boot/mso_vm_init.sh)4
-rwxr-xr-xboot/uui_vm_init.sh21
-rwxr-xr-xboot/vfc_vm_init.sh51
-rw-r--r--boot/vid_install.sh8
-rwxr-xr-xboot/vnfsdk_vm_init.sh31
-rw-r--r--heat/ONAP/onap_openstack.env72
-rw-r--r--heat/ONAP/onap_openstack.yaml559
-rw-r--r--heat/ONAP/onap_openstack_float.env75
-rw-r--r--heat/ONAP/onap_openstack_float.yaml610
-rw-r--r--heat/ONAP/onap_openstack_nofloat.env72
-rw-r--r--heat/ONAP/onap_openstack_nofloat.yaml541
-rw-r--r--heat/ONAP/onap_rackspace.env49
-rw-r--r--heat/ONAP/onap_rackspace.yaml336
-rw-r--r--heat/vCPE/infra/base_vcpe_infra_rackspace.env3
-rw-r--r--heat/vCPE/infra/base_vcpe_infra_rackspace.yaml14
-rw-r--r--heat/vCPE/vbng/base_vcpe_vbng_rackspace.env5
-rw-r--r--heat/vCPE/vbng/base_vcpe_vbng_rackspace.yaml18
-rw-r--r--heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env10
-rw-r--r--heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml31
-rw-r--r--heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.env8
-rw-r--r--heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.yaml36
-rw-r--r--heat/vCPE/vgw/base_vcpe_vgw_rackspace.env6
-rw-r--r--heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml24
-rw-r--r--heat/vFW/.DS_Storebin6148 -> 0 bytes
-rw-r--r--heat/vFW/base_vfw.env (renamed from heat/vFW/base_vfw_openstack.env)2
-rw-r--r--heat/vFW/base_vfw.yaml (renamed from heat/vFW/base_vfw_openstack.yaml)5
-rw-r--r--heat/vFW/base_vfw_rackspace.env32
-rw-r--r--heat/vFW/base_vfw_rackspace.yaml377
-rw-r--r--heat/vLB/base_vlb.env (renamed from heat/vLB/base_vlb_openstack.env)11
-rw-r--r--heat/vLB/base_vlb.yaml (renamed from heat/vLB/base_vlb_openstack.yaml)137
-rw-r--r--heat/vLB/base_vlb_rackspace.env26
-rw-r--r--heat/vLB/base_vlb_rackspace.yaml287
-rw-r--r--heat/vLB/dnsscaling.env (renamed from heat/vLB/dnsscaling_openstack.env)2
-rw-r--r--heat/vLB/dnsscaling.yaml (renamed from heat/vLB/dnsscaling_openstack.yaml)0
-rw-r--r--heat/vLB/dnsscaling_rackspace.env21
-rw-r--r--heat/vLB/dnsscaling_rackspace.yaml197
-rw-r--r--heat/vLB/packet_gen_vlb.env13
-rw-r--r--heat/vLB/packet_gen_vlb.yaml146
-rwxr-xr-xpom.xml6
-rwxr-xr-xvagrant/create_onap.sh2
-rw-r--r--vnfs/VES/bldjobs/Doxyfile17
-rw-r--r--vnfs/VES/bldjobs/Makefile38
-rw-r--r--vnfs/VES5.0/evel/evel-library/bldjobs/Makefile1
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel.h83
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c94
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event_mgr.c12
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_fault.c8
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_heartbeat_fields.c6
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal.h2
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c6
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_mobile_flow.c6
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c4
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_reporting_measurement.c9
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_scaling_measurement.c25
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_sipsignaling.c7
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_state_change.c8
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_syslog.c7
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_threshold_cross.c7
-rw-r--r--vnfs/VES5.0/evel/evel-library/code/evel_library/evel_voicequality.c7
-rw-r--r--vnfs/VES5.0/evel/evel-test-collector/code/collector/rest_dispatcher.pycbin4820 -> 0 bytes
-rw-r--r--vnfs/VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json75
-rw-r--r--vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c4
-rw-r--r--vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c6
-rw-r--r--vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf3
-rw-r--r--vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf.test4
-rw-r--r--vnfs/vCPE/kea-sdnc-notify-mod/src/pkt4_send.cc13
-rw-r--r--vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf59
-rw-r--r--vnfs/vCPE/scripts/kea-sdnc-notify.conf3
-rw-r--r--vnfs/vCPE/scripts/v_aaa_install.sh8
-rw-r--r--vnfs/vCPE/scripts/v_bng_init.sh3
-rw-r--r--vnfs/vCPE/scripts/v_bng_install.sh278
-rw-r--r--vnfs/vCPE/scripts/v_brgemu_init.sh5
-rw-r--r--vnfs/vCPE/scripts/v_brgemu_install.sh347
-rw-r--r--vnfs/vCPE/scripts/v_dhcp_install.sh9
-rw-r--r--vnfs/vCPE/scripts/v_dns_init.sh3
-rw-r--r--vnfs/vCPE/scripts/v_dns_install.sh13
-rw-r--r--vnfs/vCPE/scripts/v_gmux_init.sh5
-rw-r--r--vnfs/vCPE/scripts/v_gmux_install.sh475
-rw-r--r--vnfs/vCPE/scripts/v_gw_init.sh4
-rw-r--r--vnfs/vCPE/scripts/v_gw_install.sh313
-rw-r--r--vnfs/vCPE/scripts/v_web_install.sh18
-rwxr-xr-xvnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch99
-rw-r--r--vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch13239
-rw-r--r--vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch1079
-rw-r--r--vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch7299
-rw-r--r--vnfs/vFW/scripts/v_firewall_install.sh11
-rw-r--r--vnfs/vFW/scripts/v_packetgen_install.sh9
-rw-r--r--vnfs/vFW/scripts/v_sink_install.sh5
-rw-r--r--vnfs/vLB/.DS_Storebin10244 -> 0 bytes
-rw-r--r--vnfs/vLB/dns_streams/stream_dns14
-rw-r--r--vnfs/vLB/dns_streams/stream_dns104
-rw-r--r--vnfs/vLB/dns_streams/stream_dns24
-rw-r--r--vnfs/vLB/dns_streams/stream_dns34
-rw-r--r--vnfs/vLB/dns_streams/stream_dns44
-rw-r--r--vnfs/vLB/dns_streams/stream_dns54
-rw-r--r--vnfs/vLB/dns_streams/stream_dns64
-rw-r--r--vnfs/vLB/dns_streams/stream_dns74
-rw-r--r--vnfs/vLB/dns_streams/stream_dns84
-rw-r--r--vnfs/vLB/dns_streams/stream_dns94
-rw-r--r--vnfs/vLB/scripts/.DS_Storebin8196 -> 0 bytes
-rw-r--r--vnfs/vLB/scripts/add_dns.sh12
-rw-r--r--vnfs/vLB/scripts/dnsmembership.sh4
-rw-r--r--vnfs/vLB/scripts/remove_dns.sh14
-rwxr-xr-xvnfs/vLB/scripts/run_streams_dns.sh2
-rw-r--r--vnfs/vLB/scripts/v_dns_install.sh22
-rwxr-xr-xvnfs/vLB/scripts/v_lb_init.sh34
-rw-r--r--vnfs/vLB/scripts/v_lb_install.sh46
-rw-r--r--vnfs/vLB/scripts/v_packetgen_init.sh (renamed from vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh)50
-rw-r--r--vnfs/vLB/scripts/v_packetgen_install.sh76
-rw-r--r--vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh13
-rw-r--r--vnfs/vLB/scripts/vpacketgen.sh (renamed from vnfs/vLB/scripts/vpacketgenfordnsdemo.sh)2
144 files changed, 26531 insertions, 2292 deletions
diff --git a/boot/aai2_vm_init.sh b/boot/aai2_vm_init.sh
deleted file mode 100644
index ffe0955f..00000000
--- a/boot/aai2_vm_init.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-AAI_INSTANCE=$(cat /opt/config/aai_instance.txt)
-
-cd /opt/test-config
-git pull
-
-if [[ $AAI_INSTANCE == "aai_instance_1" ]]
-then
- ./deploy_vm1.sh
-elif [[ $AAI_INSTANCE == "aai_instance_2" ]]
-then
- ./deploy_vm2.sh
-else
- echo "Invalid instance. Exiting..."
-fi
diff --git a/boot/aai_install.sh b/boot/aai_install.sh
index d4a04ed4..9ee49d7f 100644
--- a/boot/aai_install.sh
+++ b/boot/aai_install.sh
@@ -5,7 +5,10 @@ NEXUS_REPO=$(cat /opt/config/nexus_repo.txt)
ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
+GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
+AAI_INSTANCE=$(cat /opt/config/aai_instance.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -46,9 +49,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/aai_vm_init.sh -o /opt/aai_vm_init.sh
@@ -89,7 +93,20 @@ echo "nameserver "$DNS_IP_ADDR >> /etc/resolvconf/resolv.conf.d/head
resolvconf -u
# Run docker containers
-mkdir -p /opt/openecomp/aai/logs
-mkdir -p /opt/openecomp/aai/data
cd /opt
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO
+
+if [[ $AAI_INSTANCE == "aai_instance_1" ]]
+then
+ mkdir -p /opt/aai/logroot/AAI-RESOURCES
+ mkdir -p /opt/aai/logroot/AAI-TRAVERSAL
+ mkdir -p /opt/aai/logroot/AAI-ML
+ mkdir -p /opt/aai/logroot/AAI-SDB
+ mkdir -p /opt/aai/logroot/AAI-DRMS
+ mkdir -p /opt/aai/logroot/AAI-UI
+ chown -R 999:999 /opt/aai/logroot/AAI-RESOURCES /opt/aai/logroot/AAI-TRAVERSAL
+
+ sleep 300
+fi
+
./aai_vm_init.sh \ No newline at end of file
diff --git a/boot/aai_vm_init.sh b/boot/aai_vm_init.sh
index 6fcf7b0e..ffe0955f 100644
--- a/boot/aai_vm_init.sh
+++ b/boot/aai_vm_init.sh
@@ -1,43 +1,16 @@
#!/bin/bash
-NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
-NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
-NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
-DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
-DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
+AAI_INSTANCE=$(cat /opt/config/aai_instance.txt)
-# Pull HBase container from a public docker hub
-docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
-docker pull $NEXUS_DOCKER_REPO/aaidocker/aai-hbase-1.2.3
-docker rm -f hbase-1.2.3
-docker run -d --net=host --name="hbase-1.2.3" $NEXUS_DOCKER_REPO/aaidocker/aai-hbase-1.2.3
+cd /opt/test-config
+git pull
-# Wait 3 minutes before instantiating the A&AI container
-sleep 180
-
-docker pull $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:$DOCKER_IMAGE_VERSION
-docker rm -f aai-service
-docker run --name=aai-service --net=host -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo -d -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=release-1.0.0 $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:$DOCKER_IMAGE_VERSION
-
-docker pull $NEXUS_DOCKER_REPO/openecomp/model-loader:$DOCKER_IMAGE_VERSION
-docker rm -f model-loader-service
-
-# Start Model Loader container only if SDC is up and running
-# Use the default SDC private IP address if no file exists or the file is empty
-if [[ -s "/opt/config/sdc_ip_addr.txt" ]]
+if [[ $AAI_INSTANCE == "aai_instance_1" ]]
+then
+ ./deploy_vm1.sh
+elif [[ $AAI_INSTANCE == "aai_instance_2" ]]
then
- SDC_IP_ADDR=$(cat /opt/config/sdc_ip_addr.txt)
+ ./deploy_vm2.sh
else
- SDC_IP_ADDR="10.0.3.1"
+ echo "Invalid instance. Exiting..."
fi
-
-# Run Health Check against SDC and verify that all five components are up
-RES=$(curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck | grep -c "OK")
-while [[ $RES -lt 5 ]]
-do
- RES=$(curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck | grep -c "OK")
-done
-
-# At this point, SDC is healthy and Model Loader container can start
-docker run --name=model-loader-service -it -d -e DISTR_CLIENT_ASDC_ADDRESS=c2.vm1.sdc.simpledemo.openecomp.org:8443 -e DISTR_CLIENT_ENVIRONMENT_NAME=$DMAAP_TOPIC -e DISTR_CLIENT_USER=aai -e DISTR_CLIENT_PASSWORD=OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp -e APP_SERVER_BASE_URL=https://c1.vm1.aai.simpledemo.openecomp.org:8443 -e APP_SERVER_KEYSTORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o -e APP_SERVER_AUTH_USER=ModelLoader -e APP_SERVER_AUTH_PASSWORD=OBF:1qvu1v2h1sov1sar1wfw1j7j1wg21saj1sov1v1x1qxw $NEXUS_DOCKER_REPO/openecomp/model-loader:$DOCKER_IMAGE_VERSION
-
diff --git a/boot/appc_install.sh b/boot/appc_install.sh
index c2d4512c..b241efe7 100644
--- a/boot/appc_install.sh
+++ b/boot/appc_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/appc_vm_init.sh -o /opt/appc_vm_init.sh
@@ -91,5 +93,5 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/appc/deployment.git appc
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO appc
./appc_vm_init.sh \ No newline at end of file
diff --git a/boot/appc_vm_init.sh b/boot/appc_vm_init.sh
index 90b09eaf..3baaf37b 100644
--- a/boot/appc_vm_init.sh
+++ b/boot/appc_vm_init.sh
@@ -5,6 +5,7 @@ NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
export NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
+DGBUILDER_IMAGE_VERSION=$(cat /opt/config/dgbuilder_version.txt)
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
cd /opt/appc
@@ -18,7 +19,7 @@ docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/openecomp/appc-image:$DOCKER_IMAGE_VERSION
docker tag $NEXUS_DOCKER_REPO/openecomp/appc-image:$DOCKER_IMAGE_VERSION openecomp/appc-image:latest
-docker pull $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION
-docker tag $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION openecomp/dgbuilder-sdnc-image:latest
+docker pull $NEXUS_DOCKER_REPO/onap/ccsdk-dgbuilder-image:$DGBUILDER_IMAGE_VERSION
+docker tag $NEXUS_DOCKER_REPO/onap/ccsdk-dgbuilder-image/$DGBUILDER_IMAGE_VERSION onap/ccsdk-dgbuilder-image:latest
/opt/docker/docker-compose up -d
diff --git a/boot/bind_zones b/boot/bind_zones
index 0893ca64..0c8a114b 100644
--- a/boot/bind_zones
+++ b/boot/bind_zones
@@ -41,9 +41,9 @@ c1.vm1.dcae.simpledemo.openecomp.org. IN A dcae_ip_addr
c2.vm1.dcae.simpledemo.openecomp.org. IN A dcae_ip_addr
c3.vm1.dcae.simpledemo.openecomp.org IN A dcae_ip_addr
-vm1.mso.simpledemo.openecomp.org. IN A mso_ip_addr
-c1.vm1.mso.simpledemo.openecomp.org. IN A mso_ip_addr
-c1.vm1.mso.simpledemo.openecomp.org. IN A mso_ip_addr
+vm1.mso.simpledemo.openecomp.org. IN A so_ip_addr
+c1.vm1.mso.simpledemo.openecomp.org. IN A so_ip_addr
+c1.vm1.mso.simpledemo.openecomp.org. IN A so_ip_addr
vm1.policy.simpledemo.openecomp.org. IN A policy_ip_addr
c1.vm1.policy.simpledemo.openecomp.org. IN A policy_ip_addr
@@ -69,14 +69,22 @@ vm1.portal.simpledemo.openecomp.org. IN A portal_ip_addr
c1.vm1.portal.simpledemo.openecomp.org. IN A portal_ip_addr
c2.vm1.portal.simpledemo.openecomp.org. IN A portal_ip_addr
+vm1.clamp.simpledemo.openecomp.org. IN A clamp_ip_addr
+c1.vm1.clamp.simpledemo.openecomp.org. IN A clamp_ip_addr
+c2.vm1.clamp.simpledemo.openecomp.org. IN A clamp_ip_addr
+
;vm1.aaf.simpledemo.openecomp.org. IN A aaf_ip_addr
-vm1.mr.simpledemo.openecomp.org. IN A mr_ip_addr
+vm1.mr.simpledemo.openecomp.org. IN A mr_ip_addr
+
+vm1.openo.simpledemo.openecomp.org. IN A openo_ip_addr
;CNAMES
;A&AI
aai.api.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
+aai.ui.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
+aai.searchservice.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
aai.hbase.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
aai.gremlinserver.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
aai.elasticsearch.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
@@ -90,7 +98,7 @@ sdc.api.simpledemo.openecomp.org. IN CNAME vm1.sdc.simpledemo.openecomp.org.
;DCAE
dcae.api.simpledemo.openecomp.org. IN CNAME vm1.dcae.simpledemo.openecomp.org.
-;MSO
+;SO
mso.api.simpledemo.openecomp.org. IN CNAME vm1.mso.simpledemo.openecomp.org.
;Policy
@@ -113,5 +121,15 @@ collector.api.simpledemo.openecomp.org. IN A dcae_coll_ip_addr
;dbc.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
;drprov.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
+;CLAMP
+clamp.api.simpledemo.openecomp.org. IN CNAME vm1.clamp.simpledemo.openecomp.org.
+
;AAF
;aaf.api.simpledemo.openecomp.org. IN CNAME vm1.aaf.simpledemo.openecomp.org.
+
+;OPEN-O
+msb.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
+mvim.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
+vnfsdk.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
+vfc.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
+uui.api.simpledemo.openecomp.org. IN CNAME vm1.openo.simpledemo.openecomp.org.
diff --git a/boot/mso_install.sh b/boot/clamp_install.sh
index e7d47dfd..26e8f06f 100644
--- a/boot/mso_install.sh
+++ b/boot/clamp_install.sh
@@ -5,9 +5,9 @@ NEXUS_REPO=$(cat /opt/config/nexus_repo.txt)
ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
-OPENSTACK_API_KEY=$(cat /opt/config/openstack_api_key.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -48,17 +48,18 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mso_vm_init.sh -o /opt/mso_vm_init.sh
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mso_serv.sh -o /opt/mso_serv.sh
-chmod +x /opt/mso_vm_init.sh
-chmod +x /opt/mso_serv.sh
-mv /opt/mso_serv.sh /etc/init.d
-update-rc.d mso_serv.sh defaults
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/clamp_vm_init.sh -o /opt/clamp_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/clamp_serv.sh -o /opt/clamp_serv.sh
+chmod +x /opt/clamp_vm_init.sh
+chmod +x /opt/clamp_serv.sh
+mv /opt/clamp_serv.sh /etc/init.d
+update-rc.d clamp_serv.sh defaults
# Download and install docker-engine and docker-compose
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
@@ -92,9 +93,7 @@ resolvconf -u
# Clone Gerrit repository
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/so/docker-config.git test_lab
-MSO_ENCRYPTION_KEY=$(cat /opt/test_lab/encryption.key)
-echo -n "$OPENSTACK_API_KEY" | openssl aes-128-ecb -e -K $MSO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p > /opt/config/api_key.txt
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO
# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -109,4 +108,4 @@ then
fi
# Run docker containers. For openstack Ubuntu 16.04 images this will run as a service after the VM has restarted
-./mso_vm_init.sh
+./clamp_vm_init.sh
diff --git a/boot/asdc_serv.sh b/boot/clamp_serv.sh
index 7d2539eb..ed311849 100644
--- a/boot/asdc_serv.sh
+++ b/boot/clamp_serv.sh
@@ -10,7 +10,7 @@
### END INIT INFO
dir="/opt"
-cmd="./asdc_vm_init.sh"
+cmd="./clamp_vm_init.sh"
user="root"
name=`basename $0`
diff --git a/boot/clamp_vm_init.sh b/boot/clamp_vm_init.sh
new file mode 100644
index 00000000..f8b26e30
--- /dev/null
+++ b/boot/clamp_vm_init.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
+
+# Fetch the latest code/scripts
+cd /opt/clamp
+git pull
+
+# Remove unused folders as only extra/ folder is used for docker compose
+rm -rf pom.xml
+rm -rf src/
+
+# No configuration change here as directly done in the CLAMP repo
+
+# Pull the clamp docker image from nexus
+# Maria db will be pulled automatically from docker.io during docker-compose
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+
+docker pull $NEXUS_DOCKER_REPO/onap/clamp:$DOCKER_IMAGE_VERSION
+
+cd extra/docker/clamp/
+
+# Change the Clamp docker image name in the docker-compose.yml to match the one downloaded
+sed -i "/image: onap\/clamp/c\ image: $NEXUS_DOCKER_REPO\/onap\/clamp:$DOCKER_IMAGE_VERSION" docker-compose.yml
+
+# Start Clamp and MariaDB containers with docker compose and clamp/extra/docker/clamp/docker-compose.yml
+/opt/docker/docker-compose up -d
diff --git a/boot/cli_install.sh b/boot/cli_install.sh
new file mode 100644
index 00000000..57f0edc6
--- /dev/null
+++ b/boot/cli_install.sh
@@ -0,0 +1,50 @@
+#!/bin/bash
+
+#*******************************************************************************
+# Copyright 2017 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*******************************************************************************
+
+CLI_LATEST_BINARY="https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.cli&a=cli-zip&e=zip&v=LATEST"
+CLI_INSTALL_DIR=/opt/onap/cli
+CLI_ZIP=cli.zip
+CLI_BIN=/usr/bin/onap
+export ONAP_CLI_HOME=$CLI_INSTALL_DIR
+
+#create install dir
+if [ -d $CLI_INSTALL_DIR ]
+then
+ mv $CLI_INSTALL_DIR $CLI_INSTALL_DIR/../cli_`date +"%m-%d-%y-%H-%M-%S"`
+ rm $CLI_BIN
+fi
+
+mkdir -p $CLI_INSTALL_DIR
+cd $CLI_INSTALL_DIR
+
+#Download and unzip CLI
+apt-get install -y wget unzip openjdk-8-jre
+wget -O $CLI_ZIP $CLI_LATEST_BINARY
+
+unzip $CLI_ZIP
+if [ ! -d ./data ]; then mkdir ./data; fi
+if [ ! -d ./onap-cli-schema ]; then mkdir ./onap-cli-schema; fi
+chmod +x ./bin/onap.sh
+
+#Make onap available in path
+ln ./bin/onap.sh $CLI_BIN
+
+#Print the version
+onap -v
+
+cd -
diff --git a/boot/db_openecomp_org b/boot/db_openecomp_org
deleted file mode 100644
index be42b603..00000000
--- a/boot/db_openecomp_org
+++ /dev/null
@@ -1,109 +0,0 @@
-;
-; BIND data file for local loopback interface
-;
-$TTL 604800
-@ IN SOA openecomp.org. admin.openecomp.org. (
- 20161202 ; Serial
- 604800 ; Refresh
- 86400 ; Retry
- 2419200 ; Expire
- 604800 ) ; Negative Cache TTL
-;
-; name servers - NS records
- IN NS openecomp.org.
-
-; name servers - A records
-openecomp.org. IN A 10.0.0.1
-
-;
-vm1.aai.simpledemo.openecomp.org. IN A 10.0.1.1
-c1.vm1.aai.simpledemo.openecomp.org. IN A 10.0.1.1
-c2.vm1.aai.simpledemo.openecomp.org. IN A 10.0.1.1
-c3.vm1.aai.simpledemo.openecomp.org. IN A 10.0.1.1
-
-vm1.appc.simpledemo.openecomp.org. IN A 10.0.2.1
-c1.vm1.appc.simpledemo.openecomp.org. IN A 10.0.2.1
-c2.vm1.appc.simpledemo.openecomp.org. IN A 10.0.2.1
-
-vm1.asdc.simpledemo.openecomp.org. IN A 10.0.3.1
-c1.vm1.asdc.simpledemo.openecomp.org. IN A 10.0.3.1
-c2.vm1.asdc.simpledemo.openecomp.org. IN A 10.0.3.1
-c3.vm1.asdc.simpledemo.openecomp.org. IN A 10.0.3.1
-c4.vm1.asdc.simpledemo.openecomp.org. IN A 10.0.3.1
-
-vm1.dcae.simpledemo.openecomp.org. IN A 10.0.4.1
-c1.vm1.dcae.simpledemo.openecomp.org. IN A 10.0.4.1
-c2.vm1.dcae.simpledemo.openecomp.org. IN A 10.0.4.1
-c3.vm1.dcae.simpledemo.openecomp.org IN A 10.0.4.1
-
-vm1.mso.simpledemo.openecomp.org. IN A 10.0.5.1
-c1.vm1.mso.simpledemo.openecomp.org. IN A 10.0.5.1
-c1.vm1.mso.simpledemo.openecomp.org. IN A 10.0.5.1
-
-vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c1.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c2.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c3.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c4.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c5.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c6.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c7.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-c8.vm1.policy.simpledemo.openecomp.org. IN A 10.0.6.1
-
-vm1.sdnc.simpledemo.openecomp.org. IN A 10.0.7.1
-c1.vm1.sdnc.simpledemo.openecomp.org. IN A 10.0.7.1
-c2.vm1.sdnc.simpledemo.openecomp.org. IN A 10.0.7.1
-c3.vm1.sdnc.simpledemo.openecomp.org. IN A 10.0.7.1
-c4.vm1.sdnc.simpledemo.openecomp.org. IN A 10.0.7.1
-
-vm1.vid.simpledemo.openecomp.org. IN A 10.0.8.1
-c1.vm1.vid.simpledemo.openecomp.org. IN A 10.0.8.1
-c2.vm1.vid.simpledemo.openecomp.org. IN A 10.0.8.1
-
-vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
-c1.vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
-c2.vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
-
-vm1.aaf.simpledemo.openecomp.org. IN A 10.0.12.1
-
-vm1.mr.simpledemo.openecomp.org. IN A 10.0.11.1
-
-;CNAMES
-;A&AI
-aai.api.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
-aai.hbase.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
-
-;APPC
-appc.api.simpledemo.openecomp.org. IN CNAME vm1.appc.simpledemo.openecomp.org.
-
-;ASDC
-asdc.api.simpledemo.openecomp.org. IN CNAME vm1.asdc.simpledemo.openecomp.org.
-
-;DCAE
-dcae.api.simpledemo.openecomp.org. IN CNAME vm1.dcae.simpledemo.openecomp.org.
-
-;MSO
-mso.api.simpledemo.openecomp.org. IN CNAME vm1.mso.simpledemo.openecomp.org.
-
-;Policy
-policy.api.simpledemo.openecomp.org. IN CNAME vm1.policy.simpledemo.openecomp.org.
-
-;SDNC
-sdnc.api.simpledemo.openecomp.org. IN CNAME vm1.sdnc.simpledemo.openecomp.org.
-
-;VID
-vid.api.simpledemo.openecomp.org. IN CNAME vm1.vid.simpledemo.openecomp.org.
-
-;PORTAL
-portal.api.simpledemo.openecomp.org. IN CNAME vm1.portal.simpledemo.openecomp.org.
-
-;Message Router
-;mr.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
-ueb.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
-mr.api.simpledemo.openecomp.org. IN A 10.0.4.102
-collector.api.simpledemo.openecomp.org. IN A 10.0.4.102
-;dbc.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
-;drprov.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
-
-;AAF
-aaf.api.simpledemo.openecomp.org. IN CNAME vm1.aaf.simpledemo.openecomp.org. \ No newline at end of file
diff --git a/boot/db_simpledemo_openecomp_org b/boot/db_simpledemo_openecomp_org
index f7d2b9dc..942be995 100644
--- a/boot/db_simpledemo_openecomp_org
+++ b/boot/db_simpledemo_openecomp_org
@@ -69,15 +69,20 @@ vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
c1.vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
c2.vm1.portal.simpledemo.openecomp.org. IN A 10.0.9.1
-vm1.aaf.simpledemo.openecomp.org. IN A 10.0.12.1
+vm1.aaf.simpledemo.openecomp.org. IN A 10.0.13.1
-vm1.mr.simpledemo.openecomp.org. IN A 10.0.11.1
+vm1.mr.simpledemo.openecomp.org. IN A 10.0.11.1
+
+vm1.clamp.simpledemo.openecomp.org. IN A 10.0.12.1
+c1.vm1.clamp.simpledemo.openecomp.org. IN A 10.0.12.1
+c2.vm1.clamp.simpledemo.openecomp.org. IN A 10.0.12.1
;CNAMES
;A&AI
aai.api.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
aai.ui.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
+aai.searchservice.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
aai.hbase.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
aai.gremlinserver.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
aai.elasticsearch.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
@@ -114,5 +119,8 @@ collector.api.simpledemo.openecomp.org. IN A 10.0.4.102
;dbc.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
;drprov.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org.
+;CLAMP
+clamp.api.simpledemo.openecomp.org. IN CNAME vm1.clamp.simpledemo.openecomp.org.
+
;AAF
aaf.api.simpledemo.openecomp.org. IN CNAME vm1.aaf.simpledemo.openecomp.org.
diff --git a/boot/dcae_install.sh b/boot/dcae_install.sh
index 4cf78964..09a9e33d 100644
--- a/boot/dcae_install.sh
+++ b/boot/dcae_install.sh
@@ -6,6 +6,8 @@ ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
+MR_REPO=$(cat /opt/config/mr_repo.txt)
BASE=$(cat /opt/config/dcae_base_environment.txt)
PUBLIC_NET_ID=$(cat /opt/config/public_net_id.txt)
@@ -78,9 +80,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dcae_vm_init.sh -o /opt/dcae_vm_init.sh
@@ -122,7 +125,7 @@ resolvconf -u
# Clone Gerrit repository
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/dcae/demo/startup/controller.git dcae-startup-vm-controller
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO dcae-startup-vm-controller
# Build a configuration file for the DCAE Controller.
cd /opt/dcae-startup-vm-controller
@@ -154,7 +157,7 @@ NEXUS-RAWURL: $NEXUS_REPO
DOCKER-REGISTRY: $DOCKER_REGISTRY
DOCKER-VERSION: $DOCKER_VERSION
-GIT-MR-REPO: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git
+GIT-MR-REPO: $MR_REPO
public_net_id: $PUBLIC_NET_ID
dcae_ip_addr: $DCAE_IP_ADDR
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index e76f371a..27ea2233 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -50,9 +50,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk bind9 bind9utils bind9-doc ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk bind9 bind9utils bind9-doc ntp ntpdate make
# Download script
mkdir /etc/bind/zones
@@ -70,7 +71,7 @@ then
sed -i "s/appc_ip_addr/"$(cat /opt/config/appc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dcae_ip_addr/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
- sed -i "s/mso_ip_addr/"$(cat /opt/config/mso_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/so_ip_addr/"$(cat /opt/config/so_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/mr_ip_addr/"$(cat /opt/config/mr_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/policy_ip_addr/"$(cat /opt/config/policy_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/portal_ip_addr/"$(cat /opt/config/portal_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
@@ -79,6 +80,8 @@ then
sed -i "s/sdnc_ip_addr/"$(cat /opt/config/sdnc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/vid_ip_addr/"$(cat /opt/config/vid_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dcae_coll_ip_addr/"$(cat /opt/config/dcae_coll_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/clamp_ip_addr/"$(cat /opt/config/clamp_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/openo_ip_addr/"$(cat /opt/config/openo_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
fi
# Configure Bind
diff --git a/boot/mr_install.sh b/boot/mr_install.sh
index 8c6ee206..e2168383 100644
--- a/boot/mr_install.sh
+++ b/boot/mr_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mr_vm_init.sh -o /opt/mr_vm_init.sh
@@ -91,5 +93,5 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/dcae/demo/startup/message-router.git dcae-startup-vm-message-router
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO dcae-startup-vm-message-router
./mr_vm_init.sh \ No newline at end of file
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
new file mode 100644
index 00000000..cbce0609
--- /dev/null
+++ b/boot/msb_vm_init.sh
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DOCKER_IMAGE_VERSION=$(cat /opt/config/msb_docker.txt)
+
+source /opt/config/onap_ips.txt
+
+# start up MSB
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/msb/msb_discovery:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/msb/msb_apigateway:$DOCKER_IMAGE_VERSION
+
+docker rm -f msb_consul
+docker rm -f msb_discovery
+docker rm -f msb_apigateway
+
+docker run -d -p 8500:8500 --name msb_consul consul
+CONSUL_IP=`sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' msb_consul`
+
+docker run -d -p 10081:10081 -e CONSUL_IP=$CONSUL_IP --name msb_discovery $NEXUS_DOCKER_REPO/onap/msb/msb_discovery:$DOCKER_IMAGE_VERSION
+DISCOVERY_IP=`sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' msb_discovery`
+
+docker run -d -p 80:80 -e CONSUL_IP=$CONSUL_IP -e SDCLIENT_IP=$DISCOVERY_IP -e "ROUTE_LABELS=visualRange:0|1" --name msb_apigateway $NEXUS_DOCKER_REPO/onap/msb/msb_apigateway:$DOCKER_IMAGE_VERSION
+
+# Allow the MSB container to come up before registering services
+sleep 20
+
+# register ONAP services to MSB
+#aai
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-cloudInfrastructure", "version": "v11", "url": "/aai/v11/cloud-infrastructure","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-cloudInfrastructure-deprecated", "version": "v11", "url": "/aai/v11/cloud-infrastructure","path": "/aai/v11/cloud-infrastructure","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-business", "version": "v11", "url": "/aai/v11/business","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-business-deprecated", "version": "v11", "url": "/aai/v11/business","path": "/aai/v11/business","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-search", "version": "v11", "url": "/aai/v11/search","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-search-deprecated", "version": "v11", "url": "/aai/v11/search","path": "/aai/v11/search","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-actions", "version": "v11", "url": "/aai/v11/actions","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-actions-deprecated", "version": "v11", "url": "/aai/v11/actions","path": "/aai/v11/actions","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-service-design-and-creation", "version": "v11", "url": "/aai/v11/service-design-and-creation","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-service-design-and-creation-deprecated", "version": "v11", "url": "/aai/v11/service-design-and-creation","path": "/aai/v11/service-design-and-creation","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-network", "version": "v11", "url": "/aai/v11/network","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "aai-network-deprecated", "version": "v11", "url": "/aai/v11/network","path": "/aai/v11/network","protocol": "REST", "nodes": [ {"ip": "'$AAI_IP1'","port": "8443"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#so
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "so", "version": "v1", "url": "/ecomp/mso/infra","protocol": "REST", "nodes": [ {"ip": "'$SO_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "so-deprecated", "version": "v1", "url": "/ecomp/mso/infra","path": "/ecomp/mso/infra","protocol": "REST", "nodes": [ {"ip": "'$SO_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#Dmaap message router
+#curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "message-router", "version": "v1", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$DMAAP_IP'","port": "3904"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#policy
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "policy-pdp", "version": "v1", "url": "/pdp","protocol": "REST", "nodes": [ {"ip": "'$POLICY_IP'","port": "8081"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "policy-pdp-deprecated", "version": "v1", "url": "/pdp","path": "/pdp","protocol": "REST", "nodes": [ {"ip": "'$POLICY_IP'","port": "8081"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#portal
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "portal", "version": "v2", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$PORTAL_IP'","port": "8989"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#sdc
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdc", "version": "v1", "url": "/sdc/v1","protocol": "REST", "nodes": [ {"ip": "'$SDC_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdc-deprecated", "version": "v1", "url": "/sdc/v1","path": "/sdc/v1","protocol": "REST", "nodes": [ {"ip": "'$SDC_IP'","port": "8080"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#sdnc
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc", "version": "v1", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc", "version": "v1", "url": "/restconf","path": "/restconf","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services"
+
+#multi-vim
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titanium_cloud", "version": "v0", "url": "/api/multicloud-titanium_cloud/v0","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "9005"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" \ No newline at end of file
diff --git a/boot/mvim_vm_init.sh b/boot/mvim_vm_init.sh
new file mode 100755
index 00000000..f8776bd4
--- /dev/null
+++ b/boot/mvim_vm_init.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Establish environment variables
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DOCKER_IMAGE_VERSION=$(cat /opt/config/mvim_docker.txt)
+
+source /opt/config/onap_ips.txt
+
+# Refresh images
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/multicloud/framework:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/multicloud/vio:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/multicloud/openstack-ocata:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/multicloud/openstack-windriver:$DOCKER_IMAGE_VERSION
+
+docker rm -f multicloud-broker
+docker rm -f multicloud-vio
+docker rm -f multicloud-ocata
+docker rm -f multicloud-windriver
+
+docker run -d -t -e MSB_ADDR=$OPENO_IP -e AAI_ADDR=$AAI_IP1 -p 9001:9001 --name multicloud-broker $NEXUS_DOCKER_REPO/onap/multicloud/framework:$DOCKER_IMAGE_VERSION
+docker run -d -t -e MSB_ADDR=$OPENO_IP -e AAI_ADDR=$AAI_IP1 -p 9004:9004 --name multicloud-vio $NEXUS_DOCKER_REPO/onap/multicloud/vio:$DOCKER_IMAGE_VERSION
+docker run -d -t -e MSB_ADDR=$OPENO_IP -e AAI_ADDR=$AAI_IP1 -p 9006:9006 --name multicloud-ocata $NEXUS_DOCKER_REPO/onap/multicloud/openstack-ocata:$DOCKER_IMAGE_VERSION
+docker run -d -t -e MSB_ADDR=$OPENO_IP -e AAI_ADDR=$AAI_IP1 -p 9005:9005 --name multicloud-windriver $NEXUS_DOCKER_REPO/onap/multicloud/openstack-windriver:$DOCKER_IMAGE_VERSION \ No newline at end of file
diff --git a/boot/openo_all_serv.sh b/boot/openo_all_serv.sh
new file mode 100644
index 00000000..e451fb1b
--- /dev/null
+++ b/boot/openo_all_serv.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+bash /opt/msb_vm_init.sh &>/dev/null &disown
+bash /opt/vnfsdk_vm_init.sh &>/dev/null &disown
+bash /opt/mvim_vm_init.sh &>/dev/null &disown
+bash /opt/vfc_vm_init.sh &>/dev/null &disown
+bash /opt/uui_vm_init.sh &>/dev/null &disown \ No newline at end of file
diff --git a/boot/openo_install.sh b/boot/openo_install.sh
new file mode 100644
index 00000000..0f36497a
--- /dev/null
+++ b/boot/openo_install.sh
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Read configuration files
+NEXUS_REPO=$(cat /opt/config/nexus_repo.txt)
+ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
+DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
+CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
+VNFSDK_BRANCH=$(cat /opt/config/vnfsdk_branch.txt)
+MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+VNFSDK_REPO=$(cat /opt/config/vnfsdk_repo.txt)
+
+# Add host name to /etc/host to avoid warnings in openstack images
+if [[ $CLOUD_ENV != "rackspace" ]]
+then
+ echo 127.0.0.1 $(hostname) >> /etc/hosts
+
+ # Allow remote login as root
+ mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bk
+ cp /home/ubuntu/.ssh/authorized_keys /root/.ssh
+fi
+
+# Set private IP in /etc/network/interfaces manually in the presence of public interface
+# Some VM images don't add the private interface automatically, we have to do it during the component installation
+if [[ $CLOUD_ENV == "openstack_nofloat" ]]
+then
+ LOCAL_IP=$(cat /opt/config/local_ip_addr.txt)
+ CIDR=$(cat /opt/config/oam_network_cidr.txt)
+ BITMASK=$(echo $CIDR | cut -d"/" -f2)
+
+ # Compute the netmask based on the network cidr
+ if [[ $BITMASK == "8" ]]
+ then
+ NETMASK=255.0.0.0
+ elif [[ $BITMASK == "16" ]]
+ then
+ NETMASK=255.255.0.0
+ elif [[ $BITMASK == "24" ]]
+ then
+ NETMASK=255.255.255.0
+ fi
+
+ echo "auto eth1" >> /etc/network/interfaces
+ echo "iface eth1 inet static" >> /etc/network/interfaces
+ echo " address $LOCAL_IP" >> /etc/network/interfaces
+ echo " netmask $NETMASK" >> /etc/network/interfaces
+ echo " mtu $MTU" >> /etc/network/interfaces
+ ifup eth1
+fi
+
+# Download dependencies
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+apt-get update
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git unzip mysql-client-core-5.6 ntp ntpdate make
+
+# Download scripts from Nexus
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/vnfsdk_vm_init.sh -o /opt/vnfsdk_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/msb_vm_init.sh -o /opt/msb_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mvim_vm_init.sh -o /opt/mvim_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/vfc_vm_init.sh -o /opt/vfc_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/uui_vm_init.sh -o /opt/uui_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/openo_all_serv.sh -o /opt/openo_all_serv.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/openo_serv.sh -o /opt/openo_serv.sh
+chmod +x /opt/vnfsdk_vm_init.sh
+chmod +x /opt/msb_vm_init.sh
+chmod +x /opt/mvim_vm_init.sh
+chmod +x /opt/vfc_vm_init.sh
+chmod +x /opt/uui_vm_init.sh
+chmod +x /opt/openo_all_serv.sh
+chmod +x /opt/openo_serv.sh
+mv /opt/openo_serv.sh /etc/init.d
+update-rc.d openo_serv.sh defaults
+
+# Download and install docker-engine and docker-compose
+echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
+apt-get update
+apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
+apt-get install -y --allow-unauthenticated docker-engine
+
+mkdir /opt/docker
+curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/docker/docker-compose
+chmod +x /opt/docker/docker-compose
+
+# Set the MTU size of docker containers to the minimum MTU size supported by vNICs. OpenStack deployments may need to know the external DNS IP
+DNS_FLAG=""
+if [ -s /opt/config/dns_ip_addr.txt ]
+then
+ DNS_FLAG=$DNS_FLAG"--dns $(cat /opt/config/dns_ip_addr.txt) "
+fi
+if [ -s /opt/config/external_dns.txt ]
+then
+ DNS_FLAG=$DNS_FLAG"--dns $(cat /opt/config/external_dns.txt) "
+fi
+echo "DOCKER_OPTS=\"$DNS_FLAG--mtu=$MTU\"" >> /etc/default/docker
+
+cp /lib/systemd/system/docker.service /etc/systemd/system
+sed -i "/ExecStart/s/$/ --mtu=$MTU/g" /etc/systemd/system/docker.service
+service docker restart
+
+# DNS IP address configuration
+echo "nameserver "$DNS_IP_ADDR >> /etc/resolvconf/resolv.conf.d/head
+resolvconf -u
+
+# Clone Gerrit repository and run docker containers
+cd /opt
+git clone -b $VNFSDK_BRANCH --single-branch $VNFSDK_REPO
+
+# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
+if [[ $CLOUD_ENV != "rackspace" ]]
+then
+ sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
+ grub-mkconfig -o /boot/grub/grub.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/udev/rules.d/70-persistent-net.rules
+ echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
+ echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic
+ reboot
+fi
+
+./openo_all_serv.sh \ No newline at end of file
diff --git a/boot/openo_serv.sh b/boot/openo_serv.sh
new file mode 100644
index 00000000..0afa931e
--- /dev/null
+++ b/boot/openo_serv.sh
@@ -0,0 +1,98 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:
+# Required-Start: $remote_fs $syslog
+# Required-Stop: $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start daemon at boot time
+# Description: Enable service provided by daemon.
+### END INIT INFO
+
+dir="/opt"
+cmd="./openo_all_serv.sh"
+user="root"
+
+name=`basename $0`
+pid_file="/var/run/$name.pid"
+stdout_log="/var/log/$name.log"
+stderr_log="/var/log/$name.err"
+
+get_pid() {
+ cat "$pid_file"
+}
+
+is_running() {
+ [ -f "$pid_file" ] && ps `get_pid` > /dev/null 2>&1
+}
+
+case "$1" in
+ start)
+ if is_running; then
+ echo "Already started"
+ else
+ echo "Starting $name"
+ cd "$dir"
+ if [ -z "$user" ]; then
+ sudo $cmd >> "$stdout_log" 2>> "$stderr_log" &
+ else
+ sudo -u "$user" $cmd >> "$stdout_log" 2>> "$stderr_log" &
+ fi
+ echo $! > "$pid_file"
+ if ! is_running; then
+ echo "Unable to start, see $stdout_log and $stderr_log"
+ exit 1
+ fi
+ fi
+ ;;
+ stop)
+ if is_running; then
+ echo -n "Stopping $name.."
+ kill `get_pid`
+ for i in {1..10}
+ do
+ if ! is_running; then
+ break
+ fi
+
+ echo -n "."
+ sleep 1
+ done
+ echo
+
+ if is_running; then
+ echo "Not stopped; may still be shutting down or shutdown may have failed"
+ exit 1
+ else
+ echo "Stopped"
+ if [ -f "$pid_file" ]; then
+ rm "$pid_file"
+ fi
+ fi
+ else
+ echo "Not running"
+ fi
+ ;;
+ restart)
+ $0 stop
+ if is_running; then
+ echo "Unable to stop, will not attempt to start"
+ exit 1
+ fi
+ $0 start
+ ;;
+ status)
+ if is_running; then
+ echo "Running"
+ else
+ echo "Stopped"
+ exit 1
+ fi
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/boot/policy_install.sh b/boot/policy_install.sh
index 18cc3def..3f6ea5d1 100644
--- a/boot/policy_install.sh
+++ b/boot/policy_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/policy_vm_init.sh -o /opt/policy_vm_init.sh
@@ -91,5 +93,5 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/policy/docker.git policy
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO policy
./policy_vm_init.sh \ No newline at end of file
diff --git a/boot/portal_install.sh b/boot/portal_install.sh
index 6b1c34f0..c1b816e0 100644
--- a/boot/portal_install.sh
+++ b/boot/portal_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git unzip mysql-client-core-5.6 ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git unzip mysql-client-core-5.6 ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/portal_vm_init.sh -o /opt/portal_vm_init.sh
@@ -92,5 +94,6 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
mkdir -p /PROJECT/OpenSource/UbuntuEP/logs
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/portal.git
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO
+
./portal_vm_init.sh \ No newline at end of file
diff --git a/boot/portal_vm_init.sh b/boot/portal_vm_init.sh
index 5f34aae8..5b201e09 100755
--- a/boot/portal_vm_init.sh
+++ b/boot/portal_vm_init.sh
@@ -1,71 +1,45 @@
#!/bin/bash
-# Starts docker containers for ONAP Portal
+# Starts docker containers for ONAP Portal in Rackspace.
+# Version for Amsterdam/R1 uses docker-compose.
# be verbose
set -x
-# Refresh source area with start scripts
-cd /opt/portal
-git pull
-cd /opt
-
# Establish environment variables
NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
-# Get container, image and tag names used below
-source portal/deliveries/os_settings.sh
+# Refresh configuration and scripts
+cd /opt/portal
+git pull
+cd deliveries
+
+# Get image names used below from docker-compose environment file
+source .env
-# Unpack property files
-unzip -o portal/deliveries/etc.zip -d /PROJECT/OpenSource/UbuntuEP/
+# Copy property files
+ETC=/PROJECT/OpenSource/UbuntuEP/etc
+mkdir -p $ETC
+cp -r properties_rackspace/* $ETC
# Refresh images
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
-docker pull $NEXUS_DOCKER_REPO/openecomp/${DB_TAG_NAME}:$DOCKER_IMAGE_VERSION
-docker pull $NEXUS_DOCKER_REPO/openecomp/${EP_TAG_NAME}:$DOCKER_IMAGE_VERSION
-docker pull $NEXUS_DOCKER_REPO/openecomp/${WMS_TAG_NAME}:$DOCKER_IMAGE_VERSION
-
-# Remove lingering containers; order matters.
-docker rm -f $DB_CONT_NAME
-docker rm -f $DB_VOL_NAME
-docker rm -f $EP_CONT_NAME
-docker rm -f $WMS_CONT_NAME
-
-docker create --name $DB_VOL_NAME -v /var/lib/mysql mariadb
-docker tag $NEXUS_DOCKER_REPO/openecomp/${DB_TAG_NAME}:$DOCKER_IMAGE_VERSION $DB_IMG_NAME
-docker tag $NEXUS_DOCKER_REPO/openecomp/${EP_TAG_NAME}:$DOCKER_IMAGE_VERSION $EP_IMG_NAME
-# WMS image has no version in the registry
-docker tag $NEXUS_DOCKER_REPO/openecomp/${WMS_TAG_NAME}:$DOCKER_IMAGE_VERSION ${WMS_IMG_NAME}:latest
-
-# Recreate the named containers
-cd portal/deliveries
-echo "Starting database"
-./dbstart.sh
-echo "Delaying for database"
-sleep 10
-echo "Starting apps"
-./new_start.sh
-echo "Starting widget-ms"
-./widget_ms_start.sh
-
-sleep 180
+docker pull $NEXUS_DOCKER_REPO/openecomp/${DB_IMG_NAME}:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/openecomp/${EP_IMG_NAME}:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/openecomp/${WMS_IMG_NAME}:$DOCKER_IMAGE_VERSION
+# Add CLI docker image
+docker pull $NEXUS_DOCKER_REPO/onap/cli:$DOCKER_IMAGE_VERSION
+
+# Tag them as expected by docker-compose file
+docker tag $NEXUS_DOCKER_REPO/openecomp/${DB_IMG_NAME}:$DOCKER_IMAGE_VERSION $DB_IMG_NAME:$PORTAL_TAG
+docker tag $NEXUS_DOCKER_REPO/openecomp/${EP_IMG_NAME}:$DOCKER_IMAGE_VERSION $EP_IMG_NAME:$PORTAL_TAG
+docker tag $NEXUS_DOCKER_REPO/openecomp/${WMS_IMG_NAME}:$DOCKER_IMAGE_VERSION $WMS_IMG_NAME:$PORTAL_TAG
+# Add tagging for CLI docker image as expected by docker-compose file
+docker tag $NEXUS_DOCKER_REPO/onap/cli:$DOCKER_IMAGE_VERSION onap/cli:$PORTAL_TAG
+
+# docker-compose is not in /usr/bin
+/opt/docker/docker-compose down
+/opt/docker/docker-compose up -d
-if [ ! -e /opt/config/boot.txt ]
-then
- if [ -e /opt/config/public_ip.txt ]
- then
- IP_ADDRESS=$(cat /opt/config/public_ip.txt)
- else
- IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
- fi
- # Wait until MySQL is running...
- while [[ $(netstat -vulntp |grep -i mysql | awk '{print $4}') != ":::3306" ]]
- do
- sleep 1
- done
- # no longer necessary; done at docker build time
- # mysql -u root -p'Aa123456' -h $IP_ADDRESS < /opt/portal/deliveries/Apps_Users_OnBoarding_Script.sql
- echo "yes" > /opt/config/boot.txt
-fi
diff --git a/boot/robot_install.sh b/boot/robot_install.sh
index caf5bef4..3447a01f 100644
--- a/boot/robot_install.sh
+++ b/boot/robot_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/robot_vm_init.sh -o /opt/robot_vm_init.sh
@@ -93,7 +95,7 @@ resolvconf -u
mkdir -p /opt/eteshare/logs
mkdir -p /opt/eteshare/config
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/testsuite/properties.git testsuite/properties
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO testsuite/properties
# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
if [[ $CLOUD_ENV != "rackspace" ]]
diff --git a/boot/robot_vm_init.sh b/boot/robot_vm_init.sh
index 5b682729..7831348d 100644
--- a/boot/robot_vm_init.sh
+++ b/boot/robot_vm_init.sh
@@ -22,13 +22,14 @@ cp demo.sh /opt
# sed -i "s/10.0.1.1/"$(cat /opt/config/aai1_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.2.1/"$(cat /opt/config/appc_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.4.1/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
-# sed -i "s/10.0.5.1/"$(cat /opt/config/mso_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
+# sed -i "s/10.0.5.1/"$(cat /opt/config/so_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.11.1/"$(cat /opt/config/mr_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.6.1/"$(cat /opt/config/policy_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.9.1/"$(cat /opt/config/portal_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.3.1/"$(cat /opt/config/sdc_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.7.1/"$(cat /opt/config/sdnc_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/10.0.8.1/"$(cat /opt/config/vid_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
+# sed -i "s/10.0.12.1/"$(cat /opt/config/clamp_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
# sed -i "s/https:\/\/identity.api.rackspacecloud.com/"$(cat /opt/config/keystone.txt)"/g" /opt/eteshare/config/integration_robot_properties.py
#fi
diff --git a/boot/asdc_ext_volume_partitions.txt b/boot/sdc_ext_volume_partitions.txt
index b00c6ae2..b00c6ae2 100644
--- a/boot/asdc_ext_volume_partitions.txt
+++ b/boot/sdc_ext_volume_partitions.txt
diff --git a/boot/asdc_install.sh b/boot/sdc_install.sh
index 59d6c836..2c32266c 100644
--- a/boot/asdc_install.sh
+++ b/boot/sdc_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,17 +48,18 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/asdc_vm_init.sh -o /opt/asdc_vm_init.sh
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/asdc_serv.sh -o /opt/asdc_serv.sh
-chmod +x /opt/asdc_vm_init.sh
-chmod +x /opt/asdc_serv.sh
-mv /opt/asdc_serv.sh /etc/init.d
-update-rc.d asdc_serv.sh defaults
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdc_vm_init.sh -o /opt/sdc_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdc_serv.sh -o /opt/sdc_serv.sh
+chmod +x /opt/sdc_vm_init.sh
+chmod +x /opt/sdc_serv.sh
+mv /opt/sdc_serv.sh /etc/init.d
+update-rc.d sdc_serv.sh defaults
# Download and install docker-engine and docker-compose
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
@@ -70,17 +72,17 @@ curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose
chmod +x /opt/docker/docker-compose
# Create partition and mount the external volume
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/asdc_ext_volume_partitions.txt -o /opt/asdc_ext_volume_partitions.txt
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdc_ext_volume_partitions.txt -o /opt/sdc_ext_volume_partitions.txt
if [[ $CLOUD_ENV == "rackspace" ]]
then
DISK="xvdb"
else
DISK=$(ls /dev |grep -e '^.*db$')
- sed -i "s/xvdb/$DISK/g" /opt/asdc_ext_volume_partitions.txt
+ sed -i "s/xvdb/$DISK/g" /opt/sdc_ext_volume_partitions.txt
fi
-sfdisk /dev/$DISK < /opt/asdc_ext_volume_partitions.txt
+sfdisk /dev/$DISK < /opt/sdc_ext_volume_partitions.txt
mkfs -t ext4 /dev/$DISK"1"
mkdir -p /data
mount /dev/$DISK"1" /data
@@ -116,7 +118,7 @@ chmod 777 /data
chmod 777 /data/logs/BE
chmod 777 /data/logs/FE
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/sdc.git
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO
cat > /root/.bash_aliases << EOF
alias dcls='/data/scripts/docker_clean.sh \$1'
@@ -138,4 +140,4 @@ then
fi
# Run docker containers. For openstack Ubuntu 16.04 images this will run as a service after the VM has restarted
-./asdc_vm_init.sh
+./sdc_vm_init.sh
diff --git a/boot/mso_serv.sh b/boot/sdc_serv.sh
index 00ee4170..b48c8484 100644
--- a/boot/mso_serv.sh
+++ b/boot/sdc_serv.sh
@@ -10,7 +10,7 @@
### END INIT INFO
dir="/opt"
-cmd="./mso_vm_init.sh"
+cmd="./sdc_vm_init.sh"
user="root"
name=`basename $0`
diff --git a/boot/asdc_vm_init.sh b/boot/sdc_vm_init.sh
index dd15c0a1..dd15c0a1 100644
--- a/boot/asdc_vm_init.sh
+++ b/boot/sdc_vm_init.sh
diff --git a/boot/sdnc_install.sh b/boot/sdnc_install.sh
index 88148764..3b5c5cfa 100644
--- a/boot/sdnc_install.sh
+++ b/boot/sdnc_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdnc_vm_init.sh -o /opt/sdnc_vm_init.sh
@@ -91,5 +93,5 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/sdnc/oam.git sdnc
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO sdnc
./sdnc_vm_init.sh \ No newline at end of file
diff --git a/boot/sdnc_vm_init.sh b/boot/sdnc_vm_init.sh
index bc5b0369..f23f122a 100644
--- a/boot/sdnc_vm_init.sh
+++ b/boot/sdnc_vm_init.sh
@@ -4,6 +4,7 @@ NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
export NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
+DGBUILDER_IMAGE_VERSION=$(cat /opt/config/dgbuilder_version.txt)
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
export DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
@@ -19,7 +20,7 @@ docker tag $NEXUS_DOCKER_REPO/openecomp/sdnc-image:$DOCKER_IMAGE_VERSION openeco
docker pull $NEXUS_DOCKER_REPO/openecomp/admportal-sdnc-image:$DOCKER_IMAGE_VERSION
docker tag $NEXUS_DOCKER_REPO/openecomp/admportal-sdnc-image:$DOCKER_IMAGE_VERSION openecomp/admportal-sdnc-image:latest
-docker pull $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION
-docker tag $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION openecomp/dgbuilder-sdnc-image:latest
+docker pull $NEXUS_DOCKER_REPO/onap/ccsdk-dgbuilder-image:$DGBUILDER_IMAGE_VERSION
+docker tag $NEXUS_DOCKER_REPO/onap/ccsdk-dgbuilder-image/$DGBUILDER_IMAGE_VERSION onap/ccsdk-dgbuilder-image:latest
/opt/docker/docker-compose up -d
diff --git a/boot/aai2_install.sh b/boot/so_install.sh
index d2708018..d9a8a646 100644
--- a/boot/aai2_install.sh
+++ b/boot/so_install.sh
@@ -5,9 +5,10 @@ NEXUS_REPO=$(cat /opt/config/nexus_repo.txt)
ARTIFACTS_VERSION=$(cat /opt/config/artifacts_version.txt)
DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
+OPENSTACK_API_KEY=$(cat /opt/config/openstack_api_key.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
-AAI_INSTANCE=$(cat /opt/config/aai_instance.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -48,20 +49,21 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/aai2_vm_init.sh -o /opt/aai2_vm_init.sh
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/aai2_serv.sh -o /opt/aai2_serv.sh
-chmod +x /opt/aai2_vm_init.sh
-chmod +x /opt/aai2_serv.sh
-mv /opt/aai2_serv.sh /etc/init.d
-update-rc.d aai2_serv.sh defaults
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/so_vm_init.sh -o /opt/so_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/so_serv.sh -o /opt/so_serv.sh
+chmod +x /opt/so_vm_init.sh
+chmod +x /opt/so_serv.sh
+mv /opt/so_serv.sh /etc/init.d
+update-rc.d so_serv.sh defaults
# Download and install docker-engine and docker-compose
-echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
+echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get install -y --allow-unauthenticated docker-engine
@@ -90,21 +92,23 @@ service docker restart
echo "nameserver "$DNS_IP_ADDR >> /etc/resolvconf/resolv.conf.d/head
resolvconf -u
-# Run docker containers
+# Clone Gerrit repository
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/aai/test-config
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO test_lab
+SO_ENCRYPTION_KEY=$(cat /opt/test_lab/encryption.key)
+echo -n "$OPENSTACK_API_KEY" | openssl aes-128-ecb -e -K $SO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p > /opt/config/api_key.txt
-if [[ $AAI_INSTANCE == "aai_instance_1" ]]
+# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
+if [[ $CLOUD_ENV != "rackspace" ]]
then
- mkdir -p /opt/aai/logroot/AAI-RESOURCES
- mkdir -p /opt/aai/logroot/AAI-TRAVERSAL
- mkdir -p /opt/aai/logroot/AAI-ML
- mkdir -p /opt/aai/logroot/AAI-SDB
- mkdir -p /opt/aai/logroot/AAI-DRMS
- mkdir -p /opt/aai/logroot/AAI-UI
- chown -R 999:999 /opt/aai/logroot/AAI-RESOURCES /opt/aai/logroot/AAI-TRAVERSAL
-
- sleep 300
+ sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
+ grub-mkconfig -o /boot/grub/grub.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/udev/rules.d/70-persistent-net.rules
+ echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
+ echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic
+ reboot
fi
-./aai2_vm_init.sh \ No newline at end of file
+# Run docker containers. For openstack Ubuntu 16.04 images this will run as a service after the VM has restarted
+./so_vm_init.sh
diff --git a/boot/aai2_serv.sh b/boot/so_serv.sh
index add00097..d324447f 100644
--- a/boot/aai2_serv.sh
+++ b/boot/so_serv.sh
@@ -10,7 +10,7 @@
### END INIT INFO
dir="/opt"
-cmd="./aai2_vm_init.sh"
+cmd="./so_vm_init.sh"
user="root"
name=`basename $0`
diff --git a/boot/mso_vm_init.sh b/boot/so_vm_init.sh
index e39f6b06..d767a149 100644
--- a/boot/mso_vm_init.sh
+++ b/boot/so_vm_init.sh
@@ -58,7 +58,7 @@ else
EOF
fi
-# Update the MSO configuration file.
+# Update the SO configuration file.
read -d '' MSO_CONFIG_UPDATES <<-EOF
{
"default_attributes":
@@ -97,5 +97,5 @@ export MSO_CONFIG_UPDATES
cd /opt/test_lab
git pull
chmod +x deploy.sh
-#This script takes in input 2 nexus repos (the first one for the MSO image, the second one for mariadb)
+#This script takes in input 2 nexus repos (the first one for the SO image, the second one for mariadb)
./deploy.sh $NEXUS_DOCKER_REPO $NEXUS_USERNAME $NEXUS_PASSWD $NEXUS_DOCKER_REPO $NEXUS_USERNAME $NEXUS_PASSWD
diff --git a/boot/uui_vm_init.sh b/boot/uui_vm_init.sh
new file mode 100755
index 00000000..ebec9e3d
--- /dev/null
+++ b/boot/uui_vm_init.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+# Establish environment variables
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DOCKER_IMAGE_VERSION=$(cat /opt/config/uui_docker.txt)
+
+source /opt/config/onap_ips.txt
+
+# Refresh images
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/uui/ui:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/uui/server:$DOCKER_IMAGE_VERSION
+
+docker rm -f uui_ui
+docker rm -f uui_server
+
+# Insert docker run instructions here
+docker run -i -t -d --name uui_ui -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/uui/ui:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name uui_server -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/uui/server:$DOCKER_IMAGE_VERSION \ No newline at end of file
diff --git a/boot/vfc_vm_init.sh b/boot/vfc_vm_init.sh
new file mode 100755
index 00000000..5badc201
--- /dev/null
+++ b/boot/vfc_vm_init.sh
@@ -0,0 +1,51 @@
+#!/bin/bash
+
+# Establish environment variables
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+DOCKER_IMAGE_VERSION=$(cat /opt/config/vfc_docker.txt)
+
+source /opt/config/onap_ips.txt
+
+# Refresh images
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/catalog:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/emsdriver:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/gvnfmdriver:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/jujudriver:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/nfvo/svnfm/huawei:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/nslcm:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/resmanagement:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/vnflcm:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/vnfmgr:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/vnfres:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/ztesdncdriver:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/onap/vfc/ztevmanagerdriver:$DOCKER_IMAGE_VERSION
+
+docker rm -f vfc_catalog
+docker rm -f vfc_emsdriver
+docker rm -f vfc_gvnfmdriver
+docker rm -f vfc_jujudriver
+docker rm -f vfc_svnfm_huawei
+docker rm -f vfc_nslcm
+docker rm -f vfc_resmanagement
+docker rm -f vfc_vnflcm
+docker rm -f vfc_vnfmgr
+docker rm -f vfc_vnfres
+docker rm -f vfc_ztesdncdriver
+docker rm -f vfc_ztevmanagerdriver
+
+# Insert docker run instructions here
+docker run -i -t -d --name vfc_catalog -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/catalog:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_emsdriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/emsdriver:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_gvnfmdriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/gvnfmdriver:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_jujudriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/jujudriver:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_svnfm_huawei -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/nfvo/svnfm/huawei:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_nslcm -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/nslcm:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_resmanagement -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/resmanagement:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_vnflcm -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/vnflcm:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_vnfmgr -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/vnfmgr:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_vnfres -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/vnfres:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_ztesdncdriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/ztesdncdriver:$DOCKER_IMAGE_VERSION
+docker run -i -t -d --name vfc_ztevmanagerdriver -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/ztevmanagerdriver:$DOCKER_IMAGE_VERSION \ No newline at end of file
diff --git a/boot/vid_install.sh b/boot/vid_install.sh
index d9f775cc..118995c4 100644
--- a/boot/vid_install.sh
+++ b/boot/vid_install.sh
@@ -7,6 +7,7 @@ DNS_IP_ADDR=$(cat /opt/config/dns_ip_addr.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt)
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+CODE_REPO=$(cat /opt/config/remote_repo.txt)
# Add host name to /etc/host to avoid warnings in openstack images
if [[ $CLOUD_ENV != "rackspace" ]]
@@ -47,9 +48,10 @@ then
fi
# Download dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
+apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/vid_vm_init.sh -o /opt/vid_vm_init.sh
@@ -91,5 +93,5 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
cd /opt
-git clone -b $GERRIT_BRANCH --single-branch http://gerrit.onap.org/r/vid.git
+git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO
./vid_vm_init.sh \ No newline at end of file
diff --git a/boot/vnfsdk_vm_init.sh b/boot/vnfsdk_vm_init.sh
new file mode 100755
index 00000000..fa28285f
--- /dev/null
+++ b/boot/vnfsdk_vm_init.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+# Starts docker containers for VNFSDK VNF repository.
+# Version for Amsterdam/R1 uses docker-compose.
+
+# be verbose
+set -x
+
+# Establish environment variables
+NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
+NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
+NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+#DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) --> not needed at the moment
+
+# Refresh configuration and scripts
+cd /opt/refrepo
+git pull
+cd vnfmarket-be/deployment/install
+
+# Get image names used below from docker-compose environment file
+source .env
+
+# Refresh images
+docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
+docker pull $NEXUS_DOCKER_REPO/onap/refrepo:${REFREPO_TAG}
+docker pull $NEXUS_DOCKER_REPO/onap/refrepo:${POSTGRES_TAG}
+
+# docker-compose is not in /usr/bin
+/opt/docker/docker-compose down
+/opt/docker/docker-compose up -d
+
diff --git a/heat/ONAP/onap_openstack.env b/heat/ONAP/onap_openstack.env
index b94bcca2..74a9c8ed 100644
--- a/heat/ONAP/onap_openstack.env
+++ b/heat/ONAP/onap_openstack.env
@@ -20,6 +20,8 @@ parameters:
flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
+ flavor_xxlarge: PUT THE XXLARGE FLAVOR NAME HERE
+
vm_base_name: vm1
key_name: onap_key
@@ -38,10 +40,6 @@ parameters:
artifacts_version: 1.1.0-SNAPSHOT
- docker_version: 1.1-STAGING-latest
-
- gerrit_branch: master
-
openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
openstack_username: PUT YOUR OPENSTACK USERNAME HERE
@@ -67,10 +65,10 @@ parameters:
dns_list: PUT THE ADDRESS OF THE EXTERNAL DNS HERE (e.g. a comma-separated list of IP addresses in your /etc/resolv.conf in UNIX-based Operating Systems)
external_dns: PUT THE FIRST ADDRESS OF THE EXTERNAL DNS LIST HERE
+ oam_network_cidr: 10.0.0.0/16
### Private IP addresses ###
- oam_network_cidr: 10.0.0.0/16
aai1_ip_addr: 10.0.1.1
aai2_ip_addr: 10.0.1.2
appc_ip_addr: 10.0.2.1
@@ -81,7 +79,7 @@ parameters:
dcae_hdp2_ip_addr: 10.0.4.104
dcae_hdp3_ip_addr: 10.0.4.105
dns_ip_addr: 10.0.100.1
- mso_ip_addr: 10.0.5.1
+ so_ip_addr: 10.0.5.1
mr_ip_addr: 10.0.11.1
policy_ip_addr: 10.0.6.1
portal_ip_addr: 10.0.9.1
@@ -89,6 +87,8 @@ parameters:
sdc_ip_addr: 10.0.3.1
sdnc_ip_addr: 10.0.7.1
vid_ip_addr: 10.0.8.1
+ clamp_ip_addr: 10.0.12.1
+ openo_ip_addr: 10.0.14.1
dcae_coll_float_ip: PUT DCAE COLLECTOR FLOATING IP HERE
dcae_db_float_ip: PUT DCAE DATABASE FLOATING IP HERE
@@ -114,4 +114,62 @@ parameters:
gitlab_branch: master
- dcae_code_version: 1.1.0 \ No newline at end of file
+ dcae_code_version: 1.1.0
+
+
+ ################################
+ # #
+ # Docker versions and branches #
+ # #
+ ################################
+
+ aai_branch: master
+ appc_branch: master
+ so_branch: master
+ mr_branch: master
+ dcae_branch: master
+ policy_branch: master
+ portal_branch: master
+ robot_branch: master
+ sdc_branch: master
+ sdnc_branch: master
+ vid_branch: master
+ clamp_branch: master
+ vnfsdk_branch: master
+
+ aai_docker: 1.1-STAGING-latest
+ appc_docker: 1.1-STAGING-latest
+ so_docker: 1.1-STAGING-latest
+ mr_docker: 1.1-STAGING-latest
+ dcae_docker: 1.1-STAGING-latest
+ policy_docker: 1.1-STAGING-latest
+ portal_docker: 1.1-STAGING-latest
+ robot_docker: 1.1-STAGING-latest
+ sdc_docker: 1.1-STAGING-latest
+ sdnc_docker: 1.2-STAGING-latest
+ vid_docker: 1.1-STAGING-latest
+ clamp_docker: 1.1-STAGING-latest
+ msb_docker: latest
+ mvim_docker: latest
+ vfc_docker: latest
+ uui_docker: latest
+ dgbuilder_docker: 0.1-STAGING-latest
+
+ #####################
+ # #
+ # ONAP repositories #
+ # #
+ #####################
+ aai_repo: http://gerrit.onap.org/r/aai/test-config
+ appc_repo: http://gerrit.onap.org/r/appc/deployment.git
+ dcae_repo: http://gerrit.onap.org/r/dcae/demo/startup/controller.git
+ mr_repo: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git
+ so_repo: http://gerrit.onap.org/r/so/docker-config.git
+ policy_repo: http://gerrit.onap.org/r/policy/docker.git
+ portal_repo: http://gerrit.onap.org/r/portal.git
+ robot_repo: http://gerrit.onap.org/r/testsuite/properties.git
+ sdc_repo: http://gerrit.onap.org/r/sdc.git
+ sdnc_repo: http://gerrit.onap.org/r/sdnc/oam.git
+ vid_repo: http://gerrit.onap.org/r/vid.git
+ clamp_repo: http://gerrit.onap.org/r/clamp.git
+ vnfsdk_repo: http://gerrit.onap.org/r/vnfsdk/refrepo.git
diff --git a/heat/ONAP/onap_openstack.yaml b/heat/ONAP/onap_openstack.yaml
index 48339997..8258232e 100644
--- a/heat/ONAP/onap_openstack.yaml
+++ b/heat/ONAP/onap_openstack.yaml
@@ -68,6 +68,10 @@ parameters:
type: string
description: Name of the Extra Large Flavor supported by the cloud provider
+ flavor_xxlarge:
+ type: string
+ description: Name of the Extra Extra Large Flavor supported by the cloud provider
+
vm_base_name:
type: string
description: Base name of ONAP VMs
@@ -100,15 +104,6 @@ parameters:
type: string
description: Artifacts version of ONAP components
- docker_version:
- type: string
- label: Version number of ONAP docker images
-
- gerrit_branch:
- type: string
- label: Gerrit code branch
- description: Gerrit branch where to download the code from
-
dmaap_topic:
type: string
description: DMaaP Topic name
@@ -127,7 +122,7 @@ parameters:
openstack_api_key:
type: string
- description: Openstack API Key
+ description: Openstack password or API Key
horizon_url:
type: string
@@ -155,102 +150,61 @@ parameters:
type: string
description: First element of the dns_list for ONAP network
- ### Private IP addresses ###
oam_network_cidr:
type: string
description: CIDR of the OAM ONAP network
+ ### Private IP addresses ###
aai1_ip_addr:
type: string
- description: AAI Instance 1 IP Address
-
aai2_ip_addr:
type: string
- description: AAI Instance 2 IP Address
-
appc_ip_addr:
type: string
- description: APP-C IP Address
-
dcae_ip_addr:
type: string
- description: DCAE IP Address
-
dcae_coll_ip_addr:
type: string
- description: DCAE Collector IP Address
-
dcae_db_ip_addr:
type: string
- description: DCAE Database IP Address
-
dcae_hdp1_ip_addr:
type: string
- description: Hadoop VM1 IP Address
-
dcae_hdp2_ip_addr:
type: string
- description: Hadoop VM2 IP Address
-
dcae_hdp3_ip_addr:
type: string
- description: Hadoop VM3 IP Address
-
dns_ip_addr:
type: string
- description: DNS IP Address
-
- mso_ip_addr:
+ so_ip_addr:
type: string
- description: MSO IP Address
-
mr_ip_addr:
type: string
- description: Message Router IP Address
-
policy_ip_addr:
type: string
- description: Policy Engine IP Address
-
portal_ip_addr:
type: string
- description: Portal IP Address
-
robot_ip_addr:
type: string
- description: Robot Framework IP Address
-
sdc_ip_addr:
type: string
- description: SDC IP Address
-
sdnc_ip_addr:
type: string
- description: SDN-C IP Address
-
vid_ip_addr:
type: string
- description: VID IP Address
-
+ clamp_ip_addr:
+ type: string
+ openo_ip_addr:
+ type: string
dcae_coll_float_ip:
type: string
- description: DCAE Collector Floating IP Address
-
dcae_db_float_ip:
type: string
- description: DCAE Collector Database Floating IP Address
-
dcae_hdp1_float_ip:
type: string
- description: Hadoop VM1 Floating IP Address
-
dcae_hdp2_float_ip:
type: string
- description: Hadoop VM2 Floating IP Address
-
dcae_hdp3_float_ip:
type: string
- description: Hadoop VM3 Floating IP Address
###########################
# #
@@ -290,6 +244,107 @@ parameters:
type: string
description: DCAE Code Version Number
+ #####################
+ # #
+ # ONAP repositories #
+ # #
+ #####################
+
+ aai_repo:
+ type: string
+ appc_repo:
+ type: string
+ dcae_repo:
+ type: string
+ mr_repo:
+ type: string
+ so_repo:
+ type: string
+ policy_repo:
+ type: string
+ portal_repo:
+ type: string
+ robot_repo:
+ type: string
+ sdc_repo:
+ type: string
+ sdnc_repo:
+ type: string
+ vid_repo:
+ type: string
+ clamp_repo:
+ type: string
+ vnfsdk_repo:
+ type: string
+
+ ################################
+ # #
+ # Docker versions and branches #
+ # #
+ ################################
+
+ aai_docker:
+ type: string
+ appc_docker:
+ type: string
+ so_docker:
+ type: string
+ mr_docker:
+ type: string
+ dcae_docker:
+ type: string
+ policy_docker:
+ type: string
+ portal_docker:
+ type: string
+ robot_docker:
+ type: string
+ sdc_docker:
+ type: string
+ sdnc_docker:
+ type: string
+ vid_docker:
+ type: string
+ clamp_docker:
+ type: string
+ msb_docker:
+ type: string
+ mvim_docker:
+ type: string
+ vfc_docker:
+ type: string
+ uui_docker:
+ type: string
+ dgbuilder_docker:
+ type: string
+
+ aai_branch:
+ type: string
+ appc_branch:
+ type: string
+ so_branch:
+ type: string
+ mr_branch:
+ type: string
+ dcae_branch:
+ type: string
+ policy_branch:
+ type: string
+ portal_branch:
+ type: string
+ robot_branch:
+ type: string
+ sdc_branch:
+ type: string
+ sdnc_branch:
+ type: string
+ vid_branch:
+ type: string
+ clamp_branch:
+ type: string
+ vnfsdk_branch:
+ type: string
+
#############
# #
@@ -319,24 +374,24 @@ resources:
# ONAP management private network
- oam_ecomp:
+ oam_onap:
type: OS::Neutron::Net
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- oam_ecomp_subnet:
+ oam_onap_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- network_id: { get_resource: oam_ecomp }
+ network_id: { get_resource: oam_onap }
cidr: { get_param: oam_network_cidr }
dns_nameservers: { get_param: dns_list }
@@ -350,15 +405,15 @@ resources:
type: OS::Neutron::RouterInterface
properties:
router_id: { get_resource: router }
- subnet_id: { get_resource: oam_ecomp_subnet }
+ subnet_id: { get_resource: oam_onap_subnet }
# DNS Server instantiation
dns_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: dns_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
dns_floating_ip:
type: OS::Neutron::FloatingIP
@@ -385,14 +440,14 @@ resources:
params:
__nexus_repo__: { get_param: nexus_repo }
__artifacts_version__: { get_param: artifacts_version }
- __oam_network_cidr__: { get_attr: [oam_ecomp_subnet, cidr] }
+ __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
__dns_ip_addr__: { get_param: dns_ip_addr }
__aai1_ip_addr__: { get_param: aai1_ip_addr }
__aai2_ip_addr__: { get_param: aai2_ip_addr }
__appc_ip_addr__: { get_param: appc_ip_addr }
__dcae_ip_addr__: { get_param: dcae_ip_addr }
__dcae_coll_ip_addr__: { get_param: dcae_coll_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__policy_ip_addr__: { get_param: policy_ip_addr }
__portal_ip_addr__: { get_param: portal_ip_addr }
@@ -400,6 +455,8 @@ resources:
__sdc_ip_addr__: { get_param: sdc_ip_addr }
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
template: |
@@ -417,7 +474,7 @@ resources:
echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
echo "__dcae_coll_ip_addr__" > /opt/config/dcae_coll_ip_addr.txt
- echo "__mso_ip_addr__" > /opt/config/mso_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
@@ -425,6 +482,8 @@ resources:
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
+ echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
+ echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__external_dns__" > /opt/config/external_dns.txt
# Download and run install script
@@ -438,8 +497,8 @@ resources:
aai1_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
aai1_floating_ip:
type: OS::Neutron::FloatingIP
@@ -472,10 +531,11 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: aai_docker }
+ __gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -493,19 +553,20 @@ resources:
echo "aai_instance_1" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
aai2_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
aai2_floating_ip:
type: OS::Neutron::FloatingIP
@@ -537,10 +598,11 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: aai_docker }
+ __gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -558,40 +620,41 @@ resources:
echo "aai_instance_2" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
- # MSO instantiation
- mso_private_port:
+ # SO instantiation
+ so_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: mso_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
- mso_floating_ip:
+ so_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
- port_id: { get_resource: mso_private_port }
+ port_id: { get_resource: so_private_port }
- mso_vm:
+ so_vm:
type: OS::Nova::Server
properties:
image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
- template: base-mso
+ template: base-so
params:
base: { get_param: vm_base_name }
key_name: { get_resource: vm_key }
networks:
- - port: { get_resource: mso_private_port }
+ - port: { get_resource: so_private_port }
user_data_format: RAW
user_data:
str_replace:
@@ -608,10 +671,11 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: so_docker }
+ __gerrit_branch__: { get_param: so_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __so_repo__: { get_param: so_repo }
template: |
#!/bin/bash
@@ -633,20 +697,21 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__so_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mso_install.sh -o /opt/mso_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
cd /opt
- chmod +x mso_install.sh
- ./mso_install.sh
+ chmod +x so_install.sh
+ ./so_install.sh
# Message Router instantiation
mrouter_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: mr_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
mrouter_floating_ip:
type: OS::Neutron::FloatingIP
@@ -677,9 +742,10 @@ resources:
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __gerrit_branch__: { get_param: mr_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -694,6 +760,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__mr_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
@@ -706,8 +773,8 @@ resources:
robot_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: robot_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
robot_floating_ip:
type: OS::Neutron::FloatingIP
@@ -736,30 +803,34 @@ resources:
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
- __network_name__: { get_attr: [oam_ecomp, name] }
+ __network_name__: { get_attr: [oam_onap, name] }
__openstack_username__: { get_param: openstack_username }
__openstack_api_key__: { get_param : openstack_api_key }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
__artifacts_version__: { get_param: artifacts_version }
__openstack_region__: { get_param: openstack_region }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: mr_docker }
+ __gerrit_branch__: { get_param: mr_branch }
__cloud_env__: { get_param: cloud_env }
__keystone_url__: { get_param: keystone_url }
__aai1_ip_addr__: { get_param: aai1_ip_addr }
__aai2_ip_addr__: { get_param: aai2_ip_addr }
__appc_ip_addr__: { get_param: appc_ip_addr }
__dcae_ip_addr__: { get_param: dcae_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__policy_ip_addr__: { get_param: policy_ip_addr }
__portal_ip_addr__: { get_param: portal_ip_addr }
__sdc_ip_addr__: { get_param: sdc_ip_addr }
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
__external_dns__: { get_param: external_dns }
- __vm_image_name__: { get_param: ubuntu_1404_image}
- __vm_flavor__: { get_param: flavor_medium}
+ __vm_image_name__: { get_param: ubuntu_1404_image }
+ __vm_flavor__: { get_param: flavor_medium }
+ __robot_repo__: { get_param: robot_repo }
template: |
#!/bin/bash
@@ -772,6 +843,7 @@ resources:
echo "__network_name__" > /opt/config/network.txt
echo "__openstack_username__" > /opt/config/openstack_username.txt
echo "__openstack_api_key__" > /opt/config/openstack_password.txt
+ echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
echo "__openstack_region__" > /opt/config/region.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__docker_version__" > /opt/config/docker_version.txt
@@ -782,17 +854,20 @@ resources:
echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
- echo "__mso_ip_addr__" > /opt/config/mso_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
+ echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
+ echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__vm_image_name__" > /opt/config/vm_image_name.txt
echo "__vm_flavor__" > /opt/config/vm_flavor.txt
+ echo "__robot_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
@@ -805,8 +880,8 @@ resources:
vid_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: vid_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
vid_floating_ip:
type: OS::Neutron::FloatingIP
@@ -837,10 +912,11 @@ resources:
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: vid_docker }
+ __gerrit_branch__: { get_param: vid_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __vid_repo__: { get_param: vid_repo }
template: |
#!/bin/bash
@@ -856,6 +932,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__vid_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
@@ -868,8 +945,8 @@ resources:
sdnc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
sdnc_floating_ip:
type: OS::Neutron::FloatingIP
@@ -900,10 +977,12 @@ resources:
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdnc_docker }
+ __gerrit_branch__: { get_param: sdnc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __sdnc_repo__: { get_param: sdnc_repo }
template: |
#!/bin/bash
@@ -917,8 +996,10 @@ resources:
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__sdnc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
@@ -931,8 +1012,8 @@ resources:
sdc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
sdc_floating_ip:
type: OS::Neutron::FloatingIP
@@ -975,10 +1056,11 @@ resources:
__dns_ip_addr__: { get_param: dns_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__public_ip__: { get_attr: [sdc_floating_ip, floating_ip_address] }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdc_docker }
+ __gerrit_branch__: { get_param: sdc_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __sdc_repo__: { get_param: sdc_repo }
template: |
#!/bin/bash
@@ -997,20 +1079,21 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__sdc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/asdc_install.sh -o /opt/asdc_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
cd /opt
- chmod +x asdc_install.sh
- ./asdc_install.sh
+ chmod +x sdc_install.sh
+ ./sdc_install.sh
# PORTAL instantiation
portal_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: portal_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
portal_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1042,10 +1125,11 @@ resources:
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
__public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: portal_docker }
+ __gerrit_branch__: { get_param: portal_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __portal_repo__: { get_param: portal_repo }
template: |
#!/bin/bash
@@ -1062,6 +1146,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__portal_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
@@ -1074,8 +1159,8 @@ resources:
dcae_c_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
dcae_c_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1111,7 +1196,7 @@ resources:
__dcae_state__: { get_param: dcae_state }
__artifacts_version__: { get_param: artifacts_version }
__tenant_id__: { get_param: openstack_tenant_id }
- __openstack_private_network_name__: { get_attr: [oam_ecomp, name] }
+ __openstack_private_network_name__: { get_attr: [oam_onap, name] }
__openstack_user__: { get_param: openstack_username }
__openstack_password__: { get_param: openstack_api_key }
__openstack_auth_method__: { get_param: openstack_auth_method }
@@ -1122,8 +1207,8 @@ resources:
__openstack_region__: { get_param: openstack_region }
__horizon_url__: { get_param: horizon_url }
__keystone_url__: { get_param: keystone_url }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: dcae_docker }
+ __gerrit_branch__: { get_param: dcae_branch }
__dcae_code_version__: { get_param: dcae_code_version }
__cloud_env__: { get_param: cloud_env }
__public_net_id__: { get_param: public_net_id }
@@ -1147,6 +1232,8 @@ resources:
__flavor_medium__: { get_param: flavor_medium }
__flavor_large__: { get_param: flavor_large }
__flavor_xlarge__: { get_param: flavor_xlarge }
+ __dcae_repo__: { get_param: dcae_repo }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -1199,6 +1286,8 @@ resources:
echo "__flavor_medium__" > /opt/config/flavor_medium.txt
echo "__flavor_large__" > /opt/config/flavor_large.txt
echo "__flavor_xlarge__" > /opt/config/flavor_xlarge.txt
+ echo "__dcae_repo__" > /opt/config/remote_repo.txt
+ echo "__mr_repo__" > /opt/config/mr_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh
@@ -1211,8 +1300,8 @@ resources:
policy_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: policy_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
policy_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1244,10 +1333,11 @@ resources:
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
__public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: policy_docker }
+ __gerrit_branch__: { get_param: policy_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __policy_repo__: { get_param: policy_repo }
template: |
#!/bin/bash
@@ -1264,6 +1354,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__policy_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
@@ -1276,8 +1367,8 @@ resources:
appc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: appc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
appc_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1309,10 +1400,12 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: appc_docker }
+ __gerrit_branch__: { get_param: appc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __appc_repo__: { get_param: appc_repo }
template: |
#!/bin/bash
@@ -1327,11 +1420,195 @@ resources:
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__appc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
cd /opt
chmod +x appc_install.sh
- ./appc_install.sh \ No newline at end of file
+ ./appc_install.sh
+
+
+ # CLAMP instantiation
+ clamp_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
+
+ clamp_floating_ip:
+ type: OS::Neutron::FloatingIP
+ properties:
+ floating_network_id: { get_param: public_net_id }
+ port_id: { get_resource: clamp_private_port }
+
+ clamp_vm:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu_1604_image }
+ flavor: { get_param: flavor_medium }
+ name:
+ str_replace:
+ template: base-clamp
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - port: { get_resource: clamp_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __openstack_username__: { get_param: openstack_username }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
+ __openstack_api_key__: { get_param: openstack_api_key }
+ __openstack_region__: { get_param: openstack_region }
+ __keystone_url__: { get_param: keystone_url }
+ __dmaap_topic__: { get_param: dmaap_topic }
+ __artifacts_version__: { get_param: artifacts_version }
+ __dns_ip_addr__: { get_param: dns_ip_addr }
+ __docker_version__: { get_param: clamp_docker }
+ __gerrit_branch__: { get_param: clamp_branch }
+ __cloud_env__: { get_param: cloud_env }
+ __external_dns__: { get_param: external_dns }
+ __clamp_repo__: { get_param: clamp_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
+ echo "__openstack_username__" > /opt/config/openstack_username.txt
+ echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
+ echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
+ echo "__openstack_region__" > /opt/config/openstack_region.txt
+ echo "__keystone_url__" > /opt/config/keystone.txt
+ echo "__docker_version__" > /opt/config/docker_version.txt
+ echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__clamp_repo__" > /opt/config/remote_repo.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
+ cd /opt
+ chmod +x clamp_install.sh
+ ./clamp_install.sh
+
+
+ # OPEN-O VM instantiation
+ openo_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
+
+ openo_floating_ip:
+ type: OS::Neutron::FloatingIP
+ properties:
+ floating_network_id: { get_param: public_net_id }
+ port_id: { get_resource: openo_private_port }
+
+ openo_vm:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu_1604_image }
+ flavor: { get_param: flavor_xxlarge }
+ name:
+ str_replace:
+ template: base-openo-server
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - port: { get_resource: openo_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __artifacts_version__: { get_param: artifacts_version }
+ __dns_ip_addr__: { get_param: dns_ip_addr }
+ __oam_network_cidr__: { get_param: oam_network_cidr }
+ __aai1_ip_addr__: { get_param: aai1_ip_addr }
+ __aai2_ip_addr__: { get_param: aai2_ip_addr }
+ __appc_ip_addr__: { get_param: appc_ip_addr }
+ __dcae_ip_addr__: { get_param: dcae_ip_addr }
+ __dcae_coll_ip_addr__: { get_param: dcae_coll_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
+ __mr_ip_addr__: { get_param: mr_ip_addr }
+ __policy_ip_addr__: { get_param: policy_ip_addr }
+ __portal_ip_addr__: { get_param: portal_ip_addr }
+ __robot_ip_addr__: { get_param: robot_ip_addr }
+ __sdc_ip_addr__: { get_param: sdc_ip_addr }
+ __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
+ __vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
+ __cloud_env__: { get_param: cloud_env }
+ __external_dns__: { get_param: external_dns }
+ __vnfsdk_branch__: { get_param: vnfsdk_branch }
+ __msb_docker__: { get_param: msb_docker }
+ __mvim_docker__: { get_param: mvim_docker }
+ __vfc_docker__: { get_param: vfc_docker }
+ __uui_docker__: { get_param: uui_docker }
+ __vnfsdk_repo__: { get_param: vnfsdk_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
+ echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
+ echo "__msb_docker__" > /opt/config/msb_docker.txt
+ echo "__mvim_docker__" > /opt/config/mvim_docker.txt
+ echo "__vfc_docker__" > /opt/config/vfc_docker.txt
+ echo "__uui_docker__" > /opt/config/uui_docker.txt
+ echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
+
+ # Create env file with the IP address of all ONAP components
+ echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export DCAE_COLL_IP=__dcae_coll_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
+ cd /opt
+ chmod +x openo_install.sh
+ ./openo_install.sh \ No newline at end of file
diff --git a/heat/ONAP/onap_openstack_float.env b/heat/ONAP/onap_openstack_float.env
index 4f3a42df..4b7e9f4f 100644
--- a/heat/ONAP/onap_openstack_float.env
+++ b/heat/ONAP/onap_openstack_float.env
@@ -24,6 +24,8 @@ parameters:
flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
+ flavor_xxlarge: PUT THE XXLARGE FLAVOR NAME HERE
+
vm_base_name: vm1
key_name: onap_key
@@ -42,10 +44,6 @@ parameters:
artifacts_version: 1.1.0-SNAPSHOT
- docker_version: 1.1-STAGING-latest
-
- gerrit_branch: master
-
openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
openstack_username: PUT YOUR OPENSTACK USERNAME HERE
@@ -71,6 +69,7 @@ parameters:
dns_list: PUT THE ADDRESS OF THE EXTERNAL DNS HERE (e.g. a comma-separated list of IP addresses in your /etc/resolv.conf in UNIX-based Operating Systems)
external_dns: PUT THE FIRST ADDRESS OF THE EXTERNAL DNS LIST HERE
+ oam_network_cidr: 10.0.0.0/16
### Floating IP addresses ###
@@ -84,7 +83,7 @@ parameters:
dcae_hdp2_float_ip: PUT DCAE HADOOP VM2 FLOATING IP HERE
dcae_hdp3_float_ip: PUT DCAE HADOOP VM3 FLOATING IP HERE
dns_float_ip: PUT DNS FLOATING IP HERE
- mso_float_ip: PUT MSO FLOATING IP HERE
+ so_float_ip: PUT SO FLOATING IP HERE
mr_float_ip: PUT MESSAGE ROUTER FLOATING IP HERE
policy_float_ip: PUT POLICY FLOATING IP HERE
portal_float_ip: PUT PORTAL FLOATING IP HERE
@@ -92,11 +91,11 @@ parameters:
sdc_float_ip: PUT SDC FLOATING IP HERE
sdnc_float_ip: PUT SDN-C FLOATING IP HERE
vid_float_ip: PUT VID FLOATING IP HERE
-
+ clamp_float_ip: PUT CLAMP FLOATING IP HERE
+ openo_float_ip: PUT OPEN-O FLOATING IP HERE
### Private IP addresses ###
- oam_network_cidr: 10.0.0.0/16
aai1_ip_addr: 10.0.1.1
aai2_ip_addr: 10.0.1.2
appc_ip_addr: 10.0.2.1
@@ -107,7 +106,7 @@ parameters:
dcae_hdp2_ip_addr: 10.0.4.104
dcae_hdp3_ip_addr: 10.0.4.105
dns_ip_addr: 10.0.100.1
- mso_ip_addr: 10.0.5.1
+ so_ip_addr: 10.0.5.1
mr_ip_addr: 10.0.11.1
policy_ip_addr: 10.0.6.1
portal_ip_addr: 10.0.9.1
@@ -115,6 +114,8 @@ parameters:
sdc_ip_addr: 10.0.3.1
sdnc_ip_addr: 10.0.7.1
vid_ip_addr: 10.0.8.1
+ clamp_ip_addr: 10.0.12.1
+ openo_ip_addr: 10.0.14.1
###########################
# #
@@ -135,3 +136,61 @@ parameters:
gitlab_branch: master
dcae_code_version: 1.1.0
+
+
+ ################################
+ # #
+ # Docker versions and branches #
+ # #
+ ################################
+
+ aai_branch: master
+ appc_branch: master
+ so_branch: master
+ mr_branch: master
+ dcae_branch: master
+ policy_branch: master
+ portal_branch: master
+ robot_branch: master
+ sdc_branch: master
+ sdnc_branch: master
+ vid_branch: master
+ clamp_branch: master
+ vnfsdk_branch: master
+
+ aai_docker: 1.1-STAGING-latest
+ appc_docker: 1.1-STAGING-latest
+ so_docker: 1.1-STAGING-latest
+ mr_docker: 1.1-STAGING-latest
+ dcae_docker: 1.1-STAGING-latest
+ policy_docker: 1.1-STAGING-latest
+ portal_docker: 1.1-STAGING-latest
+ robot_docker: 1.1-STAGING-latest
+ sdc_docker: 1.1-STAGING-latest
+ sdnc_docker: 1.2-STAGING-latest
+ vid_docker: 1.1-STAGING-latest
+ clamp_docker: 1.1-STAGING-latest
+ msb_docker: latest
+ mvim_docker: latest
+ vfc_docker: latest
+ uui_docker: latest
+ dgbuilder_docker: 0.1-STAGING-latest
+
+ #####################
+ # #
+ # ONAP repositories #
+ # #
+ #####################
+ aai_repo: http://gerrit.onap.org/r/aai/test-config
+ appc_repo: http://gerrit.onap.org/r/appc/deployment.git
+ dcae_repo: http://gerrit.onap.org/r/dcae/demo/startup/controller.git
+ mr_repo: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git
+ so_repo: http://gerrit.onap.org/r/so/docker-config.git
+ policy_repo: http://gerrit.onap.org/r/policy/docker.git
+ portal_repo: http://gerrit.onap.org/r/portal.git
+ robot_repo: http://gerrit.onap.org/r/testsuite/properties.git
+ sdc_repo: http://gerrit.onap.org/r/sdc.git
+ sdnc_repo: http://gerrit.onap.org/r/sdnc/oam.git
+ vid_repo: http://gerrit.onap.org/r/vid.git
+ clamp_repo: http://gerrit.onap.org/r/clamp.git
+ vnfsdk_repo: http://gerrit.onap.org/r/vnfsdk/refrepo.git
diff --git a/heat/ONAP/onap_openstack_float.yaml b/heat/ONAP/onap_openstack_float.yaml
index af49a776..438be715 100644
--- a/heat/ONAP/onap_openstack_float.yaml
+++ b/heat/ONAP/onap_openstack_float.yaml
@@ -44,14 +44,6 @@ parameters:
type: string
description: Public network for floating IP address allocation
- public_subnet_id:
- type: string
- description: Public network subnet id
-
- router_gateway_ip:
- type: string
- description: Public network gateway IP address
-
ubuntu_1404_image:
type: string
description: Name of the Ubuntu 14.04 image
@@ -76,6 +68,10 @@ parameters:
type: string
description: Name of the Extra Large Flavor supported by the cloud provider
+ flavor_xxlarge:
+ type: string
+ description: Name of the Extra Extra Large Flavor supported by the cloud provider
+
vm_base_name:
type: string
description: Base name of ONAP VMs
@@ -108,15 +104,6 @@ parameters:
type: string
description: Artifacts version of ONAP components
- docker_version:
- type: string
- label: Version number of ONAP docker images
-
- gerrit_branch:
- type: string
- label: Gerrit code branch
- description: Gerrit branch where to download the code from
-
dmaap_topic:
type: string
description: DMaaP Topic name
@@ -135,7 +122,7 @@ parameters:
openstack_api_key:
type: string
- description: Openstack API Key
+ description: Openstack password or API Key
horizon_url:
type: string
@@ -149,6 +136,7 @@ parameters:
type: string
description: Cloud Provider Name
+
######################
# #
# Network parameters #
@@ -163,155 +151,94 @@ parameters:
type: string
description: First element of the dns_list for ONAP network
+ oam_network_cidr:
+ type: string
+ description: CIDR of the OAM ONAP network
+
### Floating IP addresses ###
aai1_float_ip:
type: string
- description: AAI Instance 1 Floating IP Address
-
aai2_float_ip:
type: string
- description: AAI Instance 2 Floating IP Address
-
appc_float_ip:
type: string
- description: APP-C Floating IP Address
-
dcae_float_ip:
type: string
- description: DCAE Floating IP Address
-
dcae_coll_float_ip:
type: string
- description: DCAE Collector Floating IP Address
-
dcae_db_float_ip:
type: string
- description: DCAE Collector Database Floating IP Address
-
dcae_hdp1_float_ip:
type: string
- description: Hadoop VM1 Floating IP Address
-
dcae_hdp2_float_ip:
type: string
- description: Hadoop VM2 Floating IP Address
-
dcae_hdp3_float_ip:
type: string
- description: Hadoop VM3 Floating IP Address
-
dns_float_ip:
type: string
- description: DNS Floating IP Address
-
- mso_float_ip:
+ so_float_ip:
type: string
- description: MSO Floating IP Address
-
mr_float_ip:
type: string
- description: Message Router Floating IP Address
-
policy_float_ip:
type: string
- description: Policy Engine Floating IP Address
-
portal_float_ip:
type: string
- description: Portal Floating IP Address
-
robot_float_ip:
type: string
- description: Robot Framework Floating IP Address
-
sdc_float_ip:
type: string
- description: SDC Floating IP Address
-
sdnc_float_ip:
type: string
- description: SDN-C Floating IP Address
-
vid_float_ip:
type: string
- description: VID Floating IP Address
-
- ### Private IP addresses ###
- oam_network_cidr:
+ clamp_float_ip:
type: string
- description: CIDR of the OAM ONAP network
+ openo_float_ip:
+ type: string
+
+ ### Private IP addresses ###
aai1_ip_addr:
type: string
- description: AAI Instance 1 IP Address
-
aai2_ip_addr:
type: string
- description: AAI Instance 2 IP Address
-
appc_ip_addr:
type: string
- description: APP-C IP Address
-
dcae_ip_addr:
type: string
- description: DCAE IP Address
-
dcae_coll_ip_addr:
type: string
- description: DCAE Collector IP Address
-
dcae_db_ip_addr:
type: string
- description: DCAE Database IP Address
-
dcae_hdp1_ip_addr:
type: string
- description: Hadoop VM1 IP Address
-
dcae_hdp2_ip_addr:
type: string
- description: Hadoop VM2 IP Address
-
dcae_hdp3_ip_addr:
type: string
- description: Hadoop VM3 IP Address
-
dns_ip_addr:
type: string
- description: DNS IP Address
-
- mso_ip_addr:
+ so_ip_addr:
type: string
- description: MSO IP Address
-
mr_ip_addr:
type: string
- description: Message Router IP Address
-
policy_ip_addr:
type: string
- description: Policy Engine IP Address
-
portal_ip_addr:
type: string
- description: Portal IP Address
-
robot_ip_addr:
type: string
- description: Robot Framework IP Address
-
sdc_ip_addr:
type: string
- description: SDC IP Address
-
sdnc_ip_addr:
type: string
- description: SDN-C IP Address
-
vid_ip_addr:
type: string
- description: VID IP Address
+ clamp_ip_addr:
+ type: string
+ openo_ip_addr:
+ type: string
###########################
@@ -352,6 +279,107 @@ parameters:
type: string
description: DCAE Code Version Number
+ #####################
+ # #
+ # ONAP repositories #
+ # #
+ #####################
+
+ aai_repo:
+ type: string
+ appc_repo:
+ type: string
+ dcae_repo:
+ type: string
+ mr_repo:
+ type: string
+ so_repo:
+ type: string
+ policy_repo:
+ type: string
+ portal_repo:
+ type: string
+ robot_repo:
+ type: string
+ sdc_repo:
+ type: string
+ sdnc_repo:
+ type: string
+ vid_repo:
+ type: string
+ clamp_repo:
+ type: string
+ vnfsdk_repo:
+ type: string
+
+ ################################
+ # #
+ # Docker versions and branches #
+ # #
+ ################################
+
+ aai_docker:
+ type: string
+ appc_docker:
+ type: string
+ so_docker:
+ type: string
+ mr_docker:
+ type: string
+ dcae_docker:
+ type: string
+ policy_docker:
+ type: string
+ portal_docker:
+ type: string
+ robot_docker:
+ type: string
+ sdc_docker:
+ type: string
+ sdnc_docker:
+ type: string
+ vid_docker:
+ type: string
+ clamp_docker:
+ type: string
+ msb_docker:
+ type: string
+ mvim_docker:
+ type: string
+ vfc_docker:
+ type: string
+ uui_docker:
+ type: string
+ dgbuilder_docker:
+ type: string
+
+ aai_branch:
+ type: string
+ appc_branch:
+ type: string
+ so_branch:
+ type: string
+ mr_branch:
+ type: string
+ dcae_branch:
+ type: string
+ policy_branch:
+ type: string
+ portal_branch:
+ type: string
+ robot_branch:
+ type: string
+ sdc_branch:
+ type: string
+ sdnc_branch:
+ type: string
+ vid_branch:
+ type: string
+ clamp_branch:
+ type: string
+ vnfsdk_branch:
+ type: string
+
#############
# #
@@ -381,24 +409,24 @@ resources:
# ONAP management private network
- oam_ecomp:
+ oam_onap:
type: OS::Neutron::Net
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- oam_ecomp_subnet:
+ oam_onap_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- network_id: { get_resource: oam_ecomp }
+ network_id: { get_resource: oam_onap }
cidr: { get_param: oam_network_cidr }
dns_nameservers: { get_param: dns_list }
@@ -415,15 +443,15 @@ resources:
type: OS::Neutron::RouterInterface
properties:
router_id: { get_resource: router }
- subnet_id: { get_resource: oam_ecomp_subnet }
+ subnet_id: { get_resource: oam_onap_subnet }
# DNS Server instantiation
dns_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: dns_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
dns_floating_ip:
type: OS::Neutron::FloatingIP
@@ -451,14 +479,14 @@ resources:
params:
__nexus_repo__: { get_param: nexus_repo }
__artifacts_version__: { get_param: artifacts_version }
- __oam_network_cidr__: { get_attr: [oam_ecomp_subnet, cidr] }
+ __oam_network_cidr__: { get_attr: [oam_onap_subnet, cidr] }
__dns_ip_addr__: { get_param: dns_ip_addr }
__aai1_ip_addr__: { get_param: aai1_ip_addr }
__aai2_ip_addr__: { get_param: aai2_ip_addr }
__appc_ip_addr__: { get_param: appc_ip_addr }
__dcae_ip_addr__: { get_param: dcae_ip_addr }
__dcae_coll_ip_addr__: { get_param: dcae_coll_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__policy_ip_addr__: { get_param: policy_ip_addr }
__portal_ip_addr__: { get_param: portal_ip_addr }
@@ -466,6 +494,8 @@ resources:
__sdc_ip_addr__: { get_param: sdc_ip_addr }
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
template: |
@@ -483,7 +513,7 @@ resources:
echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
echo "__dcae_coll_ip_addr__" > /opt/config/dcae_coll_ip_addr.txt
- echo "__mso_ip_addr__" > /opt/config/mso_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
@@ -491,6 +521,8 @@ resources:
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
+ echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
+ echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__external_dns__" > /opt/config/external_dns.txt
# Download and run install script
@@ -504,8 +536,8 @@ resources:
aai1_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
aai1_floating_ip:
type: OS::Neutron::FloatingIP
@@ -539,10 +571,11 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
+ __docker_version__: { get_param: aai_docker }
__cloud_env__: { get_param: cloud_env }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __gerrit_branch__: { get_param: aai_branch }
__external_dns__: { get_param: external_dns }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -560,19 +593,20 @@ resources:
echo "aai_instance_1" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
aai2_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
aai2_floating_ip:
type: OS::Neutron::FloatingIP
@@ -605,10 +639,11 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
+ __docker_version__: { get_param: aai_docker }
__cloud_env__: { get_param: cloud_env }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __gerrit_branch__: { get_param: aai_branch }
__external_dns__: { get_param: external_dns }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -626,41 +661,42 @@ resources:
echo "aai_instance_2" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
- # MSO instantiation
- mso_private_port:
+ # SO instantiation
+ so_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: mso_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
- mso_floating_ip:
+ so_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
- port_id: { get_resource: mso_private_port }
- floating_ip_address: { get_param: mso_float_ip }
+ port_id: { get_resource: so_private_port }
+ floating_ip_address: { get_param: so_float_ip }
- mso_vm:
+ so_vm:
type: OS::Nova::Server
properties:
image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
- template: base-mso
+ template: base-so
params:
base: { get_param: vm_base_name }
key_name: { get_resource: vm_key }
networks:
- - port: { get_resource: mso_private_port }
+ - port: { get_resource: so_private_port }
user_data_format: RAW
user_data:
str_replace:
@@ -677,10 +713,11 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: so_docker }
+ __gerrit_branch__: { get_param: so_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __so_repo__: { get_param: so_repo }
template: |
#!/bin/bash
@@ -702,20 +739,21 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__so_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mso_install.sh -o /opt/mso_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
cd /opt
- chmod +x mso_install.sh
- ./mso_install.sh
+ chmod +x so_install.sh
+ ./so_install.sh
# Message Router instantiation
mrouter_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: mr_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
mrouter_floating_ip:
type: OS::Neutron::FloatingIP
@@ -747,9 +785,10 @@ resources:
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __gerrit_branch__: { get_param: mr_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -764,6 +803,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__mr_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
@@ -776,8 +816,8 @@ resources:
robot_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: robot_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
robot_floating_ip:
type: OS::Neutron::FloatingIP
@@ -807,30 +847,34 @@ resources:
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
- __network_name__: { get_attr: [oam_ecomp, name] }
+ __network_name__: { get_attr: [oam_onap, name] }
__openstack_username__: { get_param: openstack_username }
__openstack_api_key__: { get_param : openstack_api_key }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
__artifacts_version__: { get_param: artifacts_version }
__openstack_region__: { get_param: openstack_region }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: robot_docker }
+ __gerrit_branch__: { get_param: robot_branch }
__keystone_url__: { get_param: keystone_url }
__aai1_ip_addr__: { get_param: aai1_ip_addr }
__aai2_ip_addr__: { get_param: aai2_ip_addr }
__appc_ip_addr__: { get_param: appc_ip_addr }
__dcae_ip_addr__: { get_param: dcae_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__policy_ip_addr__: { get_param: policy_ip_addr }
__portal_ip_addr__: { get_param: portal_ip_addr }
__sdc_ip_addr__: { get_param: sdc_ip_addr }
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
- __vm_image_name__: { get_param: ubuntu_1404_image}
- __vm_flavor__: { get_param: flavor_medium}
+ __vm_image_name__: { get_param: ubuntu_1404_image }
+ __vm_flavor__: { get_param: flavor_medium }
+ __robot_repo__: { get_param: robot_repo }
template: |
#!/bin/bash
@@ -843,6 +887,7 @@ resources:
echo "__network_name__" > /opt/config/network.txt
echo "__openstack_username__" > /opt/config/openstack_username.txt
echo "__openstack_api_key__" > /opt/config/openstack_password.txt
+ echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
echo "__openstack_region__" > /opt/config/region.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__docker_version__" > /opt/config/docker_version.txt
@@ -853,17 +898,20 @@ resources:
echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
- echo "__mso_ip_addr__" > /opt/config/mso_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
+ echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
+ echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__vm_image_name__" > /opt/config/vm_image_name.txt
echo "__vm_flavor__" > /opt/config/vm_flavor.txt
+ echo "__robot_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
@@ -876,8 +924,8 @@ resources:
vid_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: vid_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
vid_floating_ip:
type: OS::Neutron::FloatingIP
@@ -909,10 +957,11 @@ resources:
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: vid_docker }
+ __gerrit_branch__: { get_param: vid_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __vid_repo__: { get_param: vid_repo }
template: |
#!/bin/bash
@@ -928,6 +977,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__vid_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
@@ -940,8 +990,8 @@ resources:
sdnc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
sdnc_floating_ip:
type: OS::Neutron::FloatingIP
@@ -973,10 +1023,12 @@ resources:
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdnc_docker }
+ __gerrit_branch__: { get_param: sdnc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __sdnc_repo__: { get_param: sdnc_repo }
template: |
#!/bin/bash
@@ -990,8 +1042,10 @@ resources:
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__sdnc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
@@ -1004,8 +1058,8 @@ resources:
sdc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
sdc_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1049,10 +1103,11 @@ resources:
__dns_ip_addr__: { get_param: dns_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__public_ip__: { get_attr: [sdc_floating_ip, floating_ip_address] }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdc_docker }
+ __gerrit_branch__: { get_param: sdc_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __sdc_repo__: { get_param: sdc_repo }
template: |
#!/bin/bash
@@ -1071,20 +1126,21 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__sdc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/asdc_install.sh -o /opt/asdc_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
cd /opt
- chmod +x asdc_install.sh
- ./asdc_install.sh
+ chmod +x sdc_install.sh
+ ./sdc_install.sh
# PORTAL instantiation
portal_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: portal_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
portal_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1117,10 +1173,11 @@ resources:
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
__public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: portal_docker }
+ __gerrit_branch__: { get_param: portal_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __portal_repo__: { get_param: portal_repo }
template: |
#!/bin/bash
@@ -1137,6 +1194,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__portal_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
@@ -1149,8 +1207,8 @@ resources:
dcae_c_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
dcae_c_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1187,7 +1245,7 @@ resources:
__dcae_state__: { get_param: dcae_state }
__artifacts_version__: { get_param: artifacts_version }
__tenant_id__: { get_param: openstack_tenant_id }
- __openstack_private_network_name__: { get_attr: [oam_ecomp, name] }
+ __openstack_private_network_name__: { get_attr: [oam_onap, name] }
__openstack_user__: { get_param: openstack_username }
__openstack_password__: { get_param: openstack_api_key }
__openstack_auth_method__: { get_param: openstack_auth_method }
@@ -1198,8 +1256,8 @@ resources:
__openstack_region__: { get_param: openstack_region }
__horizon_url__: { get_param: horizon_url }
__keystone_url__: { get_param: keystone_url }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: dcae_docker }
+ __gerrit_branch__: { get_param: dcae_branch }
__dcae_code_version__: { get_param: dcae_code_version }
__cloud_env__: { get_param: cloud_env }
__public_net_id__: { get_param: public_net_id }
@@ -1223,6 +1281,8 @@ resources:
__flavor_medium__: { get_param: flavor_medium }
__flavor_large__: { get_param: flavor_large }
__flavor_xlarge__: { get_param: flavor_xlarge }
+ __dcae_repo__: { get_param: dcae_repo }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -1275,6 +1335,8 @@ resources:
echo "__flavor_medium__" > /opt/config/flavor_medium.txt
echo "__flavor_large__" > /opt/config/flavor_large.txt
echo "__flavor_xlarge__" > /opt/config/flavor_xlarge.txt
+ echo "__dcae_repo__" > /opt/config/remote_repo.txt
+ echo "__mr_repo__" > /opt/config/mr_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh
@@ -1287,8 +1349,8 @@ resources:
policy_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: policy_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
policy_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1321,10 +1383,11 @@ resources:
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
__public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: policy_docker }
+ __gerrit_branch__: { get_param: policy_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __policy_repo__: { get_param: policy_repo }
template: |
#!/bin/bash
@@ -1341,6 +1404,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__policy_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
@@ -1353,8 +1417,8 @@ resources:
appc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: appc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
appc_floating_ip:
type: OS::Neutron::FloatingIP
@@ -1387,10 +1451,12 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: appc_docker }
+ __gerrit_branch__: { get_param: appc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __appc_repo__: { get_param: appc_repo }
template: |
#!/bin/bash
@@ -1405,11 +1471,197 @@ resources:
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__appc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
cd /opt
chmod +x appc_install.sh
- ./appc_install.sh \ No newline at end of file
+ ./appc_install.sh
+
+
+ # CLAMP instantiation
+ clamp_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
+
+ clamp_floating_ip:
+ type: OS::Neutron::FloatingIP
+ properties:
+ floating_network_id: { get_param: public_net_id }
+ port_id: { get_resource: clamp_private_port }
+ floating_ip_address: { get_param: clamp_float_ip }
+
+ clamp_vm:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu_1604_image }
+ flavor: { get_param: flavor_medium }
+ name:
+ str_replace:
+ template: base-clamp
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - port: { get_resource: clamp_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __openstack_username__: { get_param: openstack_username }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
+ __openstack_api_key__: { get_param: openstack_api_key }
+ __openstack_region__: { get_param: openstack_region }
+ __keystone_url__: { get_param: keystone_url }
+ __dmaap_topic__: { get_param: dmaap_topic }
+ __artifacts_version__: { get_param: artifacts_version }
+ __dns_ip_addr__: { get_param: dns_ip_addr }
+ __docker_version__: { get_param: clamp_docker }
+ __gerrit_branch__: { get_param: clamp_branch }
+ __cloud_env__: { get_param: cloud_env }
+ __external_dns__: { get_param: external_dns }
+ __clamp_repo__: { get_param: clamp_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
+ echo "__openstack_username__" > /opt/config/openstack_username.txt
+ echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
+ echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
+ echo "__openstack_region__" > /opt/config/openstack_region.txt
+ echo "__keystone_url__" > /opt/config/keystone.txt
+ echo "__docker_version__" > /opt/config/docker_version.txt
+ echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__clamp_repo__" > /opt/config/remote_repo.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
+ cd /opt
+ chmod +x clamp_install.sh
+ ./clamp_install.sh
+
+
+ # OPEN-O VM instantiation
+ openo_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
+
+ openo_floating_ip:
+ type: OS::Neutron::FloatingIP
+ properties:
+ floating_network_id: { get_param: public_net_id }
+ port_id: { get_resource: openo_private_port }
+ floating_ip_address: { get_param: onap_float_ip }
+
+ openo_vm:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu_1604_image }
+ flavor: { get_param: flavor_xxlarge }
+ name:
+ str_replace:
+ template: base-openo-server
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - port: { get_resource: openo_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __artifacts_version__: { get_param: artifacts_version }
+ __dns_ip_addr__: { get_param: dns_ip_addr }
+ __oam_network_cidr__: { get_param: oam_network_cidr }
+ __aai1_ip_addr__: { get_param: aai1_ip_addr }
+ __aai2_ip_addr__: { get_param: aai2_ip_addr }
+ __appc_ip_addr__: { get_param: appc_ip_addr }
+ __dcae_ip_addr__: { get_param: dcae_ip_addr }
+ __dcae_coll_ip_addr__: { get_param: dcae_coll_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
+ __mr_ip_addr__: { get_param: mr_ip_addr }
+ __policy_ip_addr__: { get_param: policy_ip_addr }
+ __portal_ip_addr__: { get_param: portal_ip_addr }
+ __robot_ip_addr__: { get_param: robot_ip_addr }
+ __sdc_ip_addr__: { get_param: sdc_ip_addr }
+ __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
+ __vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
+ __cloud_env__: { get_param: cloud_env }
+ __external_dns__: { get_param: external_dns }
+ __vnfsdk_branch__: { get_param: vnfsdk_branch }
+ __msb_docker__: { get_param: msb_docker }
+ __mvim_docker__: { get_param: mvim_docker }
+ __vfc_docker__: { get_param: vfc_docker }
+ __uui_docker__: { get_param: uui_docker }
+ __vnfsdk_repo__: { get_param: vnfsdk_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
+ echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
+ echo "__msb_docker__" > /opt/config/msb_docker.txt
+ echo "__mvim_docker__" > /opt/config/mvim_docker.txt
+ echo "__vfc_docker__" > /opt/config/vfc_docker.txt
+ echo "__uui_docker__" > /opt/config/uui_docker.txt
+ echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
+
+ # Create env file with the IP address of all ONAP components
+ echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export DCAE_COLL_IP=__dcae_coll_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
+ cd /opt
+ chmod +x openo_install.sh
+ ./openo_install.sh \ No newline at end of file
diff --git a/heat/ONAP/onap_openstack_nofloat.env b/heat/ONAP/onap_openstack_nofloat.env
index dad932be..086eced4 100644
--- a/heat/ONAP/onap_openstack_nofloat.env
+++ b/heat/ONAP/onap_openstack_nofloat.env
@@ -20,6 +20,8 @@ parameters:
flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
+ flavor_xlarge: PUT THE XLARGE FLAVOR NAME HERE
+
vm_base_name: vm1
key_name: onap_key
@@ -38,10 +40,6 @@ parameters:
artifacts_version: 1.1.0-SNAPSHOT
- docker_version: 1.1-STAGING-latest
-
- gerrit_branch: master
-
openstack_tenant_id: PUT YOUR OPENSTACK PROJECT ID HERE
openstack_username: PUT YOUR OPENSTACK USERNAME HERE
@@ -66,8 +64,10 @@ parameters:
######################
external_dns: PUT THE ADDRESS OF THE EXTERNAL DNS HERE
-
oam_network_cidr: 10.0.0.0/16
+
+ ### Private IP addresses ###
+
aai1_ip_addr: 10.0.1.1
aai2_ip_addr: 10.0.1.2
appc_ip_addr: 10.0.2.1
@@ -78,7 +78,7 @@ parameters:
dcae_hdp2_ip_addr: 10.0.4.104
dcae_hdp3_ip_addr: 10.0.4.105
dns_ip_addr: 10.0.100.1
- mso_ip_addr: 10.0.5.1
+ so_ip_addr: 10.0.5.1
mr_ip_addr: 10.0.11.1
policy_ip_addr: 10.0.6.1
portal_ip_addr: 10.0.9.1
@@ -86,7 +86,8 @@ parameters:
sdc_ip_addr: 10.0.3.1
sdnc_ip_addr: 10.0.7.1
vid_ip_addr: 10.0.8.1
-
+ clamp_ip_addr: 10.0.12.1
+ openo_ip_addr: 10.0.14.1
###########################
# #
@@ -108,3 +109,60 @@ parameters:
dcae_code_version: 1.1.0
+
+ ################################
+ # #
+ # Docker versions and branches #
+ # #
+ ################################
+
+ aai_branch: master
+ appc_branch: master
+ so_branch: master
+ mr_branch: master
+ dcae_branch: master
+ policy_branch: master
+ portal_branch: master
+ robot_branch: master
+ sdc_branch: master
+ sdnc_branch: master
+ vid_branch: master
+ clamp_branch: master
+ vnfsdk_branch: master
+
+ aai_docker: 1.1-STAGING-latest
+ appc_docker: 1.1-STAGING-latest
+ so_docker: 1.1-STAGING-latest
+ mr_docker: 1.1-STAGING-latest
+ dcae_docker: 1.1-STAGING-latest
+ policy_docker: 1.1-STAGING-latest
+ portal_docker: 1.1-STAGING-latest
+ robot_docker: 1.1-STAGING-latest
+ sdc_docker: 1.1-STAGING-latest
+ sdnc_docker: 1.2-STAGING-latest
+ vid_docker: 1.1-STAGING-latest
+ clamp_docker: 1.1-STAGING-latest
+ msb_docker: latest
+ mvim_docker: latest
+ vfc_docker: latest
+ uui_docker: latest
+ dgbuilder_docker: 0.1-STAGING-latest
+
+ #####################
+ # #
+ # ONAP repositories #
+ # #
+ #####################
+ aai_repo: http://gerrit.onap.org/r/aai/test-config
+ appc_repo: http://gerrit.onap.org/r/appc/deployment.git
+ dcae_repo: http://gerrit.onap.org/r/dcae/demo/startup/controller.git
+ mr_repo: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git
+ so_repo: http://gerrit.onap.org/r/so/docker-config.git
+ policy_repo: http://gerrit.onap.org/r/policy/docker.git
+ portal_repo: http://gerrit.onap.org/r/portal.git
+ robot_repo: http://gerrit.onap.org/r/testsuite/properties.git
+ sdc_repo: http://gerrit.onap.org/r/sdc.git
+ sdnc_repo: http://gerrit.onap.org/r/sdnc/oam.git
+ vid_repo: http://gerrit.onap.org/r/vid.git
+ clamp_repo: http://gerrit.onap.org/r/clamp.git
+ vnfsdk_repo: http://gerrit.onap.org/r/vnfsdk/refrepo.git
diff --git a/heat/ONAP/onap_openstack_nofloat.yaml b/heat/ONAP/onap_openstack_nofloat.yaml
index b505d725..0d857ce2 100644
--- a/heat/ONAP/onap_openstack_nofloat.yaml
+++ b/heat/ONAP/onap_openstack_nofloat.yaml
@@ -68,6 +68,10 @@ parameters:
type: string
description: Name of the Extra Large Flavor supported by the cloud provider
+ flavor_xxlarge:
+ type: string
+ description: Name of the Extra Extra Large Flavor supported by the cloud provider
+
vm_base_name:
type: string
description: Base name of ONAP VMs
@@ -100,15 +104,6 @@ parameters:
type: string
description: Artifacts version of ONAP components
- docker_version:
- type: string
- label: Version number of ONAP docker images
-
- gerrit_branch:
- type: string
- label: Gerrit code branch
- description: Gerrit branch where to download the code from
-
dmaap_topic:
type: string
description: DMaaP Topic name
@@ -127,7 +122,7 @@ parameters:
openstack_api_key:
type: string
- description: Openstack API Key
+ description: Openstack password or API Key
horizon_url:
type: string
@@ -151,83 +146,52 @@ parameters:
type: string
description: External DNS for OAM ONAP network
- ### Private IP addresses ###
oam_network_cidr:
type: string
description: CIDR of the OAM ONAP network
+ ### Private IP addresses ###
+
aai1_ip_addr:
type: string
- description: AAI Instance 1 IP Address
-
aai2_ip_addr:
type: string
- description: AAI Instance 2 IP Address
-
appc_ip_addr:
type: string
- description: APP-C IP Address
-
dcae_ip_addr:
type: string
- description: DCAE IP Address
-
dcae_coll_ip_addr:
type: string
- description: DCAE Collector IP Address
-
dcae_db_ip_addr:
type: string
- description: DCAE Database IP Address
-
dcae_hdp1_ip_addr:
type: string
- description: Hadoop VM1 IP Address
-
dcae_hdp2_ip_addr:
type: string
- description: Hadoop VM2 IP Address
-
dcae_hdp3_ip_addr:
type: string
- description: Hadoop VM3 IP Address
-
dns_ip_addr:
type: string
- description: DNS IP Address
-
- mso_ip_addr:
+ so_ip_addr:
type: string
- description: MSO IP Address
-
mr_ip_addr:
type: string
- description: Message Router IP Address
-
policy_ip_addr:
type: string
- description: Policy Engine IP Address
-
portal_ip_addr:
type: string
- description: Portal IP Address
-
robot_ip_addr:
type: string
- description: Robot Framework IP Address
-
sdc_ip_addr:
type: string
- description: SDC IP Address
-
sdnc_ip_addr:
type: string
- description: SDN-C IP Address
-
vid_ip_addr:
type: string
- description: VID IP Address
-
+ clamp_ip_addr:
+ type: string
+ openo_ip_addr:
+ type: string
###########################
# #
@@ -267,6 +231,107 @@ parameters:
type: string
description: DCAE Code Version Number
+ #####################
+ # #
+ # ONAP repositories #
+ # #
+ #####################
+
+ aai_repo:
+ type: string
+ appc_repo:
+ type: string
+ dcae_repo:
+ type: string
+ mr_repo:
+ type: string
+ so_repo:
+ type: string
+ policy_repo:
+ type: string
+ portal_repo:
+ type: string
+ robot_repo:
+ type: string
+ sdc_repo:
+ type: string
+ sdnc_repo:
+ type: string
+ vid_repo:
+ type: string
+ clamp_repo:
+ type: string
+ vnfsdk_repo:
+ type: string
+
+ ################################
+ # #
+ # Docker versions and branches #
+ # #
+ ################################
+
+ aai_docker:
+ type: string
+ appc_docker:
+ type: string
+ so_docker:
+ type: string
+ mr_docker:
+ type: string
+ dcae_docker:
+ type: string
+ policy_docker:
+ type: string
+ portal_docker:
+ type: string
+ robot_docker:
+ type: string
+ sdc_docker:
+ type: string
+ sdnc_docker:
+ type: string
+ vid_docker:
+ type: string
+ clamp_docker:
+ type: string
+ msb_docker:
+ type: string
+ mvim_docker:
+ type: string
+ vfc_docker:
+ type: string
+ uui_docker:
+ type: string
+ dgbuilder_docker:
+ type: string
+
+ aai_branch:
+ type: string
+ appc_branch:
+ type: string
+ so_branch:
+ type: string
+ mr_branch:
+ type: string
+ dcae_branch:
+ type: string
+ policy_branch:
+ type: string
+ portal_branch:
+ type: string
+ robot_branch:
+ type: string
+ sdc_branch:
+ type: string
+ sdnc_branch:
+ type: string
+ vid_branch:
+ type: string
+ clamp_branch:
+ type: string
+ vnfsdk_branch:
+ type: string
+
#############
# #
@@ -296,24 +361,24 @@ resources:
# ONAP management private network
- oam_ecomp:
+ oam_onap:
type: OS::Neutron::Net
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- oam_ecomp_subnet:
+ oam_onap_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- network_id: { get_resource: oam_ecomp }
+ network_id: { get_resource: oam_onap }
cidr: { get_param: oam_network_cidr }
@@ -321,8 +386,8 @@ resources:
dns_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: dns_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dns_ip_addr }}]
dns_vm:
type: OS::Nova::Server
@@ -351,7 +416,7 @@ resources:
__appc_ip_addr__: { get_param: appc_ip_addr }
__dcae_ip_addr__: { get_param: dcae_ip_addr }
__dcae_coll_ip_addr__: { get_param: dcae_coll_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__policy_ip_addr__: { get_param: policy_ip_addr }
__portal_ip_addr__: { get_param: portal_ip_addr }
@@ -359,6 +424,8 @@ resources:
__sdc_ip_addr__: { get_param: sdc_ip_addr }
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
template: |
@@ -376,7 +443,7 @@ resources:
echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
echo "__dcae_coll_ip_addr__" > /opt/config/dcae_coll_ip_addr.txt
- echo "__mso_ip_addr__" > /opt/config/mso_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
@@ -384,6 +451,8 @@ resources:
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
+ echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
+ echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__external_dns__" > /opt/config/external_dns.txt
# Download and run install script
@@ -397,8 +466,8 @@ resources:
aai1_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai1_ip_addr }}]
aai1_vm:
type: OS::Nova::Server
@@ -428,10 +497,11 @@ resources:
__dns_ip_addr__: { get_param: dns_ip_addr }
__aai_ip_addr__: { get_param: aai1_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: aai_docker }
+ __gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -451,19 +521,20 @@ resources:
echo "aai_instance_1" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
aai2_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: aai2_ip_addr }}]
aai2_vm:
type: OS::Nova::Server
@@ -492,10 +563,11 @@ resources:
__dns_ip_addr__: { get_param: dns_ip_addr }
__aai_ip_addr__: { get_param: aai2_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: aai_docker }
+ __gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -515,35 +587,36 @@ resources:
echo "aai_instance_2" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
- # MSO instantiation
- mso_private_port:
+ # SO instantiation
+ so_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: mso_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: so_ip_addr }}]
- mso_vm:
+ so_vm:
type: OS::Nova::Server
properties:
image: { get_param: ubuntu_1604_image }
flavor: { get_param: flavor_large }
name:
str_replace:
- template: base-mso
+ template: base-so
params:
base: { get_param: vm_base_name }
key_name: { get_resource: vm_key }
networks:
- network: { get_param: public_net_id }
- - port: { get_resource: mso_private_port }
+ - port: { get_resource: so_private_port }
user_data_format: RAW
user_data:
str_replace:
@@ -560,12 +633,13 @@ resources:
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
__dns_ip_addr__: { get_param: dns_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: so_docker }
+ __gerrit_branch__: { get_param: so_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __so_repo__: { get_param: so_repo }
template: |
#!/bin/bash
@@ -576,7 +650,7 @@ resources:
echo "__nexus_username__" > /opt/config/nexus_username.txt
echo "__nexus_password__" > /opt/config/nexus_password.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
- echo "__mso_ip_addr__" > /opt/config/local_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/local_ip_addr.txt
echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
@@ -589,20 +663,21 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__so_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mso_install.sh -o /opt/mso_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
cd /opt
- chmod +x mso_install.sh
- ./mso_install.sh
+ chmod +x so_install.sh
+ ./so_install.sh
# Message Router instantiation
mrouter_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: mr_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: mr_ip_addr }}]
mrouter_vm:
type: OS::Nova::Server
@@ -630,9 +705,10 @@ resources:
__mr_ip_addr__: { get_param: mr_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __gerrit_branch__: { get_param: mr_gerrit }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -649,6 +725,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__mr_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
@@ -661,8 +738,8 @@ resources:
robot_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: robot_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: robot_ip_addr }}]
robot_vm:
type: OS::Nova::Server
@@ -686,32 +763,36 @@ resources:
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
- __network_name__: { get_attr: [oam_ecomp, name] }
+ __network_name__: { get_attr: [oam_onap, name] }
__openstack_username__: { get_param: openstack_username }
__openstack_api_key__: { get_param : openstack_api_key }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
__artifacts_version__: { get_param: artifacts_version }
__openstack_region__: { get_param: openstack_region }
__robot_ip_addr__: { get_param: robot_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: robot_docker }
+ __gerrit_branch__: { get_param: robot_branch }
__keystone_url__: { get_param: keystone_url }
__aai1_ip_addr__: { get_param: aai1_ip_addr }
__aai2_ip_addr__: { get_param: aai2_ip_addr }
__appc_ip_addr__: { get_param: appc_ip_addr }
__dcae_ip_addr__: { get_param: dcae_ip_addr }
- __mso_ip_addr__: { get_param: mso_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
__mr_ip_addr__: { get_param: mr_ip_addr }
__policy_ip_addr__: { get_param: policy_ip_addr }
__portal_ip_addr__: { get_param: portal_ip_addr }
__sdc_ip_addr__: { get_param: sdc_ip_addr }
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
- __vm_image_name__: { get_param: ubuntu_1404_image}
- __vm_flavor__: { get_param: flavor_medium}
+ __vm_image_name__: { get_param: ubuntu_1404_image }
+ __vm_flavor__: { get_param: flavor_medium }
+ __robot_repo__: { get_param: robot_repo }
template: |
#!/bin/bash
@@ -724,6 +805,7 @@ resources:
echo "__network_name__" > /opt/config/network.txt
echo "__openstack_username__" > /opt/config/openstack_username.txt
echo "__openstack_api_key__" > /opt/config/openstack_password.txt
+ echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
echo "__openstack_region__" > /opt/config/region.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__robot_ip_addr__" > /opt/config/local_ip_addr.txt
@@ -736,17 +818,20 @@ resources:
echo "__aai2_ip_addr__" > /opt/config/aai2_ip_addr.txt
echo "__appc_ip_addr__" > /opt/config/appc_ip_addr.txt
echo "__dcae_ip_addr__" > /opt/config/dcae_ip_addr.txt
- echo "__mso_ip_addr__" > /opt/config/mso_ip_addr.txt
+ echo "__so_ip_addr__" > /opt/config/so_ip_addr.txt
echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__policy_ip_addr__" > /opt/config/policy_ip_addr.txt
echo "__portal_ip_addr__" > /opt/config/portal_ip_addr.txt
echo "__sdc_ip_addr__" > /opt/config/sdc_ip_addr.txt
echo "__sdnc_ip_addr__" > /opt/config/sdnc_ip_addr.txt
echo "__vid_ip_addr__" > /opt/config/vid_ip_addr.txt
+ echo "__clamp_ip_addr__" > /opt/config/clamp_ip_addr.txt
+ echo "__openo_ip_addr__" > /opt/config/openo_ip_addr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
echo "__vm_image_name__" > /opt/config/vm_image_name.txt
echo "__vm_flavor__" > /opt/config/vm_flavor.txt
+ echo "__robot_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
@@ -759,8 +844,8 @@ resources:
vid_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: vid_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: vid_ip_addr }}]
vid_vm:
type: OS::Nova::Server
@@ -788,10 +873,11 @@ resources:
__vid_ip_addr__: { get_param: vid_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: vid_docker }
+ __gerrit_branch__: { get_param: vid_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __vid_repo__: { get_param: vid_repo }
template: |
#!/bin/bash
@@ -809,6 +895,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__vid_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
@@ -821,8 +908,8 @@ resources:
sdnc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdnc_ip_addr }}]
sdnc_vm:
type: OS::Nova::Server
@@ -850,10 +937,12 @@ resources:
__sdnc_ip_addr__: { get_param: sdnc_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdnc_docker }
+ __gerrit_branch__: { get_param: sdnc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __sdnc_repo__: { get_param: sdnc_repo }
template: |
#!/bin/bash
@@ -869,8 +958,10 @@ resources:
echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__sdnc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
@@ -883,8 +974,8 @@ resources:
sdc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: sdc_ip_addr }}]
sdc_volume_data:
type: OS::Cinder::Volume
@@ -923,10 +1014,11 @@ resources:
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
__mr_ip_addr__: { get_param: mr_ip_addr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdc_docker }
+ __gerrit_branch__: { get_param: sdc_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __sdc_repo__: { get_param: sdc_repo }
template: |
#!/bin/bash
@@ -946,20 +1038,21 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__sdc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/asdc_install.sh -o /opt/asdc_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
cd /opt
- chmod +x asdc_install.sh
- ./asdc_install.sh
+ chmod +x sdc_install.sh
+ ./sdc_install.sh
# PORTAL instantiation
portal_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: portal_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: portal_ip_addr }}]
portal_vm:
type: OS::Nova::Server
@@ -987,10 +1080,11 @@ resources:
__portal_ip_addr__: { get_param: portal_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: portal_docker }
+ __gerrit_branch__: { get_param: portal_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __portal_repo__: { get_param: portal_repo }
template: |
#!/bin/bash
@@ -1008,6 +1102,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__portal_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
@@ -1020,8 +1115,8 @@ resources:
dcae_c_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: dcae_ip_addr }}]
dcae_c_vm:
type: OS::Nova::Server
@@ -1053,7 +1148,7 @@ resources:
__dcae_state__: { get_param: dcae_state }
__artifacts_version__: { get_param: artifacts_version }
__tenant_id__: { get_param: openstack_tenant_id }
- __openstack_private_network_name__: { get_attr: [oam_ecomp, name] }
+ __openstack_private_network_name__: { get_attr: [oam_onap, name] }
__openstack_user__: { get_param: openstack_username }
__openstack_password__: { get_param: openstack_api_key }
__openstack_auth_method__: { get_param: openstack_auth_method }
@@ -1064,8 +1159,8 @@ resources:
__openstack_region__: { get_param: openstack_region }
__horizon_url__: { get_param: horizon_url }
__keystone_url__: { get_param: keystone_url }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: dcae_docker }
+ __gerrit_branch__: { get_param: dcae_branch }
__dcae_code_version__: { get_param: dcae_code_version }
__cloud_env__: { get_param: cloud_env }
__public_net_id__: { get_param: public_net_id }
@@ -1083,6 +1178,8 @@ resources:
__flavor_medium__: { get_param: flavor_medium }
__flavor_large__: { get_param: flavor_large }
__flavor_xlarge__: { get_param: flavor_xlarge }
+ __dcae_repo__: { get_param: dcae_repo }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -1130,6 +1227,8 @@ resources:
echo "__flavor_medium__" > /opt/config/flavor_medium.txt
echo "__flavor_large__" > /opt/config/flavor_large.txt
echo "__flavor_xlarge__" > /opt/config/flavor_xlarge.txt
+ echo "__dcae_repo__" > /opt/config/remote_repo.txt
+ echo "__mr_repo__" > /opt/config/mr_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh
@@ -1142,8 +1241,8 @@ resources:
policy_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: policy_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: policy_ip_addr }}]
policy_vm:
type: OS::Nova::Server
@@ -1171,10 +1270,11 @@ resources:
__policy_ip_addr__: { get_param: policy_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: policy_docker }
+ __gerrit_branch__: { get_param: policy_branch }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __policy_repo__: { get_param: policy_repo }
template: |
#!/bin/bash
@@ -1192,6 +1292,7 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__policy_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
@@ -1204,8 +1305,8 @@ resources:
appc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": { get_param: appc_ip_addr }}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: appc_ip_addr }}]
appc_vm:
type: OS::Nova::Server
@@ -1234,10 +1335,12 @@ resources:
__appc_ip_addr__: { get_param: appc_ip_addr }
__dns_ip_addr__: { get_param: dns_ip_addr }
__oam_network_cidr__: { get_param: oam_network_cidr }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: appc_docker }
+ __gerrit_branch__: { get_param: appc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
__external_dns__: { get_param: external_dns }
+ __appc_repo__: { get_param: appc_repo }
template: |
#!/bin/bash
@@ -1254,11 +1357,189 @@ resources:
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__appc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
cd /opt
chmod +x appc_install.sh
- ./appc_install.sh \ No newline at end of file
+ ./appc_install.sh
+
+
+ # CLAMP instantiation
+ clamp_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: clamp_ip_addr }}]
+
+ clamp_vm:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu_1604_image }
+ flavor: { get_param: flavor_medium }
+ name:
+ str_replace:
+ template: base-clamp
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - network: { get_param: public_net_id }
+ - port: { get_resource: clamp_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __openstack_username__: { get_param: openstack_username }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
+ __openstack_api_key__: { get_param: openstack_api_key }
+ __openstack_region__: { get_param: openstack_region }
+ __keystone_url__: { get_param: keystone_url }
+ __dmaap_topic__: { get_param: dmaap_topic }
+ __artifacts_version__: { get_param: artifacts_version }
+ __dns_ip_addr__: { get_param: dns_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __oam_network_cidr__: { get_param: oam_network_cidr }
+ __docker_version__: { get_param: clamp_docker }
+ __gerrit_branch__: { get_param: clamp_branch }
+ __cloud_env__: { get_param: cloud_env }
+ __external_dns__: { get_param: external_dns }
+ __clamp_repo__: { get_param: clamp_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "__clamp_ip_addr__" > /opt/config/local_ip_addr.txt
+ echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
+ echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
+ echo "__openstack_username__" > /opt/config/openstack_username.txt
+ echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
+ echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
+ echo "__openstack_region__" > /opt/config/openstack_region.txt
+ echo "__keystone_url__" > /opt/config/keystone.txt
+ echo "__docker_version__" > /opt/config/docker_version.txt
+ echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__clamp_repo__" > /opt/config/remote_repo.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
+ cd /opt
+ chmod +x clamp_install.sh
+ ./clamp_install.sh
+
+
+ # OPEN-O VM instantiation
+ openo_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": { get_param: openo_ip_addr }}]
+
+ openo_vm:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu_1604_image }
+ flavor: { get_param: flavor_xxlarge }
+ name:
+ str_replace:
+ template: base-openo-server
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - network: { get_param: public_net_id }
+ - port: { get_resource: openo_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __artifacts_version__: { get_param: artifacts_version }
+ __dns_ip_addr__: { get_param: dns_ip_addr }
+ __oam_network_cidr__: { get_param: oam_network_cidr }
+ __aai1_ip_addr__: { get_param: aai1_ip_addr }
+ __aai2_ip_addr__: { get_param: aai2_ip_addr }
+ __appc_ip_addr__: { get_param: appc_ip_addr }
+ __dcae_ip_addr__: { get_param: dcae_ip_addr }
+ __dcae_coll_ip_addr__: { get_param: dcae_coll_ip_addr }
+ __so_ip_addr__: { get_param: so_ip_addr }
+ __mr_ip_addr__: { get_param: mr_ip_addr }
+ __policy_ip_addr__: { get_param: policy_ip_addr }
+ __portal_ip_addr__: { get_param: portal_ip_addr }
+ __robot_ip_addr__: { get_param: robot_ip_addr }
+ __sdc_ip_addr__: { get_param: sdc_ip_addr }
+ __sdnc_ip_addr__: { get_param: sdnc_ip_addr }
+ __vid_ip_addr__: { get_param: vid_ip_addr }
+ __clamp_ip_addr__: { get_param: clamp_ip_addr }
+ __openo_ip_addr__: { get_param: openo_ip_addr }
+ __cloud_env__: { get_param: cloud_env }
+ __external_dns__: { get_param: external_dns }
+ __vnfsdk_branch__: { get_param: vnfsdk_branch }
+ __msb_docker__: { get_param: msb_docker }
+ __mvim_docker__: { get_param: mvim_docker }
+ __vfc_docker__: { get_param: vfc_docker }
+ __uui_docker__: { get_param: uui_docker }
+ __vnfsdk_repo__: { get_param: vnfsdk_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "__oam_network_cidr__" > /opt/config/oam_network_cidr.txt
+ echo "__dns_ip_addr__" > /opt/config/dns_ip_addr.txt
+ echo "__external_dns__" > /opt/config/external_dns.txt
+ echo "__vnfsdk_branch__" > /opt/config/vnfsdk_branch.txt
+ echo "__msb_docker__" > /opt/config/msb_docker.txt
+ echo "__mvim_docker__" > /opt/config/mvim_docker.txt
+ echo "__vfc_docker__" > /opt/config/vfc_docker.txt
+ echo "__uui_docker__" > /opt/config/uui_docker.txt
+ echo "__vnfsdk_repo__" > /opt/config/vnfsdk_repo.txt
+
+ # Create env file with the IP address of all ONAP components
+ echo "export AAI_IP1=__aai1_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export AAI_IP2=__aai2_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export APPC_IP=__appc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export DCAE_IP=__dcae_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export DCAE_COLL_IP=__dcae_coll_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SO_IP=__so_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export MR_IP=__mr_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export POLICY_IP=__policy_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export PORTAL_IP=__portal_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export ROBOT_IP=__robot_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SDC_IP=__sdc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export SDNC_IP=__sdnc_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export VID_IP=__vid_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export CLAMP_IP=__clamp_ip_addr__" >> /opt/config/onap_ips.txt
+ echo "export OPENO_IP=__openo_ip_addr__" >> /opt/config/onap_ips.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/openo_install.sh -o /opt/openo_install.sh
+ cd /opt
+ chmod +x openo_install.sh
+ ./openo_install.sh
diff --git a/heat/ONAP/onap_rackspace.env b/heat/ONAP/onap_rackspace.env
index 422dce3b..d92b3c71 100644
--- a/heat/ONAP/onap_rackspace.env
+++ b/heat/ONAP/onap_rackspace.env
@@ -32,10 +32,6 @@ parameters:
artifacts_version: 1.1.0-SNAPSHOT
- docker_version: 1.1-STAGING-latest
-
- gerrit_branch: master
-
cloud_env: rackspace
@@ -59,10 +55,51 @@ parameters:
# IP Address of DCAE VMs
-
dcae_ip_addr: 10.0.4.1
dcae_coll_ip_addr: 10.0.4.102
dcae_db_ip_addr: 10.0.4.101
dcae_hdp1_ip_addr: 10.0.4.103
dcae_hdp2_ip_addr: 10.0.4.104
- dcae_hdp3_ip_addr: 10.0.4.105 \ No newline at end of file
+ dcae_hdp3_ip_addr: 10.0.4.105
+
+ # ONAP repositories, docker versions, and Gerrit branches
+
+ aai_repo: http://gerrit.onap.org/r/aai/test-config
+ appc_repo: http://gerrit.onap.org/r/appc/deployment.git
+ dcae_repo: http://gerrit.onap.org/r/dcae/demo/startup/controller.git
+ mr_repo: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git
+ so_repo: http://gerrit.onap.org/r/so/docker-config.git
+ policy_repo: http://gerrit.onap.org/r/policy/docker.git
+ portal_repo: http://gerrit.onap.org/r/portal.git
+ robot_repo: http://gerrit.onap.org/r/testsuite/properties.git
+ sdc_repo: http://gerrit.onap.org/r/sdc.git
+ sdnc_repo: http://gerrit.onap.org/r/sdnc/oam.git
+ vid_repo: http://gerrit.onap.org/r/vid.git
+ clamp_repo: http://gerrit.onap.org/r/clamp.git
+
+ aai_branch: master
+ appc_branch: master
+ so_branch: master
+ mr_branch: master
+ dcae_branch: master
+ policy_branch: master
+ portal_branch: master
+ robot_branch: master
+ sdc_branch: master
+ sdnc_branch: master
+ vid_branch: master
+ clamp_branch: master
+
+ aai_docker: 1.1-STAGING-latest
+ appc_docker: 1.1-STAGING-latest
+ so_docker: 1.1-STAGING-latest
+ mr_docker: 1.1-STAGING-latest
+ dcae_docker: 1.1-STAGING-latest
+ policy_docker: 1.1-STAGING-latest
+ portal_docker: 1.1-STAGING-latest
+ robot_docker: 1.1-STAGING-latest
+ sdc_docker: 1.1-STAGING-latest
+ sdnc_docker: 1.2-STAGING-latest
+ vid_docker: 1.1-STAGING-latest
+ clamp_docker: 1.1-STAGING-latest
+ dgbuilder_docker: 0.1-STAGING-latest
diff --git a/heat/ONAP/onap_rackspace.yaml b/heat/ONAP/onap_rackspace.yaml
index f62043a2..27652a4b 100644
--- a/heat/ONAP/onap_rackspace.yaml
+++ b/heat/ONAP/onap_rackspace.yaml
@@ -89,14 +89,6 @@ parameters:
type: string
description: Artifacts version of ONAP components
- docker_version:
- type: string
- description: Docker version of ONAP docker images
-
- gerrit_branch:
- type: string
- description: Gerrit branch where to download the code from
-
cloud_env:
type: string
description: Cloud Provider Name
@@ -105,7 +97,7 @@ parameters:
# Parameters for DCAE instantiation
dcae_base_environment:
type: string
- description: DCAE Base Environment configuration (RACKSPACE/2-NIC/...)
+ description: DCAE Base Environment configuration (for this template, only RACKSPACE is supported)
dcae_zone:
type: string
@@ -159,6 +151,84 @@ parameters:
type: string
description: Hadoop VM3 IP Address
+ # ONAP repositories, docker versions, and Gerrit branches
+ aai_repo:
+ type: string
+ appc_repo:
+ type: string
+ dcae_repo:
+ type: string
+ mr_repo:
+ type: string
+ so_repo:
+ type: string
+ policy_repo:
+ type: string
+ portal_repo:
+ type: string
+ robot_repo:
+ type: string
+ sdc_repo:
+ type: string
+ sdnc_repo:
+ type: string
+ vid_repo:
+ type: string
+ clamp_repo:
+ type: string
+
+ aai_docker:
+ type: string
+ appc_docker:
+ type: string
+ so_docker:
+ type: string
+ mr_docker:
+ type: string
+ dcae_docker:
+ type: string
+ policy_docker:
+ type: string
+ portal_docker:
+ type: string
+ robot_docker:
+ type: string
+ sdc_docker:
+ type: string
+ sdnc_docker:
+ type: string
+ vid_docker:
+ type: string
+ clamp_docker:
+ type: string
+ dgbuilder_docker:
+ type: string
+
+ aai_branch:
+ type: string
+ appc_branch:
+ type: string
+ so_branch:
+ type: string
+ mr_branch:
+ type: string
+ dcae_branch:
+ type: string
+ policy_branch:
+ type: string
+ portal_branch:
+ type: string
+ robot_branch:
+ type: string
+ sdc_branch:
+ type: string
+ sdnc_branch:
+ type: string
+ vid_branch:
+ type: string
+ clamp_branch:
+ type: string
+
resources:
random-str:
@@ -181,24 +251,24 @@ resources:
# ONAP management private network
- oam_ecomp:
+ oam_onap:
type: OS::Neutron::Net
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- oam_ecomp_subnet:
+ oam_onap_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
- template: oam_ecomp_rand
+ template: oam_onap_rand
params:
rand: { get_resource: random-str }
- network_id: { get_resource: oam_ecomp }
+ network_id: { get_resource: oam_onap }
cidr: 10.0.0.0/16
@@ -206,8 +276,8 @@ resources:
dns_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.0.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.0.1}]
dns_vm:
type: OS::Nova::Server
@@ -250,8 +320,8 @@ resources:
aai1_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.1.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.1.1}]
aai1_volume:
type: OS::Cinder::Volume
@@ -288,9 +358,10 @@ resources:
__nexus_password__: { get_param: nexus_password }
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: aai_docker }
+ __gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -307,19 +378,20 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "aai_instance_1" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
aai2_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.1.2}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.1.2}]
aai2_volume:
type: OS::Cinder::Volume
@@ -355,9 +427,10 @@ resources:
__nexus_password__: { get_param: nexus_password }
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: aai_docker }
+ __gerrit_branch__: { get_param: aai_branch }
__cloud_env__: { get_param: cloud_env }
+ __aai_repo__: { get_param: aai_repo }
template: |
#!/bin/bash
@@ -374,35 +447,36 @@ resources:
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "aai_instance_2" > /opt/config/aai_instance.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__aai_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai2_install.sh -o /opt/aai2_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/aai_install.sh -o /opt/aai_install.sh
cd /opt
- chmod +x aai2_install.sh
- ./aai2_install.sh
+ chmod +x aai_install.sh
+ ./aai_install.sh
- # MSO instantiation
- mso_private_port:
+ # SO instantiation
+ so_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.5.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.5.1}]
- mso_vm:
+ so_vm:
type: OS::Nova::Server
properties:
image: Ubuntu 16.04 LTS (Xenial Xerus) (PVHVM)
flavor: 4 GB General Purpose v1
name:
str_replace:
- template: base-mso
+ template: base-so
params:
base: { get_param: vm_base_name }
key_name: { get_resource: vm_key }
networks:
- network: { get_param: public_net_id }
- - port: { get_resource: mso_private_port }
+ - port: { get_resource: so_private_port }
user_data_format: RAW
user_data:
str_replace:
@@ -416,9 +490,10 @@ resources:
__openstack_api_key__: { get_param: openstack_api_key }
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: so_docker }
+ __gerrit_branch__: { get_param: so_branch }
__cloud_env__: { get_param: cloud_env }
+ __so_repo__: { get_param: so_repo }
template: |
#!/bin/bash
@@ -437,20 +512,21 @@ resources:
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__so_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mso_install.sh -o /opt/mso_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/so_install.sh -o /opt/so_install.sh
cd /opt
- chmod +x mso_install.sh
- ./mso_install.sh
+ chmod +x so_install.sh
+ ./so_install.sh
# Message Router instantiation
mrouter_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.11.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.11.1}]
mrouter_vm:
type: OS::Nova::Server
@@ -475,8 +551,9 @@ resources:
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __gerrit_branch__: { get_param: mr_branch }
__cloud_env__: { get_param: cloud_env }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -490,6 +567,7 @@ resources:
echo "10.0.0.1" > /opt/config/dns_ip_addr.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__mr_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/mr_install.sh -o /opt/mr_install.sh
@@ -502,8 +580,8 @@ resources:
robot_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.10.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.10.1}]
robot_vm:
type: OS::Nova::Server
@@ -527,15 +605,17 @@ resources:
__nexus_docker_repo__: { get_param: nexus_docker_repo }
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
- __network_name__: { get_attr: [oam_ecomp, name] }
+ __network_name__: { get_attr: [oam_onap, name] }
__openstack_username__: { get_param: openstack_username }
__openstack_api_key__: { get_param : openstack_api_key }
__openstack_password__: { get_param: openstack_password }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
__artifacts_version__: { get_param: artifacts_version }
__openstack_region__: { get_param: openstack_region }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: robot_docker }
+ __gerrit_branch__: { get_param: robot_branch }
__cloud_env__: { get_param: cloud_env }
+ __robot_repo__: { get_param: robot_repo }
template: |
#!/bin/bash
@@ -549,6 +629,7 @@ resources:
echo "__openstack_username__" > /opt/config/openstack_username.txt
echo "__openstack_password__" > /opt/config/openstack_password.txt
echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
+ echo "__openstack_tenant_id__" > /opt/config/openstack_tenant_id.txt
echo "__openstack_region__" > /opt/config/region.txt
echo "__artifacts_version__" > /opt/config/artifacts_version.txt
echo "__docker_version__" > /opt/config/docker_version.txt
@@ -559,16 +640,18 @@ resources:
echo "10.0.1.2" > /opt/config/aai2_ip_addr.txt
echo "10.0.2.1" > /opt/config/appc_ip_addr.txt
echo "10.0.4.1" > /opt/config/dcae_ip_addr.txt
- echo "10.0.5.1" > /opt/config/mso_ip_addr.txt
+ echo "10.0.5.1" > /opt/config/so_ip_addr.txt
echo "10.0.11.1" > /opt/config/mr_ip_addr.txt
echo "10.0.6.1" > /opt/config/policy_ip_addr.txt
echo "10.0.9.1" > /opt/config/portal_ip_addr.txt
echo "10.0.3.1" > /opt/config/sdc_ip_addr.txt
echo "10.0.7.1" > /opt/config/sdnc_ip_addr.txt
echo "10.0.8.1" > /opt/config/vid_ip_addr.txt
+ echo "10.0.12.1" > /opt/config/clamp_ip_addr.txt
echo "Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)" > /opt/config/vm_image_name.txt
echo "4 GB General Purpose v1" > /opt/config/vm_flavor.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__robot_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/robot_install.sh -o /opt/robot_install.sh
@@ -581,8 +664,8 @@ resources:
vid_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.8.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.8.1}]
vid_vm:
type: OS::Nova::Server
@@ -607,9 +690,10 @@ resources:
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: vid_docker }
+ __gerrit_branch__: { get_param: vid_branch }
__cloud_env__: { get_param: cloud_env }
+ __vid_repo__: { get_param: vid_repo }
template: |
#!/bin/bash
@@ -624,6 +708,7 @@ resources:
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__vid_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/vid_install.sh -o /opt/vid_install.sh
@@ -636,8 +721,8 @@ resources:
sdnc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.7.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.7.1}]
sdnc_vm:
type: OS::Nova::Server
@@ -662,9 +747,11 @@ resources:
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdnc_docker }
+ __gerrit_branch__: { get_param: sdnc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
+ __sdnc_repo__: { get_param: sdnc_repo }
template: |
#!/bin/bash
@@ -678,7 +765,9 @@ resources:
echo "10.0.0.1" > /opt/config/dns_ip_addr.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__sdnc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdnc_install.sh -o /opt/sdnc_install.sh
@@ -691,8 +780,8 @@ resources:
sdc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.3.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.3.1}]
sdc_volume_local:
type: OS::Cinder::Volume
@@ -742,9 +831,10 @@ resources:
__nexus_password__: { get_param: nexus_password }
__env_name__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: sdc_docker }
+ __gerrit_branch__: { get_param: sdc_branch }
__cloud_env__: { get_param: cloud_env }
+ __sdc_repo__: { get_param: sdc_repo }
template: |
#!/bin/bash
@@ -761,20 +851,21 @@ resources:
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__sdc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
- curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/asdc_install.sh -o /opt/asdc_install.sh
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/sdc_install.sh -o /opt/sdc_install.sh
cd /opt
- chmod +x asdc_install.sh
- ./asdc_install.sh
+ chmod +x sdc_install.sh
+ ./sdc_install.sh
# PORTAL instantiation
portal_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.9.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.9.1}]
portal_volume:
type: OS::Cinder::Volume
@@ -809,9 +900,10 @@ resources:
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: portal_docker }
+ __gerrit_branch__: { get_param: portal_branch }
__cloud_env__: { get_param: cloud_env }
+ __portal_repo__: { get_param: portal_repo }
template: |
#!/bin/bash
@@ -826,6 +918,7 @@ resources:
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__portal_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/portal_install.sh -o /opt/portal_install.sh
@@ -838,8 +931,8 @@ resources:
dcae_c_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.4.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.4.1}]
dcae_c_vm:
type: OS::Nova::Server
properties:
@@ -868,7 +961,7 @@ resources:
__dcae_state__: { get_param: dcae_state }
__artifacts_version__: { get_param: artifacts_version }
__tenant_id__: { get_param: openstack_tenant_id }
- __openstack_private_network_name__: { get_attr: [oam_ecomp, name] }
+ __openstack_private_network_name__: { get_attr: [oam_onap, name] }
__openstack_user__: { get_param: openstack_username }
__openstack_password__: { get_param: openstack_api_key }
__openstack_auth_method__: { get_param: openstack_auth_method }
@@ -877,8 +970,8 @@ resources:
__pub_key__: { get_param: pub_key }
__nexus_repo_root__: { get_param: nexus_repo_root }
__openstack_region__: { get_param: openstack_region }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: dcae_docker }
+ __gerrit_branch__: { get_param: dcae_branch }
__cloud_env__: { get_param: cloud_env }
__dcae_code_version__: { get_param: dcae_code_version }
__public_net_id__: { get_param: public_net_id }
@@ -889,6 +982,8 @@ resources:
__dcae_hdp1_ip_addr__: { get_param: dcae_hdp1_ip_addr }
__dcae_hdp2_ip_addr__: { get_param: dcae_hdp2_ip_addr }
__dcae_hdp3_ip_addr__: { get_param: dcae_hdp3_ip_addr }
+ __dcae_repo__: { get_param: dcae_repo }
+ __mr_repo__: { get_param: mr_repo }
template: |
#!/bin/bash
@@ -928,6 +1023,8 @@ resources:
echo "__dcae_hdp1_ip_addr__" > /opt/config/dcae_hdp1_ip_addr.txt
echo "__dcae_hdp2_ip_addr__" > /opt/config/dcae_hdp2_ip_addr.txt
echo "__dcae_hdp3_ip_addr__" > /opt/config/dcae_hdp3_ip_addr.txt
+ echo "__dcae_repo__" > /opt/config/remote_repo.txt
+ echo "__mr_repo__" > /opt/config/mr_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/dcae_install.sh -o /opt/dcae_install.sh
@@ -940,8 +1037,8 @@ resources:
policy_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.6.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.6.1}]
policy_volume:
type: OS::Cinder::Volume
@@ -976,9 +1073,10 @@ resources:
__nexus_username__: { get_param: nexus_username }
__nexus_password__: { get_param: nexus_password }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: policy_docker }
+ __gerrit_branch__: { get_param: policy_branch }
__cloud_env__: { get_param: cloud_env }
+ __policy_repo__: { get_param: policy_repo }
template: |
#!/bin/bash
@@ -993,6 +1091,7 @@ resources:
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__policy_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/policy_install.sh -o /opt/policy_install.sh
@@ -1005,8 +1104,8 @@ resources:
appc_private_port:
type: OS::Neutron::Port
properties:
- network: { get_resource: oam_ecomp }
- fixed_ips: [{"subnet": { get_resource: oam_ecomp_subnet }, "ip_address": 10.0.2.1}]
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.2.1}]
appc_vm:
type: OS::Nova::Server
@@ -1032,9 +1131,11 @@ resources:
__nexus_password__: { get_param: nexus_password }
__dmaap_topic__: { get_param: dmaap_topic }
__artifacts_version__: { get_param: artifacts_version }
- __docker_version__: { get_param: docker_version }
- __gerrit_branch__: { get_param: gerrit_branch }
+ __docker_version__: { get_param: appc_docker }
+ __gerrit_branch__: { get_param: appc_branch }
+ __dgbuilder_docker__: { get_param: dgbuilder_docker }
__cloud_env__: { get_param: cloud_env }
+ __appc_repo__: { get_param: appc_repo }
template: |
#!/bin/bash
@@ -1049,10 +1150,77 @@ resources:
echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
echo "__docker_version__" > /opt/config/docker_version.txt
echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__dgbuilder_docker__" > /opt/config/dgbuilder_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__appc_repo__" > /opt/config/remote_repo.txt
# Download and run install script
curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/appc_install.sh -o /opt/appc_install.sh
cd /opt
chmod +x appc_install.sh
- ./appc_install.sh \ No newline at end of file
+ ./appc_install.sh
+
+
+ # CLAMP instantiation
+ clamp_private_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: oam_onap }
+ fixed_ips: [{"subnet": { get_resource: oam_onap_subnet }, "ip_address": 10.0.12.1}]
+
+ clamp_vm:
+ type: OS::Nova::Server
+ properties:
+ image: Ubuntu 16.04 LTS (Xenial Xerus) (PVHVM)
+ flavor: 4 GB General Purpose v1
+ name:
+ str_replace:
+ template: base-clamp
+ params:
+ base: { get_param: vm_base_name }
+ key_name: { get_resource: vm_key }
+ networks:
+ - network: { get_param: public_net_id }
+ - port: { get_resource: clamp_private_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __nexus_repo__: { get_param: nexus_repo }
+ __nexus_docker_repo__: { get_param: nexus_docker_repo }
+ __nexus_username__: { get_param: nexus_username }
+ __nexus_password__: { get_param: nexus_password }
+ __openstack_username__: { get_param: openstack_username }
+ __openstack_tenant_id__: { get_param: openstack_tenant_id }
+ __openstack_api_key__: { get_param: openstack_api_key }
+ __dmaap_topic__: { get_param: dmaap_topic }
+ __artifacts_version__: { get_param: artifacts_version }
+ __docker_version__: { get_param: clamp_docker }
+ __gerrit_branch__: { get_param: clamp_branch }
+ __cloud_env__: { get_param: cloud_env }
+ __clamp_repo__: { get_param: clamp_repo }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir -p /opt/config
+ echo "__nexus_repo__" > /opt/config/nexus_repo.txt
+ echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt
+ echo "__nexus_username__" > /opt/config/nexus_username.txt
+ echo "__nexus_password__" > /opt/config/nexus_password.txt
+ echo "__artifacts_version__" > /opt/config/artifacts_version.txt
+ echo "10.0.0.1" > /opt/config/dns_ip_addr.txt
+ echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt
+ echo "__openstack_username__" > /opt/config/openstack_username.txt
+ echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt
+ echo "__openstack_api_key__" > /opt/config/openstack_api_key.txt
+ echo "__docker_version__" > /opt/config/docker_version.txt
+ echo "__gerrit_branch__" > /opt/config/gerrit_branch.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__clamp_repo__" > /opt/config/remote_repo.txt
+
+ # Download and run install script
+ curl -k __nexus_repo__/org.onap.demo/boot/__artifacts_version__/clamp_install.sh -o /opt/clamp_install.sh
+ cd /opt
+ chmod +x clamp_install.sh
+ ./clamp_install.sh
diff --git a/heat/vCPE/infra/base_vcpe_infra_rackspace.env b/heat/vCPE/infra/base_vcpe_infra_rackspace.env
index 4de60903..689d1cf0 100644
--- a/heat/vCPE/infra/base_vcpe_infra_rackspace.env
+++ b/heat/vCPE/infra/base_vcpe_infra_rackspace.env
@@ -17,8 +17,9 @@ parameters:
vdns_private_ip_1: 10.0.101.3
vweb_private_ip_0: 10.2.0.10
vweb_private_ip_1: 10.0.101.40
+ mr_ip_addr: 10.0.11.1
vaaa_name_0: zdcpe1cpe01aaa01
- vdns_name_0: zdcpe11cpe01dns01
+ vdns_name_0: zdcpe1cpe01dns01
vdhcp_name_0: zdcpe1cpe01dhcp01
vweb_name_0: zdcpe1cpe01web01
vnf_id: vCPE_Infrastructure_demo_app
diff --git a/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml b/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml
index 6b9160bc..c0a18756 100644
--- a/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml
+++ b/heat/vCPE/infra/base_vcpe_infra_rackspace.yaml
@@ -76,7 +76,7 @@ parameters:
vaaa_private_ip_0:
type: string
label: vAAA private IP address towards the CPE_SIGNAL private network
- description: Private IP address that is assigned to the vAAA to communicate with the vCPE components
+ description: Private IP address that is assigned to the vAAA to communicate with the vCPE components
vaaa_private_ip_1:
type: string
label: vAAA private IP address towards the ONAP management network
@@ -137,6 +137,10 @@ parameters:
type: string
label: DCAE collector port
description: Port of the DCAE collector
+ mr_ip_addr:
+ type: string
+ label: Message Router IP address
+ description: IP address of the Message Router that for vDHCP configuration
key_name:
type: string
label: Key pair name
@@ -370,9 +374,10 @@ resources:
str_replace:
params:
__oam_ipaddr__ : { get_param: vdhcp_private_ip_1 }
- __cpe_signal_ipaddr__: { get_param: vdhcp_private_ip_0 }
- __oam_cidr__: { get_param: onap_private_net_cidr }
- __cpe_signal_net_cidr__: { get_param: cpe_signal_net_cidr }
+ __cpe_signal_ipaddr__ : { get_param: vdhcp_private_ip_0 }
+ __oam_cidr__ : { get_param: onap_private_net_cidr }
+ __cpe_signal_net_cidr__ : { get_param: cpe_signal_net_cidr }
+ __mr_ip_addr__ : { get_param: mr_ip_addr }
__repo_url_blob__ : { get_param: repo_url_blob }
__repo_url_artifacts__ : { get_param: repo_url_artifacts }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
@@ -387,6 +392,7 @@ resources:
echo "__cpe_signal_ipaddr__" > /opt/config/cpe_signal_ipaddr.txt
echo "__oam_cidr__" > /opt/config/oam_cidr.txt
echo "__cpe_signal_net_cidr__" > /opt/config/cpe_signal_net_cidr.txt
+ echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt
echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
diff --git a/heat/vCPE/vbng/base_vcpe_vbng_rackspace.env b/heat/vCPE/vbng/base_vcpe_vbng_rackspace.env
index e50d4834..cc391c49 100644
--- a/heat/vCPE/vbng/base_vcpe_vbng_rackspace.env
+++ b/heat/vCPE/vbng/base_vcpe_vbng_rackspace.env
@@ -13,7 +13,7 @@
cpe_signal_private_net_cidr: 10.4.0.0/24
vbng_private_ip_0: 10.3.0.1
vbng_private_ip_1: 10.0.101.10
- vbng_private_ip_2: 10.4.0.3
+ vbng_private_ip_2: 10.4.0.3
vbng_private_ip_3: 10.1.0.10
vbng_name_0: zdcpe1cpe01bng01
vnf_id: vCPE_Infrastructure_Metro_vBNG_demo_app
@@ -27,3 +27,6 @@
key_name: vbng_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
cloud_env: rackspace
+ vpp_source_repo_url: https://gerrit.fd.io/r/vpp
+ vpp_source_repo_branch: stable/1704
+ vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch
diff --git a/heat/vCPE/vbng/base_vcpe_vbng_rackspace.yaml b/heat/vCPE/vbng/base_vcpe_vbng_rackspace.yaml
index d5c0eed8..8a49e171 100644
--- a/heat/vCPE/vbng/base_vcpe_vbng_rackspace.yaml
+++ b/heat/vCPE/vbng/base_vcpe_vbng_rackspace.yaml
@@ -145,6 +145,18 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ vpp_source_repo_url:
+ type: string
+ label: VPP Source Git Repo
+ description: URL for VPP source codes
+ vpp_source_repo_branch:
+ type: string
+ label: VPP Source Git Branch
+ description: Git Branch for the VPP source codes
+ vpp_patch_url:
+ type: string
+ label: VPP Patch URL
+ description: URL for VPP patch for vBNG
#############
# #
@@ -240,6 +252,9 @@ resources:
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__cloud_env__ : { get_param: cloud_env }
+ __vpp_source_repo_url__ : { get_param: vpp_source_repo_url }
+ __vpp_source_repo_branch__ : { get_param: vpp_source_repo_branch }
+ __vpp_patch_url__ : { get_param: vpp_patch_url }
template: |
#!/bin/bash
@@ -260,6 +275,9 @@ resources:
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__vpp_source_repo_url__" > /opt/config/vpp_source_repo_url.txt
+ echo "__vpp_source_repo_branch__" > /opt/config/vpp_source_repo_branch.txt
+ echo "__vpp_patch_url__" > /opt/config/vpp_patch_url.txt
# Download and run install script
curl -k __repo_url_blob__/org.onap.demo/vnfs/vcpe/__install_script_version__/v_bng_install.sh -o /opt/v_bng_install.sh
diff --git a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env
index 0d4d894e..719e7c9b 100644
--- a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env
+++ b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.env
@@ -7,8 +7,9 @@
vbrgemu_bng_private_net_cidr: 10.3.0.0/24
vbrgemu_private_net_cidr: 192.168.1.0/24
vbrgemu_private_ip_0: 10.3.0.2
- vbrgemu_private_ip_1: 192.168.1.1
- vbrgemu_name_0: zdcpe11cpe01brgemu01
+ vbrgemu_private_ip_1: 192.168.1.1
+ sdnc_ip: 10.0.7.1
+ vbrgemu_name_0: zdcpe1cpe01brgemu01
vnf_id: vCPE_Infrastructure_BGREMU_demo_app
vf_module_id: vCPE_Customer_BRGEMU
repo_url_blob: https://nexus.onap.org/content/sites/raw
@@ -18,3 +19,8 @@
key_name: vbrgemu_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
cloud_env: rackspace
+ vpp_source_repo_url: https://gerrit.fd.io/r/vpp
+ vpp_source_repo_branch: stable/1704
+ hc2vpp_source_repo_url: https://gerrit.fd.io/r/hc2vpp
+ hc2vpp_source_repo_branch: stable/1704
+ vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch
diff --git a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml
index 6f926eb5..a6f42ba2 100644
--- a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml
+++ b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu_rackspace.yaml
@@ -111,6 +111,26 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ vpp_source_repo_url:
+ type: string
+ label: VPP Source Git Repo
+ description: URL for VPP source codes
+ vpp_source_repo_branch:
+ type: string
+ label: VPP Source Git Branch
+ description: Git Branch for the VPP source codes
+ hc2vpp_source_repo_url:
+ type: string
+ label: Honeycomb Source Git Repo
+ description: URL for Honeycomb source codes
+ hc2vpp_source_repo_branch:
+ type: string
+ label: Honeycomb Source Git Branch
+ description: Git Branch for the Honeycomb source codes
+ vpp_patch_url:
+ type: string
+ label: VPP Patch URL
+ description: URL for VPP patch for vBRG Emulator
#############
# #
@@ -187,6 +207,11 @@ resources:
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__cloud_env__ : { get_param: cloud_env }
+ __vpp_source_repo_url__ : { get_param: vpp_source_repo_url }
+ __vpp_source_repo_branch__ : { get_param: vpp_source_repo_branch }
+ __hc2vpp_source_repo_url__ : { get_param: hc2vpp_source_repo_url }
+ __hc2vpp_source_repo_branch__ : { get_param: hc2vpp_source_repo_branch }
+ __vpp_patch_url__ : { get_param: vpp_patch_url }
template: |
#!/bin/bash
@@ -200,6 +225,12 @@ resources:
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__vpp_source_repo_url__" > /opt/config/vpp_source_repo_url.txt
+ echo "__vpp_source_repo_branch__" > /opt/config/vpp_source_repo_branch.txt
+ echo "__hc2vpp_source_repo_url__" > /opt/config/hc2vpp_source_repo_url.txt
+ echo "__hc2vpp_source_repo_branch__" > /opt/config/hc2vpp_source_repo_branch.txt
+ echo "__vpp_patch_url__" > /opt/config/vpp_patch_url.txt
+ echo "__sdnc_ip__" > /opt/config/ip.txt
# Download and run install script
curl -k __repo_url_blob__/org.onap.demo/vnfs/vcpe/__install_script_version__/v_brgemu_install.sh -o /opt/v_brgemu_install.sh
diff --git a/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.env b/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.env
index 76dd86ef..de15d1b5 100644
--- a/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.env
+++ b/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.env
@@ -12,7 +12,7 @@
vgmux_private_ip_0: 10.1.0.20
vgmux_private_ip_1: 10.0.101.20
vgmux_private_ip_2: 10.5.0.20
- vgmux_name_0: zdcpe11cpe01mux01
+ vgmux_name_0: zdcpe1cpe01mux01
vnf_id: vCPE_Infrastructure_vGMUX_demo_app
vf_module_id: vCPE_Intrastructure_Metro_vGMUX
dcae_collector_ip: 10.0.4.102
@@ -24,3 +24,9 @@
key_name: vbng_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
cloud_env: rackspace
+ vpp_source_repo_url: https://gerrit.fd.io/r/vpp
+ vpp_source_repo_branch: stable/1704
+ hc2vpp_source_repo_url: https://gerrit.fd.io/r/hc2vpp
+ hc2vpp_source_repo_branch: stable/1704
+ vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
+ h2vpp_patch_url: https://gerrit.onap.org/r/#/c/11083/5/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch
diff --git a/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.yaml b/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.yaml
index b6e212a1..6cbaef11 100644
--- a/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.yaml
+++ b/heat/vCPE/vgmux/base_vcpe_vgmux_rackspace.yaml
@@ -133,6 +133,30 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ vpp_source_repo_url:
+ type: string
+ label: VPP Source Git Repo
+ description: URL for VPP source codes
+ vpp_source_repo_branch:
+ type: string
+ label: VPP Source Git Branch
+ description: Git Branch for the VPP source codes
+ hc2vpp_source_repo_url:
+ type: string
+ label: Honeycomb Source Git Repo
+ description: URL for Honeycomb source codes
+ hc2vpp_source_repo_branch:
+ type: string
+ label: Honeycomb Source Git Branch
+ description: Git Branch for the Honeycomb source codes
+ vpp_patch_url:
+ type: string
+ label: VPP Patch URL
+ description: URL for VPP patch for vG-MUX
+ hc2vpp_patch_url:
+ type: string
+ label: Honeycomb Patch URL
+ description: URL for Honeycomb patch for vG-MUX
#############
# #
@@ -230,6 +254,12 @@ resources:
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__cloud_env__ : { get_param: cloud_env }
+ __vpp_source_repo_url__ : { get_param: vpp_source_repo_url }
+ __vpp_source_repo_branch__ : { get_param: vpp_source_repo_branch }
+ __hc2vpp_source_repo_url__ : { get_param: hc2vpp_source_repo_url }
+ __hc2vpp_source_repo_branch__ : { get_param: hc2vpp_source_repo_branch }
+ __vpp_patch_url__ : { get_param: vpp_patch_url }
+ __hc2vpp_patch_url__ : { get_param: hc2vpp_patch_url }
template: |
#!/bin/bash
@@ -246,6 +276,12 @@ resources:
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__vpp_source_repo_url__" > /opt/config/vpp_source_repo_url.txt
+ echo "__vpp_source_repo_branch__" > /opt/config/vpp_source_repo_branch.txt
+ echo "__vpp_patch_url__" > /opt/config/vpp_patch_url.txt
+ echo "__hc2vpp_source_repo_url__" > /opt/config/hc2vpp_source_repo_url.txt
+ echo "__hc2vpp_source_repo_branch__" > /opt/config/hc2vpp_source_repo_branch.txt
+ echo "__hc2vpp_patch_url__" > /opt/config/hc2vpp_patch_url.txt
# Download and run install script
curl -k __repo_url_blob__/org.onap.demo/vnfs/vcpe/__install_script_version__/v_gmux_install.sh -o /opt/v_gmux_install.sh
diff --git a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env
index 33da8d73..c2a1b643 100644
--- a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env
+++ b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.env
@@ -12,7 +12,7 @@
vgw_private_ip_0: 10.5.0.21
vgw_private_ip_1: 10.0.101.30
vgw_private_ip_2: 10.2.0.2
- vgw_name_0: zdcpe11cpe01gw01
+ vgw_name_0: zdcpe1cpe01gw01
vnf_id: vCPE_Infrastructure_GW_demo_app
vf_module_id: vCPE_Customer_GW
dcae_collector_ip: 10.0.4.102
@@ -24,3 +24,7 @@
key_name: vgw_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
cloud_env: rackspace
+ vpp_source_repo_url: https://gerrit.fd.io/r/vpp
+ vpp_source_repo_branch: stable/1704
+ hc2vpp_source_repo_url: https://gerrit.fd.io/r/hc2vpp
+ hc2vpp_source_repo_branch: stable/1704
diff --git a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml
index 0621556a..d8fe4cde 100644
--- a/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml
+++ b/heat/vCPE/vgw/base_vcpe_vgw_rackspace.yaml
@@ -133,6 +133,22 @@ parameters:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
+ vpp_source_repo_url:
+ type: string
+ label: VPP Source Git Repo
+ description: URL for VPP source codes
+ vpp_source_repo_branch:
+ type: string
+ label: VPP Source Git Branch
+ description: Git Branch for the VPP source codes
+ hc2vpp_source_repo_url:
+ type: string
+ label: Honeycomb Source Git Repo
+ description: URL for Honeycomb source codes
+ hc2vpp_source_repo_branch:
+ type: string
+ label: Honeycomb Source Git Branch
+ description: Git Branch for the Honeycomb source codes
#############
# #
@@ -207,6 +223,10 @@ resources:
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__cloud_env__ : { get_param: cloud_env }
+ __vpp_source_repo_url__ : { get_param: vpp_source_repo_url }
+ __vpp_source_repo_branch__ : { get_param: vpp_source_repo_branch }
+ __hc2vpp_source_repo_url__ : { get_param: hc2vpp_source_repo_url }
+ __hc2vpp_source_repo_branch__ : { get_param: hc2vpp_source_repo_branch }
template: |
#!/bin/bash
@@ -222,6 +242,10 @@ resources:
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
+ echo "__vpp_source_repo_url__" > /opt/config/vpp_source_repo_url.txt
+ echo "__vpp_source_repo_branch__" > /opt/config/vpp_source_repo_branch.txt
+ echo "__hc2vpp_source_repo_url__" > /opt/config/hc2vpp_source_repo_url.txt
+ echo "__hc2vpp_source_repo_branch__" > /opt/config/hc2vpp_source_repo_branch.txt
# Download and run install script
curl -k __repo_url_blob__/org.onap.demo/vnfs/vcpe/__install_script_version__/v_gw_install.sh -o /opt/v_gw_install.sh
diff --git a/heat/vFW/.DS_Store b/heat/vFW/.DS_Store
deleted file mode 100644
index e2759ef9..00000000
--- a/heat/vFW/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/heat/vFW/base_vfw_openstack.env b/heat/vFW/base_vfw.env
index 7040f867..9790d0e8 100644
--- a/heat/vFW/base_vfw_openstack.env
+++ b/heat/vFW/base_vfw.env
@@ -29,4 +29,4 @@ parameters:
install_script_version: 1.1.0-SNAPSHOT
key_name: vfw_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: openstack
+ cloud_env: PUT openstack OR rackspace HERE
diff --git a/heat/vFW/base_vfw_openstack.yaml b/heat/vFW/base_vfw.yaml
index 4900c55c..77b53a83 100644
--- a/heat/vFW/base_vfw_openstack.yaml
+++ b/heat/vFW/base_vfw.yaml
@@ -208,16 +208,13 @@ resources:
vfw_private_0_port:
type: OS::Neutron::Port
properties:
- security_groups: []
- port_security_enabled: False
network: { get_resource: unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}]
vfw_private_1_port:
type: OS::Neutron::Port
properties:
- security_groups: []
- port_security_enabled: False
+ allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}]
network: { get_resource: protected_private_network }
fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}]
diff --git a/heat/vFW/base_vfw_rackspace.env b/heat/vFW/base_vfw_rackspace.env
deleted file mode 100644
index 0f6175d1..00000000
--- a/heat/vFW/base_vfw_rackspace.env
+++ /dev/null
@@ -1,32 +0,0 @@
-parameters:
- vfw_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
- vfw_flavor_name: 4 GB General Purpose v1
- public_net_id: 00000000-0000-0000-0000-000000000000
- unprotected_private_net_id: zdfw1fwl01_unprotected
- protected_private_net_id: zdfw1fwl01_protected
- onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- unprotected_private_net_cidr: 192.168.10.0/24
- protected_private_net_cidr: 192.168.20.0/24
- onap_private_net_cidr: 10.0.0.0/16
- vfw_private_ip_0: 192.168.10.100
- vfw_private_ip_1: 192.168.20.100
- vfw_private_ip_2: 10.0.100.1
- vpg_private_ip_0: 192.168.10.200
- vpg_private_ip_1: 10.0.100.2
- vsn_private_ip_0: 192.168.20.250
- vsn_private_ip_1: 10.0.100.3
- vfw_name_0: zdfw1fwl01fwl01
- vpg_name_0: zdfw1fwl01pgn01
- vsn_name_0: zdfw1fwl01snk01
- vnf_id: vFirewall_demo_app
- vf_module_id: vFirewall
- dcae_collector_ip: 10.0.4.102
- dcae_collector_port: 8080
- repo_url_blob: https://nexus.onap.org/content/sites/raw
- repo_url_artifacts: https://nexus.onap.org/content/groups/staging
- demo_artifacts_version: 1.1.0
- install_script_version: 1.1.0-SNAPSHOT
- key_name: vfw_key
- pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: rackspace
diff --git a/heat/vFW/base_vfw_rackspace.yaml b/heat/vFW/base_vfw_rackspace.yaml
deleted file mode 100644
index 51ac2861..00000000
--- a/heat/vFW/base_vfw_rackspace.yaml
+++ /dev/null
@@ -1,377 +0,0 @@
-##########################################################################
-#
-#==================LICENSE_START==========================================
-#
-#
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#==================LICENSE_END============================================
-#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-#
-##########################################################################
-
-heat_template_version: 2013-05-23
-
-description: Heat template that deploys vFirewall demo app for ONAP
-
-##############
-# #
-# PARAMETERS #
-# #
-##############
-
-parameters:
- vfw_image_name:
- type: string
- label: Image name or ID
- description: Image to be used for compute instance
- vfw_flavor_name:
- type: string
- label: Flavor
- description: Type of instance (flavor) to be used
- public_net_id:
- type: string
- label: Public network name or ID
- description: Public network that enables remote connection to VNF
- unprotected_private_net_id:
- type: string
- label: Unprotected private network name or ID
- description: Private network that connects vPacketGenerator with vFirewall
- protected_private_net_id:
- type: string
- label: Protected private network name or ID
- description: Private network that connects vFirewall with vSink
- onap_private_net_id:
- type: string
- label: ONAP management network name or ID
- description: Private network that connects ONAP components and the VNF
- onap_private_subnet_id:
- type: string
- label: ONAP management sub-network name or ID
- description: Private sub-network that connects ONAP components and the VNF
- unprotected_private_net_cidr:
- type: string
- label: Unprotected private network CIDR
- description: The CIDR of the unprotected private network
- protected_private_net_cidr:
- type: string
- label: Protected private network CIDR
- description: The CIDR of the protected private network
- onap_private_net_cidr:
- type: string
- label: ONAP private network CIDR
- description: The CIDR of the protected private network
- vfw_private_ip_0:
- type: string
- label: vFirewall private IP address towards the unprotected network
- description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
- vfw_private_ip_1:
- type: string
- label: vFirewall private IP address towards the protected network
- description: Private IP address that is assigned to the vFirewall to communicate with the vSink
- vfw_private_ip_2:
- type: string
- label: vFirewall private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
- vpg_private_ip_0:
- type: string
- label: vPacketGenerator private IP address towards the unprotected network
- description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
- vpg_private_ip_1:
- type: string
- label: vPacketGenerator private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
- vsn_private_ip_0:
- type: string
- label: vSink private IP address towards the protected network
- description: Private IP address that is assigned to the vSink to communicate with the vFirewall
- vsn_private_ip_1:
- type: string
- label: vSink private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vSink to communicate with ONAP components
- vfw_name_0:
- type: string
- label: vFirewall name
- description: Name of the vFirewall
- vpg_name_0:
- type: string
- label: vPacketGenerator name
- description: Name of the vPacketGenerator
- vsn_name_0:
- type: string
- label: vSink name
- description: Name of the vSink
- vnf_id:
- type: string
- label: VNF ID
- description: The VNF ID is provided by ECOMP
- vf_module_id:
- type: string
- label: vFirewall module ID
- description: The vFirewall Module ID is provided by ECOMP
- dcae_collector_ip:
- type: string
- label: DCAE collector IP address
- description: IP address of the DCAE collector
- dcae_collector_port:
- type: string
- label: DCAE collector port
- description: Port of the DCAE collector
- key_name:
- type: string
- label: Key pair name
- description: Public/Private key pair name
- pub_key:
- type: string
- label: Public key
- description: Public key to be installed on the compute instance
- repo_url_blob:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- repo_url_artifacts:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- install_script_version:
- type: string
- label: Installation script version number
- description: Version number of the scripts that install the vFW demo app
- demo_artifacts_version:
- type: string
- label: Artifacts version used in demo vnfs
- description: Artifacts (jar, tar.gz) version used in demo vnfs
- cloud_env:
- type: string
- label: Cloud environment
- description: Cloud environment (e.g., openstack, rackspace)
-
-#############
-# #
-# RESOURCES #
-# #
-#############
-
-resources:
- random-str:
- type: OS::Heat::RandomString
- properties:
- length: 4
-
- my_keypair:
- type: OS::Nova::KeyPair
- properties:
- name:
- str_replace:
- template: base_rand
- params:
- base: { get_param: key_name }
- rand: { get_resource: random-str }
- public_key: { get_param: pub_key }
- save_private_key: false
-
- unprotected_private_network:
- type: OS::Neutron::Net
- properties:
- name: { get_param: unprotected_private_net_id }
-
- protected_private_network:
- type: OS::Neutron::Net
- properties:
- name: { get_param: protected_private_net_id }
-
- unprotected_private_subnet:
- type: OS::Neutron::Subnet
- properties:
- network_id: { get_resource: unprotected_private_network }
- cidr: { get_param: unprotected_private_net_cidr }
-
- protected_private_subnet:
- type: OS::Neutron::Subnet
- properties:
- network_id: { get_resource: protected_private_network }
- cidr: { get_param: protected_private_net_cidr }
-
- # Virtual Firewall instantiation
- vfw_private_0_port:
- type: OS::Neutron::Port
- properties:
- network: { get_resource: unprotected_private_network }
- fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}]
-
- vfw_private_1_port:
- type: OS::Neutron::Port
- properties:
- network: { get_resource: protected_private_network }
- fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}]
-
- vfw_private_2_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: onap_private_net_id }
- fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}]
-
- vfw_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vfw_image_name }
- flavor: { get_param: vfw_flavor_name }
- name: { get_param: vfw_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- - port: { get_resource: vfw_private_0_port }
- - port: { get_resource: vfw_private_1_port }
- - port: { get_resource: vfw_private_2_port }
- metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __dcae_collector_ip__ : { get_param: dcae_collector_ip }
- __dcae_collector_port__ : { get_param: dcae_collector_port }
- __repo_url_blob__ : { get_param: repo_url_blob }
- __repo_url_artifacts__ : { get_param: repo_url_artifacts }
- __demo_artifacts_version__ : { get_param: demo_artifacts_version }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
- echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
- echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vfw/__install_script_version__/v_firewall_install.sh -o /opt/v_firewall_install.sh
- cd /opt
- chmod +x v_firewall_install.sh
- ./v_firewall_install.sh
-
-
- # Virtual Packet Generator instantiation
- vpg_private_0_port:
- type: OS::Neutron::Port
- properties:
- network: { get_resource: unprotected_private_network }
- fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}]
-
- vpg_private_1_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: onap_private_net_id }
- fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}]
-
- vpg_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vfw_image_name }
- flavor: { get_param: vfw_flavor_name }
- name: { get_param: vpg_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- - port: { get_resource: vpg_private_0_port }
- - port: { get_resource: vpg_private_1_port }
- metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __fw_ipaddr__: { get_param: vfw_private_ip_0 }
- __protected_net_cidr__: { get_param: protected_private_net_cidr }
- __sink_ipaddr__: { get_param: vsn_private_ip_0 }
- __repo_url_blob__ : { get_param: repo_url_blob }
- __repo_url_artifacts__ : { get_param: repo_url_artifacts }
- __demo_artifacts_version__ : { get_param: demo_artifacts_version }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
- echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
- echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
- echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vfw/__install_script_version__/v_packetgen_install.sh -o /opt/v_packetgen_install.sh
- cd /opt
- chmod +x v_packetgen_install.sh
- ./v_packetgen_install.sh
-
-
- # Virtual Sink instantiation
- vsn_private_0_port:
- type: OS::Neutron::Port
- properties:
- network: { get_resource: protected_private_network }
- fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}]
-
- vsn_private_1_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: onap_private_net_id }
- fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}]
-
- vsn_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vfw_image_name }
- flavor: { get_param: vfw_flavor_name }
- name: { get_param: vsn_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- - port: { get_resource: vsn_private_0_port }
- - port: { get_resource: vsn_private_1_port }
- metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __protected_net_gw__: { get_param: vfw_private_ip_1 }
- __unprotected_net__: { get_param: unprotected_private_net_cidr }
- __repo_url_blob__ : { get_param: repo_url_blob }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
- echo "__unprotected_net__" > /opt/config/unprotected_net.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vfw/__install_script_version__/v_sink_install.sh -o /opt/v_sink_install.sh
- cd /opt
- chmod +x v_sink_install.sh
- ./v_sink_install.sh \ No newline at end of file
diff --git a/heat/vLB/base_vlb_openstack.env b/heat/vLB/base_vlb.env
index afcfccfd..50da384f 100644
--- a/heat/vLB/base_vlb_openstack.env
+++ b/heat/vLB/base_vlb.env
@@ -3,16 +3,25 @@ parameters:
vlb_flavor_name: PUT THE FLAVOR NAME HERE
public_net_id: PUT THE NETWORK ID HERE
vlb_private_net_id: zdfw1lb01_private
+ pktgen_private_net_id: zdfw1pktgen01_private
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vlb_private_net_cidr: 192.168.10.0/24
+ pktgen_private_net_cidr: 192.168.9.0/24
onap_private_net_cidr: PUT THE ONAP NETWORK CIDR HERE
vlb_private_ip_0: 192.168.10.111
vlb_private_ip_1: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB
+ vlb_private_ip_2: 192.168.9.111
vdns_private_ip_0: 192.168.10.211
vdns_private_ip_1: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS
+ vpg_private_ip_0: 192.168.9.110
+ vpg_private_ip_1: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN
+ vip: 192.168.9.112
+ gre_ipaddr: 192.168.10.112
+ pg_int: 192.168.9.109
vlb_name_0: zdfw1lb01lb01
vdns_name_0: zdfw1lb01dns01
+ vpg_name_0: zdfw1lb01pg01
vnf_id: vLoadBalancer_demo_app
vf_module_id: vLoadBalancer
dcae_collector_ip: PUT THE ADDRESS OF THE DCAE COLLECTOR HERE
@@ -23,4 +32,4 @@ parameters:
install_script_version: 1.1.0-SNAPSHOT
key_name: vlb_key
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: openstack
+ cloud_env: PUT openstack OR backspace HERE
diff --git a/heat/vLB/base_vlb_openstack.yaml b/heat/vLB/base_vlb.yaml
index 18a0d76e..fa4fea0a 100644
--- a/heat/vLB/base_vlb_openstack.yaml
+++ b/heat/vLB/base_vlb.yaml
@@ -49,6 +49,10 @@ parameters:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
+ pktgen_private_net_id:
+ type: string
+ label: vPacketGen private network name or ID
+ description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ECOMP management network name or ID
@@ -61,6 +65,10 @@ parameters:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
+ pktgen_private_net_cidr:
+ type: string
+ label: vPacketGen private network CIDR
+ description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
@@ -73,6 +81,10 @@ parameters:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
+ vlb_private_ip_2:
+ type: string
+ label: vLoadBalancer private IP address towards the vPacketGen network
+ description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_private_ip_0:
type: string
label: vDNS private IP address towards the private network
@@ -81,6 +93,26 @@ parameters:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
+ vpg_private_ip_0:
+ type: string
+ label: vPacketGen private IP address towards the vPacketGen private network
+ description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
+ vpg_private_ip_1:
+ type: string
+ label: vPacketGen private IP address towards the ONAP management network
+ description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
+ vip:
+ type: string
+ label: Virtual Private IP of the vLoadBalancer
+ description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
+ gre_ipaddr:
+ type: string
+ label: IP Address of the GRE tunnel
+ description: IP address assigned to the GRE tunnel on the vLoadBalancer
+ pg_int:
+ type: string
+ label: IP Address of the output vPacketGen interface
+ description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
@@ -89,6 +121,10 @@ parameters:
type: string
label: vDNS name
description: Name of the vDNS
+ vpg_name_0:
+ type: string
+ label: vPKTGEN name
+ description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
@@ -171,6 +207,18 @@ resources:
network_id: { get_resource: vlb_private_network }
cidr: { get_param: vlb_private_net_cidr }
+ pktgen_private_network:
+ type: OS::Neutron::Net
+ properties:
+ name: { get_param: pktgen_private_net_id }
+
+ pktgen_private_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ name: { get_param: pktgen_private_net_id }
+ network_id: { get_resource: pktgen_private_network }
+ cidr: { get_param: pktgen_private_net_cidr }
+
vlb_private_0_port:
type: OS::Neutron::Port
properties:
@@ -183,6 +231,12 @@ resources:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_private_ip_1 }}]
+ vlb_private_2_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: pktgen_private_network }
+ fixed_ips: [{"subnet": { get_resource: pktgen_private_subnet }, "ip_address": { get_param: vlb_private_ip_2 }}]
+
vlb_0:
type: OS::Nova::Server
properties:
@@ -194,6 +248,7 @@ resources:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_private_0_port }
- port: { get_resource: vlb_private_1_port }
+ - port: { get_resource: vlb_private_2_port }
metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
user_data_format: RAW
user_data:
@@ -201,7 +256,11 @@ resources:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
- __local_private_ipaddr__: { get_param: vlb_private_ip_0 }
+ __ip_to_dns_net__: { get_param: vlb_private_ip_0 }
+ __ip_to_pktgen_net__: { get_param: vlb_private_ip_2 }
+ __vip__: { get_param: vip }
+ __gre_ipaddr__: { get_param: gre_ipaddr }
+ __pktgen_ipaddr__: { get_param: vpg_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_private_ip_1 }
__repo_url_blob__: { get_param: repo_url_blob }
__repo_url_artifacts__: { get_param: repo_url_artifacts }
@@ -209,6 +268,8 @@ resources:
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
+ __pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
+ __pktgen_mac__: { get_attr: [vpg_private_0_port, mac_address] }
__cloud_env__: { get_param: cloud_env }
template: |
#!/bin/bash
@@ -217,14 +278,20 @@ resources:
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
- echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
+ echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
+ echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
+ echo "__vip__" > /opt/config/vip.txt
+ echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
+ echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
+ echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
+ echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
# Download and run install script
@@ -294,4 +361,68 @@ resources:
curl -k __repo_url_blob__/org.onap.demo/vnfs/vlb/__install_script_version__/v_dns_install.sh -o /opt/v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
- ./v_dns_install.sh \ No newline at end of file
+ ./v_dns_install.sh
+
+
+ vpg_private_0_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: pktgen_private_network }
+ fixed_ips: [{"subnet": { get_resource: pktgen_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}]
+
+ vpg_private_1_port:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: onap_private_net_id }
+ fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}]
+
+ vpg_0:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: vlb_image_name }
+ flavor: { get_param: vlb_flavor_name }
+ name: { get_param: vpg_name_0 }
+ key_name: { get_resource: my_keypair }
+ networks:
+ - network: { get_param: public_net_id }
+ - port: { get_resource: vpg_private_0_port }
+ - port: { get_resource: vpg_private_1_port }
+ user_data_format: RAW
+ user_data:
+ str_replace:
+ params:
+ __repo_url_blob__: { get_param: repo_url_blob }
+ __repo_url_artifacts__: { get_param: repo_url_artifacts }
+ __local_private_ipaddr__: { get_param: vpg_private_ip_0 }
+ __oam_private_ipaddr__: { get_param: vpg_private_ip_1 }
+ __onap_private_net_cidr__: { get_param: onap_private_net_cidr }
+ __pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
+ __vlb_ipaddr__: { get_param: vlb_private_ip_2 }
+ __demo_artifacts_version__: { get_param: demo_artifacts_version }
+ __install_script_version__: { get_param: install_script_version }
+ __pg_int__: { get_param: pg_int }
+ __vlb_mac__: { get_attr: [vlb_private_2_port, mac_address] }
+ __cloud_env__: { get_param: cloud_env }
+ template: |
+ #!/bin/bash
+
+ # Create configuration files
+ mkdir /opt/config
+ echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
+ echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
+ echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
+ echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
+ echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
+ echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
+ echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
+ echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
+ echo "__install_script_version__" > /opt/config/install_script_version.txt
+ echo "__pg_int__" > /opt/config/pg_int.txt
+ echo "__vlb_mac__" > /opt/config/vlb_mac.txt
+ echo "__cloud_env__" > /opt/config/cloud_env.txt
+
+ # Download and run install script
+ curl -k __repo_url_blob__/org.onap.demo/vnfs/vlb/__install_script_version__/v_packetgen_install.sh -o /opt/v_packetgen_install.sh
+ cd /opt
+ chmod +x v_packetgen_install.sh
+ ./v_packetgen_install.sh \ No newline at end of file
diff --git a/heat/vLB/base_vlb_rackspace.env b/heat/vLB/base_vlb_rackspace.env
deleted file mode 100644
index e4c31843..00000000
--- a/heat/vLB/base_vlb_rackspace.env
+++ /dev/null
@@ -1,26 +0,0 @@
-parameters:
- vlb_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
- vlb_flavor_name: 4 GB General Purpose v1
- public_net_id: 00000000-0000-0000-0000-000000000000
- vlb_private_net_id: zdfw1lb01_private
- onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- vlb_private_net_cidr: 192.168.10.0/24
- onap_private_net_cidr: 10.0.0.0/16
- vlb_private_ip_0: 192.168.10.111
- vlb_private_ip_1: 10.0.100.4
- vdns_private_ip_0: 192.168.10.211
- vdns_private_ip_1: 10.0.100.5
- vlb_name_0: zdfw1lb01lb01
- vdns_name_0: zdfw1lb01dns01
- vnf_id: vLoadBalancer_demo_app
- vf_module_id: vLoadBalancer
- dcae_collector_ip: 10.0.4.102
- dcae_collector_port: 8080
- repo_url_blob: https://nexus.onap.org/content/sites/raw
- repo_url_artifacts: https://nexus.onap.org/content/groups/staging
- demo_artifacts_version: 1.1.0
- install_script_version: 1.1.0-SNAPSHOT
- key_name: vlb_key
- pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: rackspace
diff --git a/heat/vLB/base_vlb_rackspace.yaml b/heat/vLB/base_vlb_rackspace.yaml
deleted file mode 100644
index 316f4cfb..00000000
--- a/heat/vLB/base_vlb_rackspace.yaml
+++ /dev/null
@@ -1,287 +0,0 @@
-##########################################################################
-#
-#==================LICENSE_START==========================================
-#
-#
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#==================LICENSE_END============================================
-#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-#
-##########################################################################
-
-heat_template_version: 2013-05-23
-
-description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
-
-##############
-# #
-# PARAMETERS #
-# #
-##############
-
-parameters:
- vlb_image_name:
- type: string
- label: Image name or ID
- description: Image to be used for compute instance
- vlb_flavor_name:
- type: string
- label: Flavor
- description: Type of instance (flavor) to be used
- public_net_id:
- type: string
- label: Public network name or ID
- description: Public network that enables remote connection to VNF
- vlb_private_net_id:
- type: string
- label: vLoadBalancer private network name or ID
- description: Private network that connects vLoadBalancer with vDNSs
- onap_private_net_id:
- type: string
- label: ONAP management network name or ID
- description: Private network that connects ONAP components and the VNF
- onap_private_subnet_id:
- type: string
- label: ONAP management sub-network name or ID
- description: Private sub-network that connects ONAP components and the VNF
- vlb_private_net_cidr:
- type: string
- label: vLoadBalancer private network CIDR
- description: The CIDR of the vLoadBalancer private network
- onap_private_net_cidr:
- type: string
- label: ONAP private network CIDR
- description: The CIDR of the protected private network
- vlb_private_ip_0:
- type: string
- label: vLoadBalancer private IP address towards the private network
- description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
- vlb_private_ip_1:
- type: string
- label: vLoadBalancer private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
- vdns_private_ip_0:
- type: string
- label: vDNS private IP address towards the private network
- description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
- vdns_private_ip_1:
- type: string
- label: vDNS private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vDNS to communicate with ONAP components
- vlb_name_0:
- type: string
- label: vLoadBalancer name
- description: Name of the vLoadBalancer
- vdns_name_0:
- type: string
- label: vDNS name
- description: Name of the vDNS
- vnf_id:
- type: string
- label: VNF ID
- description: The VNF ID is provided by ONAP
- vf_module_id:
- type: string
- label: vFirewall module ID
- description: The vLoadBalancer Module ID is provided by ONAP
- dcae_collector_ip:
- type: string
- label: DCAE collector IP address
- description: IP address of the DCAE collector
- dcae_collector_port:
- type: string
- label: DCAE collector port
- description: Port of the DCAE collector
- key_name:
- type: string
- label: Key pair name
- description: Public/Private key pair name
- pub_key:
- type: string
- label: Public key
- description: Public key to be installed on the compute instance
- repo_url_blob:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- repo_url_artifacts:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- install_script_version:
- type: string
- label: Installation script version number
- description: Version number of the scripts that install the vFW demo app
- demo_artifacts_version:
- type: string
- label: Artifacts version used in demo vnfs
- description: Artifacts (jar, tar.gz) version used in demo vnfs
- cloud_env:
- type: string
- label: Cloud environment
- description: Cloud environment (e.g., openstack, rackspace)
-
-#############
-# #
-# RESOURCES #
-# #
-#############
-
-resources:
-
- random-str:
- type: OS::Heat::RandomString
- properties:
- length: 4
-
- my_keypair:
- type: OS::Nova::KeyPair
- properties:
- name:
- str_replace:
- template: base_rand
- params:
- base: { get_param: key_name }
- rand: { get_resource: random-str }
- public_key: { get_param: pub_key }
- save_private_key: false
-
- vlb_private_network:
- type: OS::Neutron::Net
- properties:
- name: { get_param: vlb_private_net_id }
-
- vlb_private_subnet:
- type: OS::Neutron::Subnet
- properties:
- name: { get_param: vlb_private_net_id }
- network_id: { get_resource: vlb_private_network }
- cidr: { get_param: vlb_private_net_cidr }
-
- # Virtual Load Balancer Instantiation
- vlb_private_0_port:
- type: OS::Neutron::Port
- properties:
- network: { get_resource: vlb_private_network }
- fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vlb_private_ip_0 }}]
-
- vlb_private_1_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: onap_private_net_id }
- fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_private_ip_1 }}]
-
- vlb_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vlb_image_name }
- flavor: { get_param: vlb_flavor_name }
- name: { get_param: vlb_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- - port: { get_resource: vlb_private_0_port }
- - port: { get_resource: vlb_private_1_port }
- metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __dcae_collector_ip__: { get_param: dcae_collector_ip }
- __dcae_collector_port__: { get_param: dcae_collector_port }
- __local_private_ipaddr__: { get_param: vlb_private_ip_0 }
- __repo_url_blob__ : { get_param: repo_url_blob }
- __repo_url_artifacts__ : { get_param: repo_url_artifacts }
- __demo_artifacts_version__ : { get_param: demo_artifacts_version }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
- echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
- echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
- echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vlb/__install_script_version__/v_lb_install.sh -o /opt/v_lb_install.sh
- cd /opt
- chmod +x v_lb_install.sh
- ./v_lb_install.sh
-
-
- # Virtual DNS Instantiation
- vdns_private_0_port:
- type: OS::Neutron::Port
- properties:
- network: { get_resource: vlb_private_network }
- fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vdns_private_ip_0 }}]
-
- vdns_private_1_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: onap_private_net_id }
- fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_private_ip_1 }}]
-
- vdns_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vlb_image_name }
- flavor: { get_param: vlb_flavor_name }
- name: { get_param: vdns_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- - port: { get_resource: vdns_private_0_port }
- - port: { get_resource: vdns_private_1_port }
- metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __lb_oam_int__ : { get_param: vlb_private_ip_1 }
- __lb_private_ipaddr__: { get_param: vlb_private_ip_0 }
- __local_private_ipaddr__: { get_param: vdns_private_ip_0 }
- __repo_url_blob__ : { get_param: repo_url_blob }
- __repo_url_artifacts__ : { get_param: repo_url_artifacts }
- __demo_artifacts_version__ : { get_param: demo_artifacts_version }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
- echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
- echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
- echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vlb/__install_script_version__/v_dns_install.sh -o /opt/v_dns_install.sh
- cd /opt
- chmod +x v_dns_install.sh
- ./v_dns_install.sh \ No newline at end of file
diff --git a/heat/vLB/dnsscaling_openstack.env b/heat/vLB/dnsscaling.env
index 3cc328f4..5a7839b8 100644
--- a/heat/vLB/dnsscaling_openstack.env
+++ b/heat/vLB/dnsscaling.env
@@ -20,4 +20,4 @@ parameters:
install_script_version: 1.1.0-SNAPSHOT
key_name: vlb_key_scaling
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: openstack
+ cloud_env: PUT openstack OR backspace HERE \ No newline at end of file
diff --git a/heat/vLB/dnsscaling_openstack.yaml b/heat/vLB/dnsscaling.yaml
index 20718276..20718276 100644
--- a/heat/vLB/dnsscaling_openstack.yaml
+++ b/heat/vLB/dnsscaling.yaml
diff --git a/heat/vLB/dnsscaling_rackspace.env b/heat/vLB/dnsscaling_rackspace.env
deleted file mode 100644
index 619b35c7..00000000
--- a/heat/vLB/dnsscaling_rackspace.env
+++ /dev/null
@@ -1,21 +0,0 @@
-parameters:
- vlb_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
- vlb_flavor_name: 4 GB General Purpose v1
- public_net_id: 00000000-0000-0000-0000-000000000000
- vlb_private_net_id: zdfw1lb01_private
- onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
- vlb_private_ip_0: 192.168.10.111
- vlb_private_ip_1: 10.0.100.4
- vdns_private_ip_0: 192.168.10.212
- vdns_private_ip_1: 10.0.100.6
- vdns_name_0: zdfw1lb01dns02
- vnf_id: vLoadBalancer_demo_app
- vf_module_id: vLoadBalancer
- repo_url_blob: https://nexus.onap.org/content/sites/raw
- repo_url_artifacts: https://nexus.onap.org/content/groups/staging
- demo_artifacts_version: 1.1.0
- install_script_version: 1.1.0-SNAPSHOT
- key_name: vlb_key_scaling
- pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: rackspace
diff --git a/heat/vLB/dnsscaling_rackspace.yaml b/heat/vLB/dnsscaling_rackspace.yaml
deleted file mode 100644
index 7a53a561..00000000
--- a/heat/vLB/dnsscaling_rackspace.yaml
+++ /dev/null
@@ -1,197 +0,0 @@
-##########################################################################
-#
-#==================LICENSE_START==========================================
-#
-#
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#==================LICENSE_END============================================
-#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-#
-##########################################################################
-
-heat_template_version: 2013-05-23
-
-description: Heat template to deploy a vDNS for ONAP (scaling-up scenario)
-
-##############
-# #
-# PARAMETERS #
-# #
-##############
-
-parameters:
- vlb_image_name:
- type: string
- label: Image name or ID
- description: Image to be used for compute instance
- vlb_flavor_name:
- type: string
- label: Flavor
- description: Type of instance (flavor) to be used
- public_net_id:
- type: string
- label: Public network name or ID
- description: Public network that enables remote connection to VNF
- vlb_private_net_id:
- type: string
- label: vLoadBalancer private network name or ID
- description: Private network that connects vLoadBalancer with vDNSs
- onap_private_net_id:
- type: string
- label: ONAP management network name or ID
- description: Private network that connects ONAP components and the VNF
- onap_private_subnet_id:
- type: string
- label: ONAP management sub-network name or ID
- description: Private sub-network that connects ONAP components and the VNF
- vlb_private_ip_0:
- type: string
- label: vLoadBalancer private IP address towards the private network
- description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
- vlb_private_ip_1:
- type: string
- label: vLoadBalancer private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
- vdns_private_ip_0:
- type: string
- label: vDNS private IP address towards the private network
- description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
- vdns_private_ip_1:
- type: string
- label: vDNS private IP address towards the ONAP management network
- description: Private IP address that is assigned to the vDNS to communicate with ONAP components
- vdns_name_0:
- type: string
- label: vDNS name
- description: Name of the vDNS
- vnf_id:
- type: string
- label: VNF ID
- description: The VNF ID is provided by ONAP
- vf_module_id:
- type: string
- label: vFirewall module ID
- description: The vLoadBalancer Module ID is provided by ONAP
- key_name:
- type: string
- label: Key pair name
- description: Public/Private key pair name
- pub_key:
- type: string
- label: Public key
- description: Public key to be installed on the compute instance
- repo_url_blob:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- repo_url_artifacts:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- install_script_version:
- type: string
- label: Installation script version number
- description: Version number of the scripts that install the vFW demo app
- demo_artifacts_version:
- type: string
- label: Artifacts version used in demo vnfs
- description: Artifacts (jar, tar.gz) version used in demo vnfs
- cloud_env:
- type: string
- label: Cloud environment
- description: Cloud environment (e.g., openstack, rackspace)
-
-#############
-# #
-# RESOURCES #
-# #
-#############
-
-resources:
-
- random-str:
- type: OS::Heat::RandomString
- properties:
- length: 4
-
- my_keypair:
- type: OS::Nova::KeyPair
- properties:
- name:
- str_replace:
- template: base_rand
- params:
- base: { get_param: key_name }
- rand: { get_resource: random-str }
- public_key: { get_param: pub_key }
- save_private_key: false
-
- # Virtual DNS Instantiation
- vdns_private_0_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: vlb_private_net_id }
- fixed_ips: [{"subnet": { get_param: vlb_private_net_id }, "ip_address": { get_param: vdns_private_ip_0 }}]
-
- vdns_private_1_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: onap_private_net_id }
- fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_private_ip_1 }}]
-
- vdns_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vlb_image_name }
- flavor: { get_param: vlb_flavor_name }
- name: { get_param: vdns_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- - port: { get_resource: vdns_private_0_port }
- - port: { get_resource: vdns_private_1_port }
- metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __lb_oam_int__ : { get_param: vlb_private_ip_1 }
- __lb_private_ipaddr__: { get_param: vlb_private_ip_0 }
- __local_private_ipaddr__: { get_param: vdns_private_ip_0 }
- __repo_url_blob__ : { get_param: repo_url_blob }
- __repo_url_artifacts__ : { get_param: repo_url_artifacts }
- __demo_artifacts_version__ : { get_param: demo_artifacts_version }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__ : { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
- echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
- echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
- echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vlb/__install_script_version__/v_dns_install.sh -o /opt/v_dns_install.sh
- cd /opt
- chmod +x v_dns_install.sh
- ./v_dns_install.sh \ No newline at end of file
diff --git a/heat/vLB/packet_gen_vlb.env b/heat/vLB/packet_gen_vlb.env
deleted file mode 100644
index 362b8a99..00000000
--- a/heat/vLB/packet_gen_vlb.env
+++ /dev/null
@@ -1,13 +0,0 @@
-parameters:
- vpg_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
- vpg_flavor_name: 4 GB General Purpose v1
- public_net_id: 00000000-0000-0000-0000-000000000000
- vlb_ipaddr: INSERT THE PUBLIC ADDRESS OF THE vLB HERE
- vpg_name_0: ziad1vdnspg01pg01
- repo_url_blob: https://nexus.onap.org/content/sites/raw
- repo_url_artifacts: https://nexus.onap.org/content/groups/staging
- demo_artifacts_version: 1.1.0
- install_script_version: 1.1.0-SNAPSHOT
- key_name: dns_packetgen_key
- pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- cloud_env: PUT THE CLOUD ENVIRONMENT HERE (rackspace or openstack)
diff --git a/heat/vLB/packet_gen_vlb.yaml b/heat/vLB/packet_gen_vlb.yaml
deleted file mode 100644
index e41ede8e..00000000
--- a/heat/vLB/packet_gen_vlb.yaml
+++ /dev/null
@@ -1,146 +0,0 @@
-##########################################################################
-#
-#==================LICENSE_START==========================================
-#
-#
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#==================LICENSE_END============================================
-#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-#
-##########################################################################
-
-heat_template_version: 2013-05-23
-
-description: Heat template to deploy a packet generator for the vLoadBalancer/vDNS demo app for ONAP
-
-##############
-# #
-# PARAMETERS #
-# #
-##############
-
-parameters:
- public_net_id:
- type: string
- label: Public network name or ID
- description: Public network that enables remote connection to VNF
- vpg_image_name:
- type: string
- label: Image name or ID
- description: Image to be used for compute instance
- vpg_flavor_name:
- type: string
- label: Flavor
- description: Type of instance (flavor) to be used
- vpg_name_0:
- type: string
- label: vPacketGenerator name
- description: Name of the vPacketGenerator
- key_name:
- type: string
- label: Key pair name
- description: Public/Private key pair name
- pub_key:
- type: string
- label: Public key
- description: Public key to be installed on the compute instance
- repo_url_blob:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- repo_url_artifacts:
- type: string
- label: Repository URL
- description: URL of the repository that hosts the demo packages
- vlb_ipaddr:
- type: string
- label: Public IP of the vLoadBalancer to which we want to send traffic
- description: Public IP of the vLoadBalancer to which we want to send traffic
- install_script_version:
- type: string
- label: Installation script version number
- description: Version number of the scripts that install the vFW demo app
- demo_artifacts_version:
- type: string
- label: Artifacts version used in demo vnfs
- description: Artifacts (jar, tar.gz) version used in demo vnfs
- cloud_env:
- type: string
- label: Cloud environment
- description: Cloud environment (e.g., openstack, rackspace)
-
-#############
-# #
-# RESOURCES #
-# #
-#############
-
-resources:
-
- random-str:
- type: OS::Heat::RandomString
- properties:
- length: 4
-
- my_keypair:
- type: OS::Nova::KeyPair
- properties:
- name:
- str_replace:
- template: base_rand
- params:
- base: { get_param: key_name }
- rand: { get_resource: random-str }
- public_key: { get_param: pub_key }
- save_private_key: false
-
-
- vpg_0:
- type: OS::Nova::Server
- properties:
- image: { get_param: vpg_image_name }
- flavor: { get_param: vpg_flavor_name }
- name: { get_param: vpg_name_0 }
- key_name: { get_resource: my_keypair }
- networks:
- - network: { get_param: public_net_id }
- user_data_format: RAW
- user_data:
- str_replace:
- params:
- __repo_url_blob__ : { get_param: repo_url_blob }
- __repo_url_artifacts__ : { get_param: repo_url_artifacts }
- __vlb_ipaddr__: { get_param: vlb_ipaddr }
- __demo_artifacts_version__ : { get_param: demo_artifacts_version }
- __install_script_version__ : { get_param: install_script_version }
- __cloud_env__: { get_param: cloud_env }
- template: |
- #!/bin/bash
-
- # Create configuration files
- mkdir /opt/config
- echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
- echo "__repo_url_blob__" > /opt/config/repo_url_blob.txt
- echo "__repo_url_artifacts__" > /opt/config/repo_url_artifacts.txt
- echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
- echo "__install_script_version__" > /opt/config/install_script_version.txt
- echo "__cloud_env__" > /opt/config/cloud_env.txt
-
- # Download and run install script
- curl -k __repo_url_blob__/org.onap.demo/vnfs/vlb/__install_script_version__/v_packetgen_install.sh -o /opt/v_packetgen_install.sh
- cd /opt
- chmod +x v_packetgen_install.sh
- ./v_packetgen_install.sh \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index c2b2bba1..de21ce88 100755
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<groupId>org.onap.demo.vnf</groupId>
<artifactId>demo-aggregator</artifactId>
<version>1.1.0-SNAPSHOT</version>
- <name>demo-aggregator</name>
+ <name>demo</name>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<prerequisites>
@@ -51,6 +51,10 @@
<module>vnfs/vCPE/kea-sdnc-notify-mod</module>
</modules>
+ <properties>
+ <sonar.skip>true</sonar.skip>
+ </properties>
+
<build>
<plugins>
<plugin>
diff --git a/vagrant/create_onap.sh b/vagrant/create_onap.sh
index 9b4dfc06..0b4ed572 100755
--- a/vagrant/create_onap.sh
+++ b/vagrant/create_onap.sh
@@ -2,7 +2,7 @@
set -ex
source /vagrant/openrc
-cp /demo/heat/OpenECOMP/* .
+cp /demo/heat/ONAP/* .
# Parameters used across all ONAP components
pub_net=$(openstack network list -f value|grep public | cut -f1 -d' ')
diff --git a/vnfs/VES/bldjobs/Doxyfile b/vnfs/VES/bldjobs/Doxyfile
index f96ead25..ba51f787 100644
--- a/vnfs/VES/bldjobs/Doxyfile
+++ b/vnfs/VES/bldjobs/Doxyfile
@@ -1,5 +1,22 @@
# Doxyfile 1.6.1
+# License
+# -------
+#
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project
#
diff --git a/vnfs/VES/bldjobs/Makefile b/vnfs/VES/bldjobs/Makefile
index 21d7a824..6c0aaada 100644
--- a/vnfs/VES/bldjobs/Makefile
+++ b/vnfs/VES/bldjobs/Makefile
@@ -10,33 +10,19 @@
# License
# -------
#
-# Copyright(c) <2016>, AT&T Intellectual Property. All other rights reserved.
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-# 1. Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright notice,
-# this list of conditions and the following disclaimer in the documentation
-# and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement: This product includes
-# software developed by the AT&T.
-# 4. Neither the name of AT&T nor the names of its contributors may be used to
-# endorse or promote products derived from this software without specific
-# prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY AT&T INTELLECTUAL PROPERTY ''AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL AT&T INTELLECTUAL PROPERTY BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#******************************************************************************
ARCH=$(shell getconf LONG_BIT)
diff --git a/vnfs/VES5.0/evel/evel-library/bldjobs/Makefile b/vnfs/VES5.0/evel/evel-library/bldjobs/Makefile
index b1e15e5e..d37d0e4b 100644
--- a/vnfs/VES5.0/evel/evel-library/bldjobs/Makefile
+++ b/vnfs/VES5.0/evel/evel-library/bldjobs/Makefile
@@ -140,6 +140,7 @@ API_SOURCES=$(EVELLIB_ROOT)/evel.c \
$(EVELLIB_ROOT)/evel_throttle.c \
$(EVELLIB_ROOT)/evel_internal_event.c \
$(EVELLIB_ROOT)/evel_event_mgr.c \
+ $(EVELLIB_ROOT)/evel_threshold_cross.c \
$(EVELLIB_ROOT)/evel_voicequality.c \
$(EVELLIB_ROOT)/evel_logging.c \
$(EVELLIB_ROOT)/jsmn.c
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel.h b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel.h
index be0c5f0e..0ae1713e 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel.h
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel.h
@@ -738,10 +738,10 @@ MEASUREMENT_DISK_USE * evel_measurement_new_disk_use_add(EVENT_MEASUREMENT * mea
typedef struct measurement_fsys_use {
char * filesystem_name;
double block_configured;
- int block_iops;
+ double block_iops;
double block_used;
double ephemeral_configured;
- int ephemeral_iops;
+ double ephemeral_iops;
double ephemeral_used;
} MEASUREMENT_FSYS_USE;
@@ -1486,6 +1486,21 @@ size_t evel_write_callback(void *contents,
EVENT_HEADER * evel_new_heartbeat(void);
/**************************************************************************//**
+ * Create a new heartbeat event of given name and type.
+ *
+ * @note that the heartbeat is just a "naked" commonEventHeader!
+ *
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
+ *
+ * @returns pointer to the newly manufactured ::EVENT_HEADER. If the event is
+ * not used it must be released using ::evel_free_event
+ * @retval NULL Failed to create the event.
+ *****************************************************************************/
+EVENT_HEADER * evel_new_heartbeat_nameid(const char* ev_name, const char *ev_id);
+
+
+/**************************************************************************//**
* Free an event header.
*
* Free off the event header supplied. Will free all the contained allocated
@@ -1560,6 +1575,23 @@ void evel_reporting_entity_name_set(EVENT_HEADER * const header,
void evel_reporting_entity_id_set(EVENT_HEADER * const header,
const char * const entity_id);
+/**************************************************************************//**
+ * Set the NFC Naming code property of the event header.
+ *
+ * @param header Pointer to the ::EVENT_HEADER.
+ * @param nfcnamingcode String
+ *****************************************************************************/
+void evel_nfcnamingcode_set(EVENT_HEADER * const header,
+ const char * const nfcnam);
+/**************************************************************************//**
+ * Set the NF Naming code property of the event header.
+ *
+ * @param header Pointer to the ::EVENT_HEADER.
+ * @param nfnamingcode String
+ *****************************************************************************/
+void evel_nfnamingcode_set(EVENT_HEADER * const header,
+ const char * const nfnam);
+
/*****************************************************************************/
/*****************************************************************************/
/* */
@@ -1575,6 +1607,8 @@ void evel_reporting_entity_id_set(EVENT_HEADER * const header,
* function and are immutable once set. Optional fields have explicit
* setter functions, but again values may only be set once so that the
* Fault has immutable properties.
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param condition The condition indicated by the Fault.
* @param specific_problem The specific problem triggering the fault.
* @param priority The priority of the event.
@@ -1586,7 +1620,8 @@ void evel_reporting_entity_id_set(EVENT_HEADER * const header,
* not used (i.e. posted) it must be released using ::evel_free_fault.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_FAULT * evel_new_fault(const char * const condition,
+EVENT_FAULT * evel_new_fault(const char* ev_name, const char *ev_id,
+ const char * const condition,
const char * const specific_problem,
EVEL_EVENT_PRIORITIES priority,
EVEL_SEVERITIES severity,
@@ -1678,13 +1713,15 @@ void evel_fault_type_set(EVENT_FAULT * fault, const char * const type);
* that the Measurement has immutable properties.
*
* @param measurement_interval
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
*
* @returns pointer to the newly manufactured ::EVENT_MEASUREMENT. If the
* event is not used (i.e. posted) it must be released using
* ::evel_free_event.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_MEASUREMENT * evel_new_measurement(double measurement_interval);
+EVENT_MEASUREMENT * evel_new_measurement(double measurement_interval,const char* ev_name, const char *ev_id);
/**************************************************************************//**
* Free a Measurement.
@@ -1918,10 +1955,10 @@ void evel_measurement_fsys_use_add(EVENT_MEASUREMENT * measurement,
char * filesystem_name,
double block_configured,
double block_used,
- int block_iops,
+ double block_iops,
double ephemeral_configured,
double ephemeral_used,
- int ephemeral_iops);
+ double ephemeral_iops);
/**************************************************************************//**
* Add a Feature usage value name/value pair to the Measurement.
@@ -2557,13 +2594,15 @@ void evel_measurement_vnic_performance_add(EVENT_MEASUREMENT * const measurement
* that the Report has immutable properties.
*
* @param measurement_interval
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
*
* @returns pointer to the newly manufactured ::EVENT_REPORT. If the event is
* not used (i.e. posted) it must be released using
* ::evel_free_report.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_REPORT * evel_new_report(double measurement_interval);
+EVENT_REPORT * evel_new_report(double measurement_interval,const char* ev_name, const char *ev_id);
/**************************************************************************//**
* Free a Report.
@@ -2637,6 +2676,8 @@ void evel_report_custom_measurement_add(EVENT_REPORT * report,
* explicit setter functions, but again values may only be set once so
* that the Mobile Flow has immutable properties.
*
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param flow_direction
* @param gtp_per_flow_metrics
* @param ip_protocol_type
@@ -2652,6 +2693,7 @@ void evel_report_custom_measurement_add(EVENT_REPORT * report,
* @retval NULL Failed to create the event.
*****************************************************************************/
EVENT_MOBILE_FLOW * evel_new_mobile_flow(
+ const char* ev_name, const char *ev_id,
const char * const flow_direction,
MOBILE_GTP_PER_FLOW_METRICS * gtp_per_flow_metrics,
const char * const ip_protocol_type,
@@ -3372,6 +3414,8 @@ void evel_mobile_gtp_metrics_qci_cos_count_add(
* this factory function and are immutable once set. Optional fields
* have explicit setter functions, but again values may only be set
* once so that the event has immutable properties.
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param vendor_name The vendor id to encode in the event vnf field.
* @param module The module to encode in the event.
* @param vnfname The Virtual network function to encode in the event.
@@ -3380,7 +3424,8 @@ void evel_mobile_gtp_metrics_qci_cos_count_add(
* ::evel_free_signaling.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_SIGNALING * evel_new_signaling(const char * const vendor_name,
+EVENT_SIGNALING * evel_new_signaling(const char* ev_name, const char *ev_id,
+ const char * const vendor_name,
const char * const correlator,
const char * const local_ip_address,
const char * const local_port,
@@ -3582,6 +3627,8 @@ void evel_signaling_summary_sip_set(EVENT_SIGNALING * const event,
* setter functions, but again values may only be set once so that the
* Syslog has immutable properties.
*
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param new_state The new state of the reporting entity.
* @param old_state The old state of the reporting entity.
* @param interface The card or port name of the reporting entity.
@@ -3591,7 +3638,8 @@ void evel_signaling_summary_sip_set(EVENT_SIGNALING * const event,
* ::evel_free_state_change
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_STATE_CHANGE * evel_new_state_change(const EVEL_ENTITY_STATE new_state,
+EVENT_STATE_CHANGE * evel_new_state_change(const char* ev_name, const char *ev_id,
+ const EVEL_ENTITY_STATE new_state,
const EVEL_ENTITY_STATE old_state,
const char * const interface);
@@ -3656,6 +3704,8 @@ void evel_state_change_addl_field_add(EVENT_STATE_CHANGE * const state_change,
* setter functions, but again values may only be set once so that the
* Syslog has immutable properties.
*
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param event_source_type
* @param syslog_msg
* @param syslog_tag
@@ -3665,7 +3715,8 @@ void evel_state_change_addl_field_add(EVENT_STATE_CHANGE * const state_change,
* not used it must be released using ::evel_free_syslog
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_SYSLOG * evel_new_syslog(EVEL_SOURCE_TYPES event_source_type,
+EVENT_SYSLOG * evel_new_syslog(const char* ev_name, const char *ev_id,
+ EVEL_SOURCE_TYPES event_source_type,
const char * const syslog_msg,
const char * const syslog_tag);
@@ -3834,12 +3885,14 @@ void evel_syslog_severity_set(EVENT_SYSLOG * syslog, const char * const severty)
/**************************************************************************//**
* Create a new other event.
*
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
*
* @returns pointer to the newly manufactured ::EVENT_OTHER. If the event is
* not used it must be released using ::evel_free_other.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_OTHER * evel_new_other(void);
+EVENT_OTHER * evel_new_other(const char* ev_name, const char *ev_id);
/**************************************************************************//**
* Free an Other.
@@ -3987,6 +4040,8 @@ typedef struct voice_quality_additional_info {
* factory function and are immutable once set. Optional fields have
* explicit setter functions, but again values may only be set once
* so that the Voice Quality has immutable properties.
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param calleeSideCodec Callee codec for the call.
* @param callerSideCodec Caller codec for the call.
* @param correlator Constant across all events on this call.
@@ -3998,7 +4053,8 @@ typedef struct voice_quality_additional_info {
::evel_free_voice_quality.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_VOICE_QUALITY * evel_new_voice_quality(const char * const calleeSideCodec,
+EVENT_VOICE_QUALITY * evel_new_voice_quality(const char* ev_name, const char *ev_id,
+ const char * const calleeSideCodec,
const char * const callerSideCodec, const char * const correlator,
const char * const midCallRtcp, const char * const vendorVnfNameFields);
@@ -4248,6 +4304,8 @@ typedef struct event_threshold_cross {
* setter functions, but again values may only be set once so that the
* TCA has immutable properties.
*
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @param char* tcriticality Performance Counter Criticality MAJ MIN,
* @param char* tname Performance Counter Threshold name
* @param char* tthresholdCrossed Counter Threshold crossed value
@@ -4265,6 +4323,7 @@ typedef struct event_threshold_cross {
* @retval NULL Failed to create the event.
*****************************************************************************/
EVENT_THRESHOLD_CROSS * evel_new_threshold_cross(
+ const char* ev_name, const char *ev_id,
char * tcriticality,
char * tname,
char * tthresholdCrossed,
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c
index 6d025abe..ced29b2c 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c
@@ -52,6 +52,51 @@ void evel_set_next_event_sequence(const int sequence)
EVEL_EXIT();
}
+
+/**************************************************************************//**
+ * Create a new heartbeat event of given name and type.
+ *
+ * @note that the heartbeat is just a "naked" commonEventHeader!
+ *
+ * @param event_name Unique Event Name: in format
+ * {DomainAbbreviation}_{AsdcModel or ApplicationPlatform}_{DescriptionOfInfoBeingConveyed}
+ * @param event_id Uniquely identify event for correlation and analysis
+ *
+ * @returns pointer to the newly manufactured ::EVENT_HEADER. If the event is
+ * not used it must be released using ::evel_free_event
+ * @retval NULL Failed to create the event.
+ *****************************************************************************/
+EVENT_HEADER * evel_new_heartbeat_nameid(const char* ev_name, const char *ev_id)
+{
+ EVENT_HEADER * heartbeat = NULL;
+ EVEL_ENTER();
+
+ assert(ev_name != NULL);
+ assert(ev_id != NULL);
+
+ /***************************************************************************/
+ /* Allocate the header. */
+ /***************************************************************************/
+ heartbeat = malloc(sizeof(EVENT_HEADER));
+ if (heartbeat == NULL)
+ {
+ log_error_state("Out of memory");
+ goto exit_label;
+ }
+ memset(heartbeat, 0, sizeof(EVENT_HEADER));
+
+ /***************************************************************************/
+ /* Initialize the header. Get a new event sequence number. Note that if */
+ /* any memory allocation fails in here we will fail gracefully because */
+ /* everything downstream can cope with NULLs. */
+ /***************************************************************************/
+ evel_init_header_nameid(heartbeat,ev_name,ev_id);
+
+exit_label:
+ EVEL_EXIT();
+ return heartbeat;
+}
+
/**************************************************************************//**
* Create a new heartbeat event.
*
@@ -141,6 +186,55 @@ void evel_init_header(EVENT_HEADER * const header,const char *const eventname)
EVEL_EXIT();
}
+
+/**************************************************************************//**
+ * Initialize a newly created event header.
+ *
+ * @param header Pointer to the header being initialized.
+ *****************************************************************************/
+void evel_init_header_nameid(EVENT_HEADER * const header,const char *const eventname, const char *eventid)
+{
+ struct timeval tv;
+
+ EVEL_ENTER();
+
+ assert(header != NULL);
+ assert(eventname != NULL);
+ assert(eventid != NULL);
+
+ gettimeofday(&tv, NULL);
+
+ /***************************************************************************/
+ /* Initialize the header. Get a new event sequence number. Note that if */
+ /* any memory allocation fails in here we will fail gracefully because */
+ /* everything downstream can cope with NULLs. */
+ /***************************************************************************/
+ header->event_domain = EVEL_DOMAIN_HEARTBEAT;
+ header->event_id = strdup(eventid);
+ header->event_name = strdup(eventname);
+ header->last_epoch_microsec = tv.tv_usec + 1000000 * tv.tv_sec;
+ header->priority = EVEL_PRIORITY_NORMAL;
+ header->reporting_entity_name = strdup(openstack_vm_name());
+ header->source_name = strdup(openstack_vm_name());
+ header->sequence = event_sequence;
+ header->start_epoch_microsec = header->last_epoch_microsec;
+ header->major_version = EVEL_HEADER_MAJOR_VERSION;
+ header->minor_version = EVEL_HEADER_MINOR_VERSION;
+ event_sequence++;
+
+ /***************************************************************************/
+ /* Optional parameters. */
+ /***************************************************************************/
+ evel_init_option_string(&header->event_type);
+ evel_init_option_string(&header->nfcnaming_code);
+ evel_init_option_string(&header->nfnaming_code);
+ evel_force_option_string(&header->reporting_entity_id, openstack_vm_uuid());
+ evel_force_option_string(&header->source_id, openstack_vm_uuid());
+ evel_init_option_intheader(&header->internal_field);
+
+ EVEL_EXIT();
+}
+
/**************************************************************************//**
* Set the Event Type property of the event header.
*
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event_mgr.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event_mgr.c
index de4296df..a96124ab 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event_mgr.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event_mgr.c
@@ -144,6 +144,16 @@ EVEL_ERR_CODES event_handler_initialize(const char * const event_api_url,
evel_throt_api_url = strdup(throt_api_url);
assert(evel_throt_api_url != NULL);
+
+ curl_version_info_data *d = curl_version_info(CURLVERSION_NOW);
+ /* compare with the 24 bit hex number in 8 bit fields */
+ if(d->version_num >= 0x072100) {
+ /* this is libcurl 7.33.0 or later */
+ EVEL_INFO("7.33 or later Curl version %x.",d->version_num);
+ }
+ else {
+ EVEL_INFO("Old Curl version.");
+ }
/***************************************************************************/
/* Start the CURL library. Note that this initialization is not threadsafe */
/* which imposes a constraint that the EVEL library is initialized before */
@@ -408,7 +418,7 @@ EVEL_ERR_CODES event_handler_terminate()
/*************************************************************************/
/* Make sure that the event handler knows it's time to die. */
/*************************************************************************/
- event = evel_new_internal_event(EVT_CMD_TERMINATE);
+ event = evel_new_internal_event(EVT_CMD_TERMINATE,"EVELinternal","EVELid");
if (event == NULL)
{
/***********************************************************************/
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_fault.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_fault.c
index 7cbadfe6..c211f607 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_fault.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_fault.c
@@ -36,6 +36,8 @@
* function and are immutable once set. Optional fields have explicit
* setter functions, but again values may only be set once so that the
* Fault has immutable properties.
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param condition The condition indicated by the Fault.
* @param specific_problem The specific problem triggering the fault.
* @param priority The priority of the event.
@@ -47,7 +49,9 @@
* not used (i.e. posted) it must be released using ::evel_free_fault.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_FAULT * evel_new_fault(const char * const condition,
+EVENT_FAULT * evel_new_fault(const char * ev_name,
+ const char * ev_id,
+ const char * const condition,
const char * const specific_problem,
EVEL_EVENT_PRIORITIES priority,
EVEL_SEVERITIES severity,
@@ -81,7 +85,7 @@ EVENT_FAULT * evel_new_fault(const char * const condition,
/* Initialize the header & the fault fields. Optional string values are */
/* uninitialized (NULL). */
/***************************************************************************/
- evel_init_header(&fault->header,"Fault");
+ evel_init_header_nameid(&fault->header,ev_name,ev_id);
fault->header.event_domain = EVEL_DOMAIN_FAULT;
fault->header.priority = priority;
fault->major_version = EVEL_FAULT_MAJOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_heartbeat_fields.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_heartbeat_fields.c
index 73773edc..872af1f8 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_heartbeat_fields.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_heartbeat_fields.c
@@ -35,6 +35,8 @@
* this factory function and are immutable once set. Optional fields
* have explicit setter functions, but again values may only be set
* once so that the event has immutable properties.
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param vendor_id The vendor id to encode in the event instance id.
* @param event_id The vendor event id to encode in the event instance id.
* @returns pointer to the newly manufactured ::EVENT_HEARTBEAT_FIELD. If the event
@@ -42,7 +44,7 @@
* ::evel_free_hrtbt_field.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_HEARTBEAT_FIELD * evel_new_heartbeat_field(int interval)
+EVENT_HEARTBEAT_FIELD * evel_new_heartbeat_field(int interval,const char* ev_name, const char *ev_id)
{
EVENT_HEARTBEAT_FIELD * event = NULL;
@@ -68,7 +70,7 @@ EVENT_HEARTBEAT_FIELD * evel_new_heartbeat_field(int interval)
/***************************************************************************/
/* Initialize the header & the Heartbeat fields fields. */
/***************************************************************************/
- evel_init_header(&event->header,"HeartbeatFields");
+ evel_init_header_nameid(&event->header,ev_name,ev_id);
event->header.event_domain = EVEL_DOMAIN_HEARTBEAT_FIELD;
event->major_version = EVEL_HEARTBEAT_FIELD_MAJOR_VERSION;
event->minor_version = EVEL_HEARTBEAT_FIELD_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal.h b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal.h
index f057fe87..46f71af1 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal.h
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal.h
@@ -226,7 +226,7 @@ EVEL_ERR_CODES event_handler_run();
* ::evel_free_event.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command);
+EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command,const char* ev_name, const char *ev_id);
/**************************************************************************//**
* Free an internal event.
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c
index 511c7d51..cb56c880 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c
@@ -43,12 +43,14 @@
* setter functions, but again values may only be set once so that the
* Fault has immutable properties.
* @param command The condition indicated by the event.
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @returns pointer to the newly manufactured ::EVENT_INTERNAL. If the event
* is not used (i.e. posted) it must be released using
* ::evel_free_event.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command)
+EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command,const char* ev_name, const char *ev_id)
{
EVENT_INTERNAL * event = NULL;
EVEL_ENTER();
@@ -73,7 +75,7 @@ EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command)
/***************************************************************************/
/* Initialize the header & the event fields. */
/***************************************************************************/
- evel_init_header(&event->header,NULL);
+ evel_init_header_nameid(&event->header,ev_name,ev_id);
event->header.event_domain = EVEL_DOMAIN_INTERNAL;
event->command = command;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_mobile_flow.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_mobile_flow.c
index 0716e45f..5085d6a9 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_mobile_flow.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_mobile_flow.c
@@ -80,6 +80,8 @@ void evel_json_encode_mobile_flow_gtp_flow_metrics(
* factory function and are immutable once set. Optional fields have
* explicit setter functions, but again values may only be set once so
* that the Mobile Flow has immutable properties.
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param flow_direction Flow direction.
* @param gtp_per_flow_metrics GTP per-flow metrics.
* @param ip_protocol_type IP protocol type.
@@ -93,7 +95,7 @@ void evel_json_encode_mobile_flow_gtp_flow_metrics(
* ::evel_free_mobile_flow.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_MOBILE_FLOW * evel_new_mobile_flow(
+EVENT_MOBILE_FLOW * evel_new_mobile_flow(const char* ev_name, const char *ev_id,
const char * const flow_direction,
MOBILE_GTP_PER_FLOW_METRICS * gtp_per_flow_metrics,
const char * const ip_protocol_type,
@@ -134,7 +136,7 @@ EVENT_MOBILE_FLOW * evel_new_mobile_flow(
/* Initialize the header & the Mobile Flow fields. Optional string values */
/* are uninitialized (NULL). */
/***************************************************************************/
- evel_init_header(&mobile_flow->header,"MobileFlow");
+ evel_init_header_nameid(&mobile_flow->header,ev_name,ev_id);
mobile_flow->header.event_domain = EVEL_DOMAIN_MOBILE_FLOW;
mobile_flow->major_version = EVEL_MOBILE_FLOW_MAJOR_VERSION;
mobile_flow->minor_version = EVEL_MOBILE_FLOW_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c
index 447ac9a4..c7a227b3 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c
@@ -39,7 +39,7 @@
* not used (i.e. posted) it must be released using ::evel_free_other.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_OTHER * evel_new_other()
+EVENT_OTHER * evel_new_other(const char *ev_name, const char *ev_id)
{
EVENT_OTHER * other = NULL;
EVEL_ENTER();
@@ -64,7 +64,7 @@ EVENT_OTHER * evel_new_other()
/* Initialize the header & the Other fields. Optional string values are */
/* uninitialized (NULL). */
/***************************************************************************/
- evel_init_header(&other->header,"OtherEvent");
+ evel_init_header_nameid(&other->header,ev_name,ev_id);
other->header.event_domain = EVEL_DOMAIN_OTHER;
other->major_version = EVEL_OTHER_EVENT_MAJOR_VERSION;
other->minor_version = EVEL_OTHER_EVENT_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_reporting_measurement.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_reporting_measurement.c
index a7397237..38a17313 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_reporting_measurement.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_reporting_measurement.c
@@ -44,12 +44,13 @@
* that the Report has immutable properties.
*
* @param measurement_interval
-
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc
* @returns pointer to the newly manufactured ::EVENT_REPORT. If the event is
* not used (i.e. posted) it must be released using ::evel_free_event.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_REPORT * evel_new_report(double measurement_interval)
+EVENT_REPORT * evel_new_report(double measurement_interval,const char *ev_name, const char *ev_id)
{
EVENT_REPORT * report = NULL;
@@ -75,7 +76,7 @@ EVENT_REPORT * evel_new_report(double measurement_interval)
/***************************************************************************/
/* Initialize the header & the report fields. */
/***************************************************************************/
- evel_init_header(&report->header,"Report");
+ evel_init_header_nameid(&report->header,ev_name,ev_id);
report->header.event_domain = EVEL_DOMAIN_REPORT;
report->measurement_interval = measurement_interval;
@@ -328,7 +329,7 @@ void evel_json_encode_report(EVEL_JSON_BUFFER * jbuf,
{
evel_json_open_object(jbuf);
evel_enc_kv_string(jbuf, "name", measurement_group->name);
- evel_json_open_named_list(jbuf, "measurements");
+ evel_json_open_named_list(jbuf, "arrayOfFields");
/*********************************************************************/
/* Measurements list. */
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_scaling_measurement.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_scaling_measurement.c
index f1b38e3c..7920d81b 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_scaling_measurement.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_scaling_measurement.c
@@ -37,13 +37,15 @@
* that the Measurement has immutable properties.
*
* @param measurement_interval
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
*
* @returns pointer to the newly manufactured ::EVENT_MEASUREMENT. If the
* event is not used (i.e. posted) it must be released using
* ::evel_free_event.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_MEASUREMENT * evel_new_measurement(double measurement_interval)
+EVENT_MEASUREMENT * evel_new_measurement(double measurement_interval, const char* ev_name, const char *ev_id)
{
EVENT_MEASUREMENT * measurement = NULL;
@@ -69,7 +71,7 @@ EVENT_MEASUREMENT * evel_new_measurement(double measurement_interval)
/***************************************************************************/
/* Initialize the header & the measurement fields. */
/***************************************************************************/
- evel_init_header(&measurement->header,"vnfScalingMeasurement");
+ evel_init_header_nameid(&measurement->header,ev_name,ev_id);
measurement->header.event_domain = EVEL_DOMAIN_MEASUREMENT;
measurement->measurement_interval = measurement_interval;
dlist_initialize(&measurement->additional_info);
@@ -1531,10 +1533,10 @@ void evel_measurement_fsys_use_add(EVENT_MEASUREMENT * measurement,
char * filesystem_name,
double block_configured,
double block_used,
- int block_iops,
+ double block_iops,
double ephemeral_configured,
double ephemeral_used,
- int ephemeral_iops)
+ double ephemeral_iops)
{
MEASUREMENT_FSYS_USE * fsys_use = NULL;
EVEL_ENTER();
@@ -1547,10 +1549,10 @@ void evel_measurement_fsys_use_add(EVENT_MEASUREMENT * measurement,
assert(filesystem_name != NULL);
assert(block_configured >= 0.0);
assert(block_used >= 0.0);
- assert(block_iops >= 0);
+ assert(block_iops >= 0.0);
assert(ephemeral_configured >= 0.0);
assert(ephemeral_used >= 0.0);
- assert(ephemeral_iops >= 0);
+ assert(ephemeral_iops >= 0.0);
/***************************************************************************/
/* Allocate a container for the value and push onto the list. */
@@ -1563,7 +1565,7 @@ void evel_measurement_fsys_use_add(EVENT_MEASUREMENT * measurement,
fsys_use->block_configured = block_configured;
fsys_use->block_used = block_used;
fsys_use->block_iops = block_iops;
- fsys_use->ephemeral_configured = block_configured;
+ fsys_use->ephemeral_configured = ephemeral_configured;
fsys_use->ephemeral_used = ephemeral_used;
fsys_use->ephemeral_iops = ephemeral_iops;
@@ -3201,15 +3203,15 @@ void evel_json_encode_measurement(EVEL_JSON_BUFFER * jbuf,
fsys_use->filesystem_name))
{
evel_json_open_object(jbuf);
+ evel_enc_kv_string(jbuf, "filesystemName", fsys_use->filesystem_name);
evel_enc_kv_double(
jbuf, "blockConfigured", fsys_use->block_configured);
- evel_enc_kv_int(jbuf, "blockIops", fsys_use->block_iops);
+ evel_enc_kv_double(jbuf, "blockIops", fsys_use->block_iops);
evel_enc_kv_double(jbuf, "blockUsed", fsys_use->block_used);
evel_enc_kv_double(
jbuf, "ephemeralConfigured", fsys_use->ephemeral_configured);
- evel_enc_kv_int(jbuf, "ephemeralIops", fsys_use->ephemeral_iops);
+ evel_enc_kv_double(jbuf, "ephemeralIops", fsys_use->ephemeral_iops);
evel_enc_kv_double(jbuf, "ephemeralUsed", fsys_use->ephemeral_used);
- evel_enc_kv_string(jbuf, "filesystemName", fsys_use->filesystem_name);
evel_json_close_object(jbuf);
item_added = true;
}
@@ -3516,7 +3518,7 @@ void evel_json_encode_measurement(EVEL_JSON_BUFFER * jbuf,
{
evel_json_open_object(jbuf);
evel_enc_kv_string(jbuf, "name", measurement_group->name);
- evel_json_open_opt_named_list(jbuf, "measurements");
+ evel_json_open_opt_named_list(jbuf, "arrayOfFields");
/*********************************************************************/
/* Measurements list. */
@@ -3711,3 +3713,4 @@ void evel_free_measurement(EVENT_MEASUREMENT * event)
EVEL_EXIT();
}
+
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_sipsignaling.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_sipsignaling.c
index 09c95cd0..45f53487 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_sipsignaling.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_sipsignaling.c
@@ -33,6 +33,8 @@
* this factory function and are immutable once set. Optional fields
* have explicit setter functions, but again values may only be set
* once so that the event has immutable properties.
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param vendor_name The vendor id to encode in the event vnf field.
* @param module The module to encode in the event.
* @param vnfname The Virtual network function to encode in the event.
@@ -41,7 +43,8 @@
* ::evel_free_signaling.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_SIGNALING * evel_new_signaling(const char * const vendor_name,
+EVENT_SIGNALING * evel_new_signaling(const char* ev_name, const char *ev_id,
+ const char * const vendor_name,
const char * const correlator,
const char * const local_ip_address,
const char * const local_port,
@@ -72,7 +75,7 @@ EVENT_SIGNALING * evel_new_signaling(const char * const vendor_name,
/***************************************************************************/
/* Initialize the header & the Signaling fields. */
/***************************************************************************/
- evel_init_header(&event->header,"SipSignaling");
+ evel_init_header_nameid(&event->header,ev_name,ev_id);
event->header.event_domain = EVEL_DOMAIN_SIPSIGNALING;
event->major_version = EVEL_SIGNALING_MAJOR_VERSION;
event->minor_version = EVEL_SIGNALING_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_state_change.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_state_change.c
index c9de5065..8915afaf 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_state_change.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_state_change.c
@@ -34,6 +34,8 @@
* explicit setter functions, but again values may only be set once
* so that the State Change has immutable properties.
*
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param new_state The new state of the reporting entity.
* @param old_state The old state of the reporting entity.
* @param interface The card or port name of the reporting entity.
@@ -43,7 +45,9 @@
* ::evel_free_state_change
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_STATE_CHANGE * evel_new_state_change(const EVEL_ENTITY_STATE new_state,
+EVENT_STATE_CHANGE * evel_new_state_change(const char* ev_name,
+ const char *ev_id,
+ const EVEL_ENTITY_STATE new_state,
const EVEL_ENTITY_STATE old_state,
const char * const interface)
{
@@ -73,7 +77,7 @@ EVENT_STATE_CHANGE * evel_new_state_change(const EVEL_ENTITY_STATE new_state,
/* Initialize the header & the State Change fields. Optional string */
/* values are uninitialized (NULL). */
/***************************************************************************/
- evel_init_header(&state_change->header,"StateChange");
+ evel_init_header_nameid(&state_change->header,ev_name,ev_id);
state_change->header.event_domain = EVEL_DOMAIN_STATE_CHANGE;
state_change->major_version = EVEL_STATE_CHANGE_MAJOR_VERSION;
state_change->minor_version = EVEL_STATE_CHANGE_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_syslog.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_syslog.c
index fb22df9f..85b0ec91 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_syslog.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_syslog.c
@@ -33,6 +33,8 @@
* function and are immutable once set. Optional fields have explicit
* setter functions, but again values may only be set once so that the
* Syslog has immutable properties.
+ * @param event_name Unique Event Name confirming Domain AsdcModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param event_source_type The type of Syslog event source.
* @param syslog_msg The Syslog event message.
* @param syslog_tag The messgaeId identifying the type of message.
@@ -41,7 +43,8 @@
* ::evel_free_syslog.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_SYSLOG * evel_new_syslog(EVEL_SOURCE_TYPES event_source_type,
+EVENT_SYSLOG * evel_new_syslog(const char* ev_name, const char *ev_id,
+ EVEL_SOURCE_TYPES event_source_type,
const char * const syslog_msg,
const char * const syslog_tag)
{
@@ -71,7 +74,7 @@ EVENT_SYSLOG * evel_new_syslog(EVEL_SOURCE_TYPES event_source_type,
/* Initialize the header & the Syslog fields. Optional string values are */
/* uninitialized (NULL). */
/***************************************************************************/
- evel_init_header(&syslog->header,"Syslog");
+ evel_init_header_nameid(&syslog->header,ev_name,ev_id);
syslog->header.event_domain = EVEL_DOMAIN_SYSLOG;
syslog->major_version = EVEL_SYSLOG_MAJOR_VERSION;
syslog->minor_version = EVEL_SYSLOG_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_threshold_cross.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_threshold_cross.c
index a0a9cc3d..f4fa620f 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_threshold_cross.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_threshold_cross.c
@@ -35,6 +35,8 @@
* setter functions, but again values may only be set once so that the
* TCA has immutable properties.
*
+ * @param event_name Unique Event Name confirming Domain AsdcVnfModel Description
+ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
* @param char* tcriticality Performance Counter Criticality MAJ MIN,
* @param char* tname Performance Counter Threshold name
* @param char* tthresholdCrossed Counter Threshold crossed value
@@ -51,7 +53,8 @@
* ::evel_free_threshold_cross
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_THRESHOLD_CROSS * evel_new_threshold_cross( char * tcriticality,
+EVENT_THRESHOLD_CROSS * evel_new_threshold_cross(const char * ev_name, const char * ev_id,
+ char * tcriticality,
char * tname,
char * tthresholdCrossed,
char * tvalue,
@@ -87,7 +90,7 @@ EVENT_THRESHOLD_CROSS * evel_new_threshold_cross( char * tcriticality,
/***************************************************************************/
/* Initialize the header & the threshold crossing fields. */
/***************************************************************************/
- evel_init_header(&event->header,"thresholdCrossingAlert");
+ evel_init_header_nameid(&event->header,ev_name,ev_id);
event->header.event_domain = EVEL_DOMAIN_THRESHOLD_CROSS;
event->major_version = EVEL_THRESHOLD_CROSS_MAJOR_VERSION;
event->minor_version = EVEL_THRESHOLD_CROSS_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_voicequality.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_voicequality.c
index c3826cab..cf2ec878 100644
--- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_voicequality.c
+++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_voicequality.c
@@ -34,6 +34,8 @@
* factory function and are immutable once set. Optional fields have
* explicit setter functions, but again values may only be set once
* so that the Voice Quality has immutable properties.
+ * @param event_name Unique Event Name
+ * @param event_id A universal identifier of the event for analysis etc.
* @param calleeSideCodec Callee codec for the call.
* @param callerSideCodec Caller codec for the call.
* @param correlator Constant across all events on this call.
@@ -45,7 +47,8 @@
::evel_free_voice_quality.
* @retval NULL Failed to create the event.
*****************************************************************************/
-EVENT_VOICE_QUALITY * evel_new_voice_quality(const char * const calleeSideCodec,
+EVENT_VOICE_QUALITY * evel_new_voice_quality(const char* ev_name, const char *ev_id,
+ const char * const calleeSideCodec,
const char * const callerSideCodec, const char * const correlator,
const char * const midCallRtcp, const char * const vendorName) {
@@ -82,7 +85,7 @@ EVENT_VOICE_QUALITY * evel_new_voice_quality(const char * const calleeSideCodec,
/* Initialize the header & the fault fields. Optional integer values are */
/* initialized as 0. */
/***************************************************************************/
- evel_init_header(&voiceQuality->header,"voiceQuality");
+ evel_init_header_nameid(&voiceQuality->header,ev_name,ev_id);
voiceQuality->header.event_domain = EVEL_DOMAIN_VOICE_QUALITY;
voiceQuality->major_version = EVEL_VOICEQ_MAJOR_VERSION;
voiceQuality->minor_version = EVEL_VOICEQ_MINOR_VERSION;
diff --git a/vnfs/VES5.0/evel/evel-test-collector/code/collector/rest_dispatcher.pyc b/vnfs/VES5.0/evel/evel-test-collector/code/collector/rest_dispatcher.pyc
deleted file mode 100644
index 7a084e5f..00000000
--- a/vnfs/VES5.0/evel/evel-test-collector/code/collector/rest_dispatcher.pyc
+++ /dev/null
Binary files differ
diff --git a/vnfs/VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json b/vnfs/VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json
index 986ed8f5..160add52 100644
--- a/vnfs/VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json
+++ b/vnfs/VES5.0/evel/evel-test-collector/docs/att_interface_definition/event_format_updated.json
@@ -2,48 +2,37 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
- "attCopyrightNotice": {
- "description": "Copyright (c) <2016>, AT&T Intellectual Property. All other rights reserved",
- "type": "object",
- "properties": {
- "useAndRedistribution": {
- "description": "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:",
- "type": "string"
- },
- "condition1": {
- "description": "Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.",
- "type": "string"
- },
- "condition2": {
- "description": "Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.",
- "type": "string"
- },
- "condition3": {
- "description": "All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the AT&T.",
- "type": "string"
- },
- "condition4": {
- "description": "Neither the name of AT&T nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.",
- "type": "string"
- },
- "disclaimerLine1": {
- "description": "THIS SOFTWARE IS PROVIDED BY AT&T INTELLECTUAL PROPERTY AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS",
- "type": "string"
- },
- "disclaimerLine2": {
- "description": "FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AT&T INTELLECTUAL PROPERTY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES",
- "type": "string"
- },
- "disclaimerLine3": {
- "description": "(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,",
- "type": "string"
+ "attCopyrightNotice": {
+ "description": "Copyright (c) <2017>, AT&T Intellectual Property. All rights reserved. Licensed under the Apache License, Version 2.0 (the License)",
+ "type": "object",
+ "properties": {
+ "useAndRedistribution": {
+ "description": "You may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0",
+ "type": "string"
+ },
+ "licenseLink": "http://www.apache.org/licenses/LICENSE-2.0",
+ "condition1": {
+ "description": "Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an AS IS BASIS,",
+ "type": "string"
+ },
+ "condition2": {
+ "description": "Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.",
+ "type": "string"
+ },
+ "condition3": {
+ "description": "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
+ "type": "string"
+ },
+ "condition4": {
+ "description": "See the License for the specific language governing permissions and limitations under the License.",
+ "type": "string"
+ },
+ "Trademarks": {
+ "description": "ECOMP and OpenECOMP are trademarks and service marks of AT&T Intellectual Property.",
+ "type": "string"
+ }
+ }
},
- "disclaimerLine4": {
- "description": "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
- "type": "string"
- }
- }
- },
"codecsInUse": {
"description": "number of times an identified codec was used over the measurementInterval",
"type": "object",
@@ -1704,11 +1693,11 @@
"type": "string"
},
"vfModuleName": {
- "description": "ASDC vfModuleName for the vfModule generating the event",
+ "description": "SDC vfModuleName for the vfModule generating the event",
"type": "string"
},
"vnfName": {
- "description": "ASDC modelName for the VNF generating the event",
+ "description": "SDC modelName for the VNF generating the event",
"type": "string"
}
},
diff --git a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
index 05f52af5..8604d0cd 100644
--- a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
+++ b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
@@ -245,7 +245,7 @@ int main(int argc, char** argv)
packets_out_this_round = 0;
}
- vpp_m = evel_new_measurement(READ_INTERVAL);
+ vpp_m = evel_new_measurement(READ_INTERVAL,"Measurement_vVNF","TrafficStats_1.2.3.4");
vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance("eth0", "true");
evel_meas_vnic_performance_add(vpp_m, vnic_performance);
@@ -277,6 +277,8 @@ int main(int argc, char** argv)
evel_last_epoch_set(&vpp_m->header, epoch_now);
epoch_start = epoch_now;
+ evel_nfcnamingcode_set(&vpp_m->header, "vVNF");
+ evel_nfnamingcode_set(&vpp_m->header, "vVNF");
//strcpy(vpp_m_header->reporting_entity_id.value, "No UUID available");
//strcpy(vpp_m_header->reporting_entity_name, hostname);
evel_reporting_entity_name_set(&vpp_m->header, "fwll");
diff --git a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
index afbbce8d..98450f0f 100644
--- a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
+++ b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
@@ -206,7 +206,7 @@ int main(int argc, char** argv)
packets_out_this_round = 0;
}
- vpp_m = evel_new_measurement(READ_INTERVAL);
+ vpp_m = evel_new_measurement(READ_INTERVAL,"Measurement_vVNF","TrafficStats_1.2.3.4");
vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance("eth0", "true");
evel_meas_vnic_performance_add(vpp_m, vnic_performance);
@@ -237,9 +237,11 @@ int main(int argc, char** argv)
evel_last_epoch_set(&vpp_m->header, epoch_now);
epoch_start = epoch_now;
+ evel_nfcnamingcode_set(&vpp_m->header, "vVNF");
+ evel_nfnamingcode_set(&vpp_m->header, "vVNF");
//strcpy(vpp_m_header->reporting_entity_id.value, "No UUID available");
//strcpy(vpp_m_header->reporting_entity_name, hostname);
- evel_reporting_entity_name_set(&vpp_m->header, hostname);
+ evel_reporting_entity_name_set(&vpp_m->header, "lbll");
evel_reporting_entity_id_set(&vpp_m->header, "No UUID available");
evel_rc = evel_post_event(vpp_m_header);
diff --git a/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf b/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf
index 1a8ee2e3..6fd09843 100644
--- a/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf
+++ b/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf
@@ -1,3 +1,4 @@
-{"url": "http://localhost/sdnc.php?macaddr=",
+{
+ "url": "http://DMAAP_IPADDR:3904/events/VCPE-DHCP-EVENT/",
"siaddr": "siaddr"
}
diff --git a/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf.test b/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf.test
new file mode 100644
index 00000000..beba0f15
--- /dev/null
+++ b/vnfs/vCPE/kea-sdnc-notify-mod/etc/kea-sdnc-notify.conf.test
@@ -0,0 +1,4 @@
+{
+ "url": "http://localhost/sdnc.php",
+ "siaddr": "siaddr"
+}
diff --git a/vnfs/vCPE/kea-sdnc-notify-mod/src/pkt4_send.cc b/vnfs/vCPE/kea-sdnc-notify-mod/src/pkt4_send.cc
index 231a0a8b..70d86289 100644
--- a/vnfs/vCPE/kea-sdnc-notify-mod/src/pkt4_send.cc
+++ b/vnfs/vCPE/kea-sdnc-notify-mod/src/pkt4_send.cc
@@ -84,10 +84,12 @@ int pkt4_send(CalloutHandle& handle) {
hwaddr = hwaddr_ptr->toText(false);
yiaddr = new_yiaddr.toText();
msg_name = response4_ptr->getName();
- post_data = "{ macaddr=" + hwaddr + "&yiaddr=" + yiaddr + "&msg=" + msg_name + "}";
- final_url = json_params[0] + hwaddr;
+ /* POST string for DMaaP */
+ post_data = "{\n\"macaddr\":\"" + hwaddr + "\",\n\"yiaddr\":\"" + yiaddr + "\",\n\"msg_name\":\"" + msg_name + "\"\n}";
+ final_url = json_params[0] ;
LOG_DEBUG(logger, 0, "SNL_BASE").arg(final_url);
LOG_DEBUG(logger, 0, "SNL_BASE").arg(yiaddr);
+ LOG_DEBUG(logger, 0, "SNL_BASE").arg(post_data);
if ( msg_name == "DHCPACK")
@@ -106,6 +108,7 @@ int pkt4_send(CalloutHandle& handle) {
return(1);
}
+ list = curl_slist_append(list, "Content-type: application/json");
list = curl_slist_append(list, "Accept: application/json");
if (list == NULL) {
curl_easy_cleanup(curl);
@@ -126,15 +129,11 @@ int pkt4_send(CalloutHandle& handle) {
curl_opt_res += curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
curl_opt_res += curl_easy_setopt(curl, CURLOPT_HEADER, 1L);
- // If we don't set a timeout, curl will try for 300 seconds by default.
+ // Default curl timeout is 300 seconds
curl_opt_res += curl_easy_setopt(curl, CURLOPT_TIMEOUT, 1L);
curl_opt_res += curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 1L);
- // libcurl's docs say to cast as void, don't blame me.
curl_opt_res += curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)response_memfile);
- // CURLOPT_URL takes a char*
curl_opt_res += curl_easy_setopt(curl, CURLOPT_URL, (final_url).c_str());
-
- // let curl use strlen
curl_opt_res += curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, -1L );
curl_opt_res += curl_easy_setopt(curl, CURLOPT_POSTFIELDS, post_data.c_str() );
curl_opt_res += curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list);
diff --git a/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf b/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
new file mode 100644
index 00000000..3e2287d1
--- /dev/null
+++ b/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
@@ -0,0 +1,59 @@
+{
+"Dhcp4":
+ {
+# For testing, you can use veth pair as described in README.md
+ "interfaces-config": {
+ "interfaces": ["eth0" ]
+ },
+
+ "lease-database": {
+ "type": "memfile"
+ },
+
+ "expired-leases-processing": {
+ "reclaim-timer-wait-time": 10,
+ "flush-reclaimed-timer-wait-time": 25,
+ "hold-reclaimed-time": 3600,
+ "max-reclaim-leases": 100,
+ "max-reclaim-time": 250,
+ "unwarned-reclaim-cycles": 5
+ },
+
+ "valid-lifetime": 300,
+
+# Ensure you set some sensible defaults for the siaddr and option-data,
+# otherwise the options won't be added at all.
+# Also keep in mind that if kea doesn't receive the desired values for some
+# reason, these values will be sent to the client.
+ "subnet4": [
+ { "subnet": "10.2.0.0/24",
+ "pools" : [ { "pool": "10.2.0.2 - 10.2.0.255"} ],
+ "next-server": "10.2.0.1",
+ "option-data": [
+ {"name": "tftp-server-name",
+ "data": "10.2.0.1"},
+ {"name": "boot-file-name",
+ "data": "/dev/null"}
+ ]
+ }
+ ]
+
+},
+
+"Logging":
+{
+ "loggers": [
+ {
+ "name": "kea-dhcp4",
+ "output_options": [
+ {
+ "output": "/var/log/kea-dhcp4.log"
+ }
+ ],
+ "severity": "DEBUG",
+ "debuglevel": 0
+ },
+ ]
+}
+
+}
diff --git a/vnfs/vCPE/scripts/kea-sdnc-notify.conf b/vnfs/vCPE/scripts/kea-sdnc-notify.conf
index 1a8ee2e3..6fd09843 100644
--- a/vnfs/vCPE/scripts/kea-sdnc-notify.conf
+++ b/vnfs/vCPE/scripts/kea-sdnc-notify.conf
@@ -1,3 +1,4 @@
-{"url": "http://localhost/sdnc.php?macaddr=",
+{
+ "url": "http://DMAAP_IPADDR:3904/events/VCPE-DHCP-EVENT/",
"siaddr": "siaddr"
}
diff --git a/vnfs/vCPE/scripts/v_aaa_install.sh b/vnfs/vCPE/scripts/v_aaa_install.sh
index a4a34aca..797da69c 100644
--- a/vnfs/vCPE/scripts/v_aaa_install.sh
+++ b/vnfs/vCPE/scripts/v_aaa_install.sh
@@ -48,9 +48,10 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
# Download DHCP config files
@@ -62,6 +63,9 @@ chmod +x v_aaa.sh
mv v_aaa.sh /etc/init.d
update-rc.d v_aaa.sh defaults
+# Download and install FreeRADIUS as AAA server
+apt-get install -y freeradius
+
# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
if [[ $CLOUD_ENV != "rackspace" ]]
then
diff --git a/vnfs/vCPE/scripts/v_bng_init.sh b/vnfs/vCPE/scripts/v_bng_init.sh
index a9bf588e..6fb2eadc 100644
--- a/vnfs/vCPE/scripts/v_bng_init.sh
+++ b/vnfs/vCPE/scripts/v_bng_init.sh
@@ -1 +1,4 @@
#!/bin/bash
+
+systemctl start vpp
+
diff --git a/vnfs/vCPE/scripts/v_bng_install.sh b/vnfs/vCPE/scripts/v_bng_install.sh
index dad8b2f7..02025b2e 100644
--- a/vnfs/vCPE/scripts/v_bng_install.sh
+++ b/vnfs/vCPE/scripts/v_bng_install.sh
@@ -4,6 +4,9 @@ REPO_URL_BLOB=$(cat /opt/config/repo_url_blob.txt)
REPO_URL_ARTIFACTS=$(cat /opt/config/repo_url_artifacts.txt)
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
+VPP_SOURCE_REPO_URL=$(cat /opt/config/vpp_source_repo_url.txt)
+VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/vpp_source_repo_branch.txt)
+VPP_PATCH_URL=$(cat /opt/config/vpp_patch_url.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
# Convert Network CIDR to Netmask
@@ -68,11 +71,280 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
+# Install the tools required for download codes
+apt-get install -y expect git patch
+
+#Download and build the VPP codes
+cd /opt
+git clone ${VPP_SOURCE_REPO_URL} -b ${VPP_SOURCE_REPO_BRANCH} vpp
+wget -O Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch ${VPP_PATCH_URL}
+
+cd vpp
+patch -p1 < Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch
+expect -c "
+ set timeout 60;
+ spawn make install-dep;
+ expect {
+ \"Do you want to continue?*\" {send \"Y\r\"; interact}
+ }
+"
+
+cd build-root
+./bootstrap.sh
+make V=0 PLATFORM=vpp TAG=vpp install-deb
+
+# Install the FreeRADIUS client since we need the lib
+cd /opt
+git clone https://github.com/FreeRADIUS/freeradius-client.git
+cd freeradius-client
+./configure
+make && make install
+cd /usr/local/lib && ln -s -f libfreeradius-client.so.2.0.0 libfreeradiusclient.so
+ldconfig
+
+# Install the VPP package
+cd /opt/vpp/build-root
+dpkg -i *.deb
+systemctl stop vpp
+
+# Auto-start configuration for the VPP
+cat > /etc/vpp/startup.conf << EOF
+
+unix {
+ nodaemon
+ log /tmp/vpp.log
+ full-coredump
+ cli-listen localhost:5002
+ startup-config /etc/vpp/setup.gate
+}
+
+api-trace {
+ on
+}
+
+api-segment {
+ gid vpp
+}
+
+cpu {
+ ## In the VPP there is one main thread and optionally the user can create worker(s)
+ ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
+
+ ## Manual pinning of thread(s) to CPU core(s)
+
+ ## Set logical CPU core where main thread runs
+ # main-core 1
+
+ ## Set logical CPU core(s) where worker threads are running
+ # corelist-workers 2-3,18-19
+
+ ## Automatic pinning of thread(s) to CPU core(s)
+
+ ## Sets number of CPU core(s) to be skipped (1 ... N-1)
+ ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).
+ ## The main thread is automatically pinned to the first available CPU core and worker(s)
+ ## are pinned to next free CPU core(s) after core assigned to main thread
+ # skip-cores 4
+
+ ## Specify a number of workers to be created
+ ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)
+ ## and main thread's CPU core
+ # workers 2
+
+ ## Set scheduling policy and priority of main and worker threads
+
+ ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
+ ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
+ # scheduler-policy fifo
+
+ ## Scheduling priority is used only for "real-time policies (fifo and rr),
+ ## and has to be in the range of priorities supported for a particular policy
+ # scheduler-priority 50
+}
+
+# dpdk {
+ ## Change default settings for all intefaces
+ # dev default {
+ ## Number of receive queues, enables RSS
+ ## Default is 1
+ # num-rx-queues 3
+
+ ## Number of transmit queues, Default is equal
+ ## to number of worker threads or 1 if no workers treads
+ # num-tx-queues 3
+
+ ## Number of descriptors in transmit and receive rings
+ ## increasing or reducing number can impact performance
+ ## Default is 1024 for both rx and tx
+ # num-rx-desc 512
+ # num-tx-desc 512
+
+ ## VLAN strip offload mode for interface
+ ## Default is off
+ # vlan-strip-offload on
+ # }
+
+ ## Whitelist specific interface by specifying PCI address
+ # dev 0000:02:00.0
+
+ ## Whitelist specific interface by specifying PCI address and in
+ ## addition specify custom parameters for this interface
+ # dev 0000:02:00.1 {
+ # num-rx-queues 2
+ # }
+
+ ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci
+ ## and uio_pci_generic (default)
+ # uio-driver vfio-pci
+
+ ## Disable mutli-segment buffers, improves performance but
+ ## disables Jumbo MTU support
+ # no-multi-seg
+
+ ## Increase number of buffers allocated, needed only in scenarios with
+ ## large number of interfaces and worker threads. Value is per CPU socket.
+ ## Default is 16384
+ # num-mbufs 128000
+
+ ## Change hugepages allocation per-socket, needed only if there is need for
+ ## larger number of mbufs. Default is 256M on each detected CPU socket
+ # socket-mem 2048,2048
+# }
+
+EOF
+
+cat > /etc/vpp/setup.gate << EOF
+set int state GigabitEthernet0/8/0 up
+set interface ip address GigabitEthernet0/8/0 10.4.0.4/24
+
+set int state GigabitEthernet0/9/0 up
+set interface ip address GigabitEthernet0/9/0 10.4.0.3/24
+
+set vbng dhcp4 remote 10.4.0.1 local 10.4.0.3
+set vbng aaa config /etc/vpp/vbng-aaa.cfg nas-port 5060
+EOF
+
+cat > /etc/vpp/vbng-aaa.cfg << EOF
+# General settings
+
+# specify which authentication comes first respectively which
+# authentication is used. possible values are: "radius" and "local".
+# if you specify "radius,local" then the RADIUS server is asked
+# first then the local one. if only one keyword is specified only
+# this server is asked.
+auth_order radius,local
+
+# maximum login tries a user has
+login_tries 2
+
+# timeout for all login tries
+# if this time is exceeded the user is kicked out
+login_timeout 5
+
+# name of the nologin file which when it exists disables logins.
+# it may be extended by the ttyname which will result in
+# a terminal specific lock (e.g. /etc/nologin.ttyS2 will disable
+# logins on /dev/ttyS2)
+nologin /etc/nologin
+
+# name of the issue file. it's only display when no username is passed
+# on the radlogin command line
+issue /usr/local/etc/radiusclient/issue
+
+# RADIUS settings
+
+# RADIUS server to use for authentication requests. this config
+# item can appear more then one time. if multiple servers are
+# defined they are tried in a round robin fashion if one
+# server is not answering.
+# optionally you can specify a the port number on which is remote
+# RADIUS listens separated by a colon from the hostname. if
+# no port is specified /etc/services is consulted of the radius
+# service. if this fails also a compiled in default is used.
+#authserver 10.4.0.2
+authserver localhost
+
+# RADIUS server to use for accouting requests. All that I
+# said for authserver applies, too.
+#
+#acctserver 10.4.0.2
+acctserver localhost
+
+# file holding shared secrets used for the communication
+# between the RADIUS client and server
+servers /usr/local/etc/radiusclient/servers
+
+# dictionary of allowed attributes and values
+# just like in the normal RADIUS distributions
+dictionary /usr/local/etc/radiusclient/dictionary
+
+# program to call for a RADIUS authenticated login
+login_radius /usr/local/sbin/login.radius
+
+# file which holds sequence number for communication with the
+# RADIUS server
+seqfile /var/run/radius.seq
+
+# file which specifies mapping between ttyname and NAS-Port attribute
+mapfile /usr/local/etc/radiusclient/port-id-map
+
+# default authentication realm to append to all usernames if no
+# realm was explicitly specified by the user
+# the radiusd directly form Livingston doesnt use any realms, so leave
+# it blank then
+default_realm
+
+# time to wait for a reply from the RADIUS server
+radius_timeout 10
+
+# resend request this many times before trying the next server
+radius_retries 3
+
+# The length of time in seconds that we skip a nonresponsive RADIUS
+# server for transaction requests. Server(s) being in the "dead" state
+# are tried only after all other non-dead servers have been tried and
+# failed or timeouted. The deadtime interval starts when the server
+# does not respond to an authentication/accounting request transmissions.
+# When the interval expires, the "dead" server would be re-tried again,
+# and if it's still down then it will be considered "dead" for another
+# such interval and so on. This option is no-op if there is only one
+# server in the list. Set to 0 in order to disable the feature.
+radius_deadtime 0
+
+# local address from which radius packets have to be sent
+bindaddr *
+
+# LOCAL settings
+
+# program to execute for local login
+# it must support the -f flag for preauthenticated login
+login_local /bin/login
+EOF
+
+cat >> /usr/local/etc/radiusclient/dictionary << EOF
+
+#
+# DHCP Proxy/Relay attributes
+#
+ATTRIBUTE DHCP-Agent-Circuit-Id 82.1 integer
+ATTRIBUTE DHCP-Agent-Remote-Id 82.2 string
+ATTRIBUTE DHCP-Relay-Circuit-Id 82.1 integer
+ATTRIBUTE DHCP-Relay-Remote-Id 82.2 string
+
+EOF
+
+cat >> /usr/local/etc/radiusclient/servers << EOF
+10.4.0.2 testing123
+localhost/localhost testing123
+
+EOF
+
# Download DHCP config files
cd /opt
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/v_bng_init.sh
@@ -94,4 +366,4 @@ then
reboot
fi
-./v_bng_init.sh \ No newline at end of file
+./v_bng_init.sh
diff --git a/vnfs/vCPE/scripts/v_brgemu_init.sh b/vnfs/vCPE/scripts/v_brgemu_init.sh
index a9bf588e..1bf8a500 100644
--- a/vnfs/vCPE/scripts/v_brgemu_init.sh
+++ b/vnfs/vCPE/scripts/v_brgemu_init.sh
@@ -1 +1,6 @@
#!/bin/bash
+
+systemctl start vpp
+systemctl start honeycomb
+
+/opt/set_nat.sh
diff --git a/vnfs/vCPE/scripts/v_brgemu_install.sh b/vnfs/vCPE/scripts/v_brgemu_install.sh
index 10976da1..c4626a41 100644
--- a/vnfs/vCPE/scripts/v_brgemu_install.sh
+++ b/vnfs/vCPE/scripts/v_brgemu_install.sh
@@ -4,6 +4,11 @@ REPO_URL_BLOB=$(cat /opt/config/repo_url_blob.txt)
REPO_URL_ARTIFACTS=$(cat /opt/config/repo_url_artifacts.txt)
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
+VPP_SOURCE_REPO_URL=$(cat /opt/config/vpp_source_repo_url.txt)
+VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/vpp_source_repo_branch.txt)
+VPP_PATCH_URL=$(cat /opt/config/vpp_patch_url.txt)
+HC2VPP_SOURCE_REPO_URL=$(cat /opt/config/hc2vpp_source_repo_url.txt)
+HC2VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/hc2vpp_source_repo_branch.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
# Convert Network CIDR to Netmask
@@ -38,11 +43,347 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
+# Install the tools required for download codes
+apt-get install -y expect git patch
+
+#Download and build the VPP codes
+cd /opt
+git clone ${VPP_SOURCE_REPO_URL} -b ${VPP_SOURCE_REPO_BRANCH} vpp
+wget -O VPP-Add-Option82-Nat-Filter-For-vBRG.patch ${VPP_PATCH_URL}
+
+cd vpp
+patch -p1 < ../VPP-Add-Option82-Nat-Filter-For-vBRG.patch
+expect -c "
+ set timeout 60;
+ spawn make install-dep;
+ expect {
+ \"Do you want to continue?*\" {send \"Y\r\"; interact}
+ }
+"
+
+cd build-root
+./bootstrap.sh
+make V=0 PLATFORM=vpp TAG=vpp install-deb
+
+# Install the VPP package
+dpkg -i *.deb
+systemctl stop vpp
+
+# Auto-start configuration for the VPP
+cat > /etc/vpp/startup.conf << EOF
+
+unix {
+ nodaemon
+ log /tmp/vpp.log
+ full-coredump
+ cli-listen localhost:5002
+ startup-config /etc/vpp/setup.gate
+}
+
+api-trace {
+ on
+}
+
+api-segment {
+ gid vpp
+}
+
+cpu {
+ ## In the VPP there is one main thread and optionally the user can create worker(s)
+ ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
+
+ ## Manual pinning of thread(s) to CPU core(s)
+
+ ## Set logical CPU core where main thread runs
+ # main-core 1
+
+ ## Set logical CPU core(s) where worker threads are running
+ # corelist-workers 2-3,18-19
+
+ ## Automatic pinning of thread(s) to CPU core(s)
+
+ ## Sets number of CPU core(s) to be skipped (1 ... N-1)
+ ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).
+ ## The main thread is automatically pinned to the first available CPU core and worker(s)
+ ## are pinned to next free CPU core(s) after core assigned to main thread
+ # skip-cores 4
+
+ ## Specify a number of workers to be created
+ ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)
+ ## and main thread's CPU core
+ # workers 2
+
+ ## Set scheduling policy and priority of main and worker threads
+
+ ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
+ ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
+ # scheduler-policy fifo
+
+ ## Scheduling priority is used only for "real-time policies (fifo and rr),
+ ## and has to be in the range of priorities supported for a particular policy
+ # scheduler-priority 50
+}
+
+# dpdk {
+ ## Change default settings for all intefaces
+ # dev default {
+ ## Number of receive queues, enables RSS
+ ## Default is 1
+ # num-rx-queues 3
+
+ ## Number of transmit queues, Default is equal
+ ## to number of worker threads or 1 if no workers treads
+ # num-tx-queues 3
+
+ ## Number of descriptors in transmit and receive rings
+ ## increasing or reducing number can impact performance
+ ## Default is 1024 for both rx and tx
+ # num-rx-desc 512
+ # num-tx-desc 512
+
+ ## VLAN strip offload mode for interface
+ ## Default is off
+ # vlan-strip-offload on
+ # }
+
+ ## Whitelist specific interface by specifying PCI address
+ # dev 0000:02:00.0
+
+ ## Whitelist specific interface by specifying PCI address and in
+ ## addition specify custom parameters for this interface
+ # dev 0000:02:00.1 {
+ # num-rx-queues 2
+ # }
+
+ ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci
+ ## and uio_pci_generic (default)
+ # uio-driver vfio-pci
+
+ ## Disable mutli-segment buffers, improves performance but
+ ## disables Jumbo MTU support
+ # no-multi-seg
+
+ ## Increase number of buffers allocated, needed only in scenarios with
+ ## large number of interfaces and worker threads. Value is per CPU socket.
+ ## Default is 16384
+ # num-mbufs 128000
+
+ ## Change hugepages allocation per-socket, needed only if there is need for
+ ## larger number of mbufs. Default is 256M on each detected CPU socket
+ # socket-mem 2048,2048
+# }
+
+EOF
+
+cat > /etc/vpp/setup.gate << EOF
+set int state GigabitEthernet0/8/0 up
+set dhcp client intfc GigabitEthernet0/8/0 hostname brg-emulator
+
+tap connect lstack
+set int state tap-0 up
+
+set interface l2 bridge tap-0 10 0
+set bridge-domain arp term 10
+EOF
+
+cat >> /opt/config/ip.txt << EOF
+hcip: 192.168.1.20
+EOF
+
+#set nat rule
+cat > /opt/set_nat.sh << EOF
+#! /bin/bash
+
+while :
+do
+ if [[ ! $(ps -aux | grep [[:alnum:]]*/vpp/startup.conf | wc -l) = 2 ]]; then
+ #echo "vpp not running"
+ continue
+ fi
+ flag=0
+ while read -r line
+ do
+ if [ flag = 0 ]; then
+ re=${line#*/[0-9]/[0-9]}
+ if [ "$line" != "$re" ]; then
+ flag=1
+ else
+ flag=0
+ continue
+ fi
+ else
+ ip=${line%/*}
+ if [[ $ip = *\.*\.*\.* ]]; then
+ #echo "ip address is $ip"
+ if [ ! -f /opt/config/ip.txt ]; then
+ echo "file /opt/config/ip.txt doesn't exists"
+ continue
+ fi
+ while read -r tap_ip
+ do
+ if [[ $tap_ip = hcip* ]]; then
+ tap_ip=${tap_ip#*" "}
+ echo "hc tap ip address is $tap_ip"
+ vppctl snat add static mapping local $tap_ip external $ip
+ exit 0
+ fi
+ done < /opt/config/ip.txt
+ else
+ if [[ ! $ip = */[0-9] ]]; then
+ flag=0
+ #echo "not correct"
+ fi
+ fi
+ fi
+ done < <(vppctl show int addr)
+ sleep 1
+done
+EOF
+# Download and install HC2VPP from source
+cd /opt
+git clone ${HC2VPP_SOURCE_REPO_URL} -b ${HC2VPP_SOURCE_REPO_BRANCH} hc2vpp
+
+apt-get install -y maven
+cat > ~/.m2/settings.xml << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=2 tabstop=2: -->
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>fd.io-release</id>
+ <repositories>
+ <repository>
+ <id>fd.io-mirror</id>
+ <name>fd.io-mirror</name>
+ <url>https://nexus.fd.io/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>fd.io-mirror</id>
+ <name>fd.io-mirror</name>
+ <url>https://nexus.fd.io/content/repositories/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+
+ <profile>
+ <id>fd.io-snapshots</id>
+ <repositories>
+ <repository>
+ <id>fd.io-snapshot</id>
+ <name>fd.io-snapshot</name>
+ <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>fd.io-snapshot</id>
+ <name>fd.io-snapshot</name>
+ <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ <profile>
+ <id>opendaylight-snapshots</id>
+ <repositories>
+ <repository>
+ <id>opendaylight-snapshot</id>
+ <name>opendaylight-snapshot</name>
+ <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>opendaylight-shapshot</id>
+ <name>opendaylight-snapshot</name>
+ <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
+ <activeProfiles>
+ <activeProfile>fd.io-release</activeProfile>
+ <activeProfile>fd.io-snapshots</activeProfile>
+ <activeProfile>opendaylight-snapshots</activeProfile>
+ </activeProfiles>
+</settings>
+EOF
+
+cd hc2vpp
+mvn clean install
+l_version=$(cat pom.xml | grep "<version>" | head -1)
+l_version=$(echo "${l_version%<*}")
+l_version=$(echo "${l_version#*>}")
+mv vpp-integration/minimal-distribution/target/vpp-integration-distribution-${l_version}-hc/vpp-integration-distribution-${l_version} /opt/honeycomb
+sed -i 's/127.0.0.1/0.0.0.0/g' /opt/honeycomb/config/honeycomb.json
+
+# Create systemctl service for Honeycomb
+cat > /etc/systemd/system/honeycomb.service << EOF
+[Unit]
+Description=Honeycomb Agent for the VPP control plane
+Documentation=https://wiki.fd.io/view/Honeycomb
+Requires=vpp.service
+After=vpp.service
+
+[Service]
+ExecStart=/opt/honeycomb/honeycomb
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=multi-user.target
+EOF
+systemctl enable /etc/systemd/system/honeycomb.service
+
# Download DHCP config files
cd /opt
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/v_brgemu_init.sh
@@ -64,4 +405,4 @@ then
reboot
fi
-./v_brgemu_init.sh \ No newline at end of file
+./v_brgemu_init.sh
diff --git a/vnfs/vCPE/scripts/v_dhcp_install.sh b/vnfs/vCPE/scripts/v_dhcp_install.sh
index d88ed509..f3697048 100644
--- a/vnfs/vCPE/scripts/v_dhcp_install.sh
+++ b/vnfs/vCPE/scripts/v_dhcp_install.sh
@@ -5,6 +5,7 @@ REPO_URL_ARTIFACTS=$(cat /opt/config/repo_url_artifacts.txt)
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
+MR_IP_ADDR=$(cat /opt/config/mr_ip_addr.txt)
# Convert Network CIDR to Netmask
cdr2mask () {
@@ -48,12 +49,13 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates kea-dhcp4-server g++ libcurl4-gnutls-dev libboost-dev kea-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates kea-dhcp4-server g++ libcurl4-gnutls-dev libboost-dev kea-dev
sleep 1
-# download the kea hook
+# Download the kea hook
cd /opt
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/vcpe/kea-sdnc-notify-mod/$DEMO_ARTIFACTS_VERSION/kea-sdnc-notify-mod-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
tar -zxvf kea-sdnc-notify-mod-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
@@ -78,6 +80,7 @@ update-rc.d v_dhcp.sh defaults
# Configure DHCP
cp kea-dhcp4.conf /etc/kea-dhcp4-server.conf
mv kea-dhcp4.conf /etc/kea/kea-dhcp4.conf
+sed -i "s/DMAAP_IPADDR/"$MR_IP_ADDR"/g" kea-sdnc-notify.conf
mv kea-sdnc-notify.conf /etc/kea/kea-sdnc-notify.conf
sleep 1
diff --git a/vnfs/vCPE/scripts/v_dns_init.sh b/vnfs/vCPE/scripts/v_dns_init.sh
index a9bf588e..dd85a92d 100644
--- a/vnfs/vCPE/scripts/v_dns_init.sh
+++ b/vnfs/vCPE/scripts/v_dns_init.sh
@@ -1 +1,4 @@
#!/bin/bash
+
+service kea-dhcp4-server start
+service bind9 restart \ No newline at end of file
diff --git a/vnfs/vCPE/scripts/v_dns_install.sh b/vnfs/vCPE/scripts/v_dns_install.sh
index 02ab69bf..feaa770e 100644
--- a/vnfs/vCPE/scripts/v_dns_install.sh
+++ b/vnfs/vCPE/scripts/v_dns_install.sh
@@ -48,20 +48,27 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk bind9 bind9utils bind9-doc apt-transport-https ca-certificates kea-dhcp4-server g++ libcurl4-gnutls-dev libboost-dev kea-dev
sleep 1
-# Download DHCP config files
+# Download DNS and DHCP config files
cd /opt
+wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/kea-dhcp4_no_hook.conf
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/v_dns_init.sh
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/v_dns.sh
+mv kea-dhcp4_no_hook.conf /etc/kea/kea-dhcp4.conf
chmod +x v_dns_init.sh
chmod +x v_dns.sh
mv v_dns.sh /etc/init.d
update-rc.d v_dns.sh defaults
+# Install Bind
+mkdir /etc/bind/zones
+sed -i "s/OPTIONS=.*/OPTIONS=\"-4 -u bind\"/g" /etc/default/bind9
+
# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
if [[ $CLOUD_ENV != "rackspace" ]]
then
diff --git a/vnfs/vCPE/scripts/v_gmux_init.sh b/vnfs/vCPE/scripts/v_gmux_init.sh
index a9bf588e..41730d3a 100644
--- a/vnfs/vCPE/scripts/v_gmux_init.sh
+++ b/vnfs/vCPE/scripts/v_gmux_init.sh
@@ -1 +1,6 @@
#!/bin/bash
+
+systemctl start vpp
+systemctl start honeycomb
+systemctl start autosave
+
diff --git a/vnfs/vCPE/scripts/v_gmux_install.sh b/vnfs/vCPE/scripts/v_gmux_install.sh
index b43cf7bf..9ab81403 100644
--- a/vnfs/vCPE/scripts/v_gmux_install.sh
+++ b/vnfs/vCPE/scripts/v_gmux_install.sh
@@ -4,6 +4,12 @@ REPO_URL_BLOB=$(cat /opt/config/repo_url_blob.txt)
REPO_URL_ARTIFACTS=$(cat /opt/config/repo_url_artifacts.txt)
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
+VPP_SOURCE_REPO_URL=$(cat /opt/config/vpp_source_repo_url.txt)
+VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/vpp_source_repo_branch.txt)
+VPP_PATCH_URL=$(cat /opt/config/vpp_patch_url.txt)
+HC2VPP_SOURCE_REPO_URL=$(cat /opt/config/hc2vpp_source_repo_url.txt)
+HC2VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/hc2vpp_source_repo_branch.txt)
+HC2VPP_PATCH_URL=$(cat /opt/config/hc2vpp_patch_url.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
# Convert Network CIDR to Netmask
@@ -58,11 +64,474 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
+# Install the tools required for download codes
+apt-get install -y expect git patch make
+
+#Download and build the VPP codes
+cd /opt
+git clone ${VPP_SOURCE_REPO_URL} -b ${VPP_SOURCE_REPO_BRANCH} vpp
+wget -O Vpp-Add-VES-agent-for-vG-MUX.patch ${VPP_PATCH_URL}
+
+cd vpp
+patch -p1 < ../Vpp-Add-VES-agent-for-vG-MUX.patch
+expect -c "
+ spawn make install-dep;
+ expect {
+ \"Do you want to continue?*\" {send \"Y\r\"; interact}
+ }
+"
+
+# Install the evel-library first since we need the lib
+cd /opt
+apt-get install -y libcurl4-openssl-dev
+git clone http://gerrit.onap.org/r/demo
+cd demo/vnfs/VES5.0/evel/evel-library/bldjobs
+make
+cp ../libs/x86_64/libevel.so /usr/lib
+ldconfig
+
+cd /opt/vpp/build-root
+./bootstrap.sh
+make V=0 PLATFORM=vpp TAG=vpp install-deb
+
+# Install the VPP package
+apt install -y python-ply-lex-3.5 python-ply-yacc-3.5 python-pycparser python-cffi
+dpkg -i *.deb
+systemctl stop vpp
+
+# Auto-start configuration for the VPP
+cat > /etc/vpp/startup.conf << EOF
+
+unix {
+ nodaemon
+ log /tmp/vpp.log
+ full-coredump
+ cli-listen localhost:5002
+ startup-config /etc/vpp/setup.gate
+}
+
+api-trace {
+ on
+}
+
+api-segment {
+ gid vpp
+}
+
+cpu {
+ ## In the VPP there is one main thread and optionally the user can create worker(s)
+ ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
+
+ ## Manual pinning of thread(s) to CPU core(s)
+
+ ## Set logical CPU core where main thread runs
+ # main-core 1
+
+ ## Set logical CPU core(s) where worker threads are running
+ # corelist-workers 2-3,18-19
+
+ ## Automatic pinning of thread(s) to CPU core(s)
+
+ ## Sets number of CPU core(s) to be skipped (1 ... N-1)
+ ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).
+ ## The main thread is automatically pinned to the first available CPU core and worker(s)
+ ## are pinned to next free CPU core(s) after core assigned to main thread
+ # skip-cores 4
+
+ ## Specify a number of workers to be created
+ ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)
+ ## and main thread's CPU core
+ # workers 2
+
+ ## Set scheduling policy and priority of main and worker threads
+
+ ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
+ ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
+ # scheduler-policy fifo
+
+ ## Scheduling priority is used only for "real-time policies (fifo and rr),
+ ## and has to be in the range of priorities supported for a particular policy
+ # scheduler-priority 50
+}
+
+# dpdk {
+ ## Change default settings for all intefaces
+ # dev default {
+ ## Number of receive queues, enables RSS
+ ## Default is 1
+ # num-rx-queues 3
+
+ ## Number of transmit queues, Default is equal
+ ## to number of worker threads or 1 if no workers treads
+ # num-tx-queues 3
+
+ ## Number of descriptors in transmit and receive rings
+ ## increasing or reducing number can impact performance
+ ## Default is 1024 for both rx and tx
+ # num-rx-desc 512
+ # num-tx-desc 512
+
+ ## VLAN strip offload mode for interface
+ ## Default is off
+ # vlan-strip-offload on
+ # }
+
+ ## Whitelist specific interface by specifying PCI address
+ # dev 0000:02:00.0
+
+ ## Whitelist specific interface by specifying PCI address and in
+ ## addition specify custom parameters for this interface
+ # dev 0000:02:00.1 {
+ # num-rx-queues 2
+ # }
+
+ ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci
+ ## and uio_pci_generic (default)
+ # uio-driver vfio-pci
+
+ ## Disable mutli-segment buffers, improves performance but
+ ## disables Jumbo MTU support
+ # no-multi-seg
+
+ ## Increase number of buffers allocated, needed only in scenarios with
+ ## large number of interfaces and worker threads. Value is per CPU socket.
+ ## Default is 16384
+ # num-mbufs 128000
+
+ ## Change hugepages allocation per-socket, needed only if there is need for
+ ## larger number of mbufs. Default is 256M on each detected CPU socket
+ # socket-mem 2048,2048
+# }
+
+EOF
+
+cat > /etc/vpp/setup.gate << EOF
+set int state GigabitEthernet0/8/0 up
+set int ip address GigabitEthernet0/8/0 10.1.0.20/24
+
+set int state GigabitEthernet0/9/0 up
+set int ip address GigabitEthernet0/9/0 10.5.0.20/24
+
+create vxlan tunnel src 10.5.0.20 dst 10.5.0.21 vni 100
+EOF
+
+# Download and install HC2VPP from source
+cd /opt
+git clone ${HC2VPP_SOURCE_REPO_URL} -b ${HC2VPP_SOURCE_REPO_BRANCH} hc2vpp
+wget -O Hc2vpp-Add-VES-agent-for-vG-MUX.patch ${HC2VPP_PATCH_URL}
+
+apt-get install -y maven
+cat > ~/.m2/settings.xml << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=2 tabstop=2: -->
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>fd.io-release</id>
+ <repositories>
+ <repository>
+ <id>fd.io-mirror</id>
+ <name>fd.io-mirror</name>
+ <url>https://nexus.fd.io/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>fd.io-mirror</id>
+ <name>fd.io-mirror</name>
+ <url>https://nexus.fd.io/content/repositories/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+
+ <profile>
+ <id>fd.io-snapshots</id>
+ <repositories>
+ <repository>
+ <id>fd.io-snapshot</id>
+ <name>fd.io-snapshot</name>
+ <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>fd.io-snapshot</id>
+ <name>fd.io-snapshot</name>
+ <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ <profile>
+ <id>opendaylight-snapshots</id>
+ <repositories>
+ <repository>
+ <id>opendaylight-snapshot</id>
+ <name>opendaylight-snapshot</name>
+ <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>opendaylight-shapshot</id>
+ <name>opendaylight-snapshot</name>
+ <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
+ <activeProfiles>
+ <activeProfile>fd.io-release</activeProfile>
+ <activeProfile>fd.io-snapshots</activeProfile>
+ <activeProfile>opendaylight-snapshots</activeProfile>
+ </activeProfiles>
+</settings>
+EOF
+
+cd hc2vpp
+patch -p1 < ../Hc2vpp-Add-VES-agent-for-vG-MUX.patch
+mvn clean install
+l_version=$(cat pom.xml | grep "<version>" | head -1)
+l_version=$(echo "${l_version%<*}")
+l_version=$(echo "${l_version#*>}")
+mv vpp-integration/minimal-distribution/target/vpp-integration-distribution-${l_version}-hc/vpp-integration-distribution-${l_version} /opt/honeycomb
+sed -i 's/127.0.0.1/0.0.0.0/g' /opt/honeycomb/config/honeycomb.json
+
+# Create systemctl service for Honeycomb
+cat > /etc/systemd/system/honeycomb.service << EOF
+[Unit]
+Description=Honeycomb Agent for the VPP control plane
+Documentation=https://wiki.fd.io/view/Honeycomb
+Requires=vpp.service
+After=vpp.service
+
+[Service]
+ExecStart=/opt/honeycomb/honeycomb
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=multi-user.target
+EOF
+systemctl enable /etc/systemd/system/honeycomb.service
+
+#Create a systemd service for auto-save
+cat > /usr/bin/save_config << EOF
+#!/bin/bash
+
+#########################################################################
+#
+# Copyright (c) 2017 Intel and/or its affiliates.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+##########################################################################
+
+############################### Variables ################################
+VPP_SETUP_GATE=/etc/vpp/setup.gate
+
+############################### Functions ################################
+
+# Write the commands to the startup scripts.
+#
+# We could set VPP configuration to the startup.conf.
+# Write the configuration to the startup scripts so we could
+# restore the system after rebooting.
+#
+write_startup_scripts()
+{
+ local cmd=${2}
+ local is_add=${1}
+
+ if [[ ${is_add} == add ]] ;then
+ while read -r line
+ do
+ if [[ ${line} == ${cmd} ]] ;then
+ return 0
+ fi
+ done < ${VPP_SETUP_GATE}
+
+ echo "${cmd}" >> ${VPP_SETUP_GATE}
+ else
+ while read -r line
+ do
+ if [[ ${line} == ${cmd} ]] ;then
+ sed -i "/${line}/d" ${VPP_SETUP_GATE}
+ return 0
+ fi
+ done < ${VPP_SETUP_GATE}
+ fi
+}
+
+# Saves the VES agent configuration to the startup script.
+#
+# Get the current VES agent configuration from the bash command:
+# $vppctl show ves agent
+# Server Addr Server Port Interval Enabled
+# 127.0.0.1 8080 10 True
+# Set the VES agent configuration with the bash command:
+# $vppctl set ves agent server 127.0.0.1 port 8080 intval 10
+#
+save_ves_config()
+{
+ local server=""
+ local port=""
+ local intval=""
+
+ local ves_config=`vppctl show ves agent | head -2 | tail -1`
+ if [ "${ves_config}" != "" ] ;then
+ server=`echo ${ves_config} | awk '{ print $1 }'`
+ port=`echo ${ves_config} | awk '{ print $2 }'`
+ intval=`echo ${ves_config} | awk '{ print $3 }'`
+ write_startup_scripts add "set ves agent server ${server} port ${port} intval ${intval}"
+ fi
+}
+
+# Save the VxLAN Tunnel Configuration to the startup script.
+#
+# Get the current VxLAN tunnel configuration with bash command:
+# $vppctl show vxlan tunnel
+# [0] src 10.3.0.2 dst 10.1.0.20 vni 100 sw_if_index 1 encap_fib_index 0 fib_entry_index 7 decap_next l2
+# [1] src 10.5.0.20 dst 10.5.0.21 vni 100 sw_if_index 2 encap_fib_index 0 fib_entry_index 8 decap_next l2
+# Set the VxLAN Tunnel with the bash command:
+# $vppctl create vxlan tunnel src 10.3.0.2 dst 10.1.0.20 vni 100
+# vxlan_tunnel0
+save_vxlan_tunnel()
+{
+ local src=""
+ local dst=""
+ local vni=""
+
+ vppctl show vxlan tunnel | while read line
+ do
+ if [ "${line}" != "" ] ;then
+ src=`echo ${line} | awk '{ print $3 }'`
+ dst=`echo ${line} | awk '{ print $5 }'`
+ vni=`echo ${line} | awk '{ print $7 }'`
+
+ write_startup_scripts add "create vxlan tunnel src ${src} dst ${dst} vni ${vni}"
+ fi
+ done
+}
+
+# Save the VxLAN tunnel L2 xconnect configuration to the startup script.
+#
+# Get the Current L2 Address configuration with bash command:
+# $vppctl show int addr
+# local0 (dn):
+# vxlan_tunnel0 (up):
+# l2 xconnect vxlan_tunnel1
+# vxlan_tunnel1 (up):
+# l2 xconnect vxlan_tunnel0
+# Save the VxLAN tunnel L2 xconnect configuration with bash command:
+# $vppctl set interface l2 xconnect vxlan_tunnel0 vxlan_tunnel1
+#
+save_vxlan_xconnect()
+{
+ local ingress=""
+ local egress=""
+
+ vppctl show int addr | while read line
+ do
+ if [[ ${line} == vxlan_tunnel* ]] ;then
+ read next
+ while [[ ${next} != l2* ]] || [[ ${next} == "" ]]
+ do
+ line=`echo ${next}`
+ read next
+ done
+ if [[ ${next} == l2* ]] ;then
+ ingress=`echo ${line} | awk '{ print $1 }'`
+ egress=`echo ${next} | awk '{ print $3 }'`
+ write_startup_scripts add "set interface l2 xconnect ${ingress} ${egress}"
+ fi
+ fi
+ done
+}
+
+################################# MAIN ###################################
+
+save_ves_config
+
+save_vxlan_tunnel
+
+save_vxlan_xconnect
+
+EOF
+chmod a+x /usr/bin/save_config
+cat > /etc/systemd/system/autosave.service << EOF
+[Unit]
+Description=Run Scripts at Start and Stop
+Requires=vpp.service
+After=vpp.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStop=/usr/bin/save_config
+
+[Install]
+WantedBy=multi-user.target
+EOF
+systemctl enable /etc/systemd/system/autosave.service
+
# Download DHCP config files
cd /opt
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/v_gmux_init.sh
@@ -84,4 +553,4 @@ then
reboot
fi
-./v_gmux_init.sh \ No newline at end of file
+./v_gmux_init.sh
diff --git a/vnfs/vCPE/scripts/v_gw_init.sh b/vnfs/vCPE/scripts/v_gw_init.sh
index a9bf588e..344374d3 100644
--- a/vnfs/vCPE/scripts/v_gw_init.sh
+++ b/vnfs/vCPE/scripts/v_gw_init.sh
@@ -1 +1,5 @@
#!/bin/bash
+
+systemctl start vpp
+systemctl start honeycomb
+
diff --git a/vnfs/vCPE/scripts/v_gw_install.sh b/vnfs/vCPE/scripts/v_gw_install.sh
index cafb204d..3a12d7ed 100644
--- a/vnfs/vCPE/scripts/v_gw_install.sh
+++ b/vnfs/vCPE/scripts/v_gw_install.sh
@@ -4,6 +4,10 @@ REPO_URL_BLOB=$(cat /opt/config/repo_url_blob.txt)
REPO_URL_ARTIFACTS=$(cat /opt/config/repo_url_artifacts.txt)
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
+VPP_SOURCE_REPO_URL=$(cat /opt/config/vpp_source_repo_url.txt)
+VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/vpp_source_repo_branch.txt)
+HC2VPP_SOURCE_REPO_URL=$(cat /opt/config/hc2vpp_source_repo_url.txt)
+HC2VPP_SOURCE_REPO_BRANCH=$(cat /opt/config/hc2vpp_source_repo_branch.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
# Convert Network CIDR to Netmask
@@ -48,11 +52,314 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
+# Install the tools required for download codes
+apt-get install -y expect git
+
+#Download and build the VPP codes
+cd /opt
+git clone ${VPP_SOURCE_REPO_URL} -b ${VPP_SOURCE_REPO_BRANCH} vpp
+
+cd vpp
+expect -c "
+ set timeout 60;
+ spawn make install-dep;
+ expect {
+ \"Do you want to continue?*\" {send \"Y\r\"; interact}
+ }
+"
+
+cd build-root
+./bootstrap.sh
+make V=0 PLATFORM=vpp TAG=vpp install-deb
+
+# Install the VPP package
+dpkg -i *.deb
+systemctl stop vpp
+
+# Auto-start configuration for the VPP
+cat > /etc/vpp/startup.conf << EOF
+
+unix {
+ nodaemon
+ log /tmp/vpp.log
+ full-coredump
+ cli-listen localhost:5002
+ startup-config /etc/vpp/setup.gate
+}
+
+api-trace {
+ on
+}
+
+api-segment {
+ gid vpp
+}
+
+cpu {
+ ## In the VPP there is one main thread and optionally the user can create worker(s)
+ ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
+
+ ## Manual pinning of thread(s) to CPU core(s)
+
+ ## Set logical CPU core where main thread runs
+ # main-core 1
+
+ ## Set logical CPU core(s) where worker threads are running
+ # corelist-workers 2-3,18-19
+
+ ## Automatic pinning of thread(s) to CPU core(s)
+
+ ## Sets number of CPU core(s) to be skipped (1 ... N-1)
+ ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).
+ ## The main thread is automatically pinned to the first available CPU core and worker(s)
+ ## are pinned to next free CPU core(s) after core assigned to main thread
+ # skip-cores 4
+
+ ## Specify a number of workers to be created
+ ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)
+ ## and main thread's CPU core
+ # workers 2
+
+ ## Set scheduling policy and priority of main and worker threads
+
+ ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
+ ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
+ # scheduler-policy fifo
+
+ ## Scheduling priority is used only for "real-time policies (fifo and rr),
+ ## and has to be in the range of priorities supported for a particular policy
+ # scheduler-priority 50
+}
+
+# dpdk {
+ ## Change default settings for all intefaces
+ # dev default {
+ ## Number of receive queues, enables RSS
+ ## Default is 1
+ # num-rx-queues 3
+
+ ## Number of transmit queues, Default is equal
+ ## to number of worker threads or 1 if no workers treads
+ # num-tx-queues 3
+
+ ## Number of descriptors in transmit and receive rings
+ ## increasing or reducing number can impact performance
+ ## Default is 1024 for both rx and tx
+ # num-rx-desc 512
+ # num-tx-desc 512
+
+ ## VLAN strip offload mode for interface
+ ## Default is off
+ # vlan-strip-offload on
+ # }
+
+ ## Whitelist specific interface by specifying PCI address
+ # dev 0000:02:00.0
+
+ ## Whitelist specific interface by specifying PCI address and in
+ ## addition specify custom parameters for this interface
+ # dev 0000:02:00.1 {
+ # num-rx-queues 2
+ # }
+
+ ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci
+ ## and uio_pci_generic (default)
+ # uio-driver vfio-pci
+
+ ## Disable mutli-segment buffers, improves performance but
+ ## disables Jumbo MTU support
+ # no-multi-seg
+
+ ## Increase number of buffers allocated, needed only in scenarios with
+ ## large number of interfaces and worker threads. Value is per CPU socket.
+ ## Default is 16384
+ # num-mbufs 128000
+
+ ## Change hugepages allocation per-socket, needed only if there is need for
+ ## larger number of mbufs. Default is 256M on each detected CPU socket
+ # socket-mem 2048,2048
+# }
+
+EOF
+
+cat > /etc/vpp/setup.gate << EOF
+set int state GigabitEthernet0/8/0 up
+set int ip address GigabitEthernet0/8/0 10.5.0.21/24
+
+set int state GigabitEthernet0/9/0 up
+set dhcp client intfc GigabitEthernet0/9/0 hostname vg-1
+
+tap connect lstack address 192.168.1.1/24
+set int state tap-0 up
+
+create vxlan tunnel src 10.5.0.21 dst 10.5.0.20 vni 100
+
+set interface l2 bridge tap-0 10 0
+set interface l2 bridge vxlan_tunnel0 10 1
+set bridge-domain arp term 10
+
+set int ip address vxlan_tunnel0 192.168.1.254/24
+set interface snat in vxlan_tunnel0 out GigabitEthernet0/9/0
+EOF
+
+# Download and install HC2VPP from source
+cd /opt
+git clone ${HC2VPP_SOURCE_REPO_URL} -b ${HC2VPP_SOURCE_REPO_BRANCH} hc2vpp
+
+apt-get install -y maven
+cat > ~/.m2/settings.xml << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vi: set et smarttab sw=2 tabstop=2: -->
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+
+ <profiles>
+ <profile>
+ <id>fd.io-release</id>
+ <repositories>
+ <repository>
+ <id>fd.io-mirror</id>
+ <name>fd.io-mirror</name>
+ <url>https://nexus.fd.io/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>fd.io-mirror</id>
+ <name>fd.io-mirror</name>
+ <url>https://nexus.fd.io/content/repositories/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+
+ <profile>
+ <id>fd.io-snapshots</id>
+ <repositories>
+ <repository>
+ <id>fd.io-snapshot</id>
+ <name>fd.io-snapshot</name>
+ <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>fd.io-snapshot</id>
+ <name>fd.io-snapshot</name>
+ <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ <profile>
+ <id>opendaylight-snapshots</id>
+ <repositories>
+ <repository>
+ <id>opendaylight-snapshot</id>
+ <name>opendaylight-snapshot</name>
+ <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>opendaylight-shapshot</id>
+ <name>opendaylight-snapshot</name>
+ <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
+ <activeProfiles>
+ <activeProfile>fd.io-release</activeProfile>
+ <activeProfile>fd.io-snapshots</activeProfile>
+ <activeProfile>opendaylight-snapshots</activeProfile>
+ </activeProfiles>
+</settings>
+EOF
+
+cd hc2vpp
+mvn clean install
+l_version=$(cat pom.xml | grep "<version>" | head -1)
+l_version=$(echo "${l_version%<*}")
+l_version=$(echo "${l_version#*>}")
+mv vpp-integration/minimal-distribution/target/vpp-integration-distribution-${l_version}-hc/vpp-integration-distribution-${l_version} /opt/honeycomb
+sed -i 's/127.0.0.1/0.0.0.0/g' /opt/honeycomb/config/honeycomb.json
+
+# Create systemctl service for Honeycomb
+cat > /etc/systemd/system/honeycomb.service << EOF
+[Unit]
+Description=Honeycomb Agent for the VPP control plane
+Documentation=https://wiki.fd.io/view/Honeycomb
+Requires=vpp.service
+After=vpp.service
+
+[Service]
+ExecStart=/opt/honeycomb/honeycomb
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=multi-user.target
+EOF
+systemctl enable /etc/systemd/system/honeycomb.service
+
+# Install the DHCP server and config
+apt-get install -y isc-dhcp-server
+cat >> /etc/dhcp/dhcpd.conf << EOF
+subnet 192.168.1.0 netmask 255.255.255.0 {
+ range 192.168.1.2 192.168.1.253;
+ option subnet-mask 255.255.255.0;
+ option routers 192.168.1.254;
+ option broadcast-address 192.168.1.255;
+ default-lease-time 600;
+ max-lease-time 7200;
+}
+EOF
+
# Download DHCP config files
cd /opt
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vcpe/$INSTALL_SCRIPT_VERSION/v_gw_init.sh
@@ -74,4 +381,4 @@ then
reboot
fi
-./v_gw_init.sh \ No newline at end of file
+./v_gw_init.sh
diff --git a/vnfs/vCPE/scripts/v_web_install.sh b/vnfs/vCPE/scripts/v_web_install.sh
index 94d3ebd7..e207dd09 100644
--- a/vnfs/vCPE/scripts/v_web_install.sh
+++ b/vnfs/vCPE/scripts/v_web_install.sh
@@ -48,9 +48,10 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-https ca-certificates g++ libcurl4-gnutls-dev
sleep 1
# Download DHCP config files
@@ -62,6 +63,19 @@ chmod +x v_web.sh
mv v_web.sh /etc/init.d
update-rc.d v_web.sh defaults
+# Install Apache2 web server
+apt-get update
+apt install -y apache2
+mv /var/www/html/index.html /var/www/html/index.html.example
+cat > /var/www/html/index.html << EOF
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>
+<center><h1>Welcome to the vCPE Use Case Web Server!</h1><center>
+</body>
+</html>
+EOF
+
# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
if [[ $CLOUD_ENV != "rackspace" ]]
then
diff --git a/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch b/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch
new file mode 100755
index 00000000..73b19150
--- /dev/null
+++ b/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch
@@ -0,0 +1,99 @@
+diff --git a/src/plugins/snat/out2in.c b/src/plugins/snat/out2in.c
+index 5c12b47..f7c7caf 100644
+--- a/src/plugins/snat/out2in.c
++++ b/src/plugins/snat/out2in.c
+@@ -1,3 +1,4 @@
++
+ /*
+ * Copyright (c) 2016 Cisco and/or its affiliates.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+@@ -658,6 +659,26 @@ snat_out2in_node_fn (vlib_main_t * vm,
+ n_left_from = frame->n_vectors;
+ next_index = node->cached_next_index;
+
++ //FOR BRG
++ ip4_address_t * sdnc_addr = malloc(4);
++ char line_input[128];
++ char * path = "/opt/config/ip.txt";
++ FILE * f = fopen(path, "r");
++ if (f == NULL)
++ printf("cannot open such file\n");
++
++ while (fgets(line_input, 128, f) != NULL){
++ if (!strcmp(strtok(line_input, " "),"sdnc_ip:")){
++ char * ip = strtok(NULL, " ");
++ char * num = strtok(ip, ".");
++ sdnc_addr->data[0] = atoi(num);
++ for (int i = 1; i < 4; i ++){
++ num = strtok(NULL, ".");
++ sdnc_addr->data[i] = atoi(num);
++ }
++ }
++ }
++
+ while (n_left_from > 0)
+ {
+ u32 n_left_to_next;
+@@ -733,6 +754,13 @@ snat_out2in_node_fn (vlib_main_t * vm,
+
+ proto0 = ip_proto_to_snat_proto (ip0->protocol);
+
++ //for BRG
++ if (PREDICT_TRUE (ip0->src_address.data_u32 != sdnc_addr->data_u32))
++ {
++ next0 = SNAT_OUT2IN_NEXT_LOOKUP;
++ goto trace0;
++ }
++
+ if (PREDICT_FALSE (proto0 == ~0))
+ {
+ snat_out2in_unknown_proto(sm, b0, ip0, rx_fib_index0);
+@@ -871,6 +899,13 @@ snat_out2in_node_fn (vlib_main_t * vm,
+
+ proto1 = ip_proto_to_snat_proto (ip1->protocol);
+
++ //for BRG
++ if (PREDICT_TRUE (ip1->src_address.data_u32 != sdnc_addr->data_u32))
++ {
++ next1 = SNAT_OUT2IN_NEXT_LOOKUP;
++ goto trace1;
++ }
++
+ if (PREDICT_FALSE (proto1 == ~0))
+ {
+ snat_out2in_unknown_proto(sm, b1, ip1, rx_fib_index1);
+@@ -1033,6 +1068,13 @@ snat_out2in_node_fn (vlib_main_t * vm,
+
+ proto0 = ip_proto_to_snat_proto (ip0->protocol);
+
++ //for BRG
++ if (PREDICT_TRUE (ip0->src_address.data_u32 != sdnc_addr->data_u32))
++ {
++ next0 = SNAT_OUT2IN_NEXT_LOOKUP;
++ goto trace00;
++ }
++
+ if (PREDICT_FALSE (proto0 == ~0))
+ {
+ snat_out2in_unknown_proto(sm, b0, ip0, rx_fib_index0);
+diff --git a/src/vnet/dhcp/client.c b/src/vnet/dhcp/client.c
+index 014f17a..296e1a7 100644
+--- a/src/vnet/dhcp/client.c
++++ b/src/vnet/dhcp/client.c
+@@ -427,6 +427,16 @@ send_dhcp_pkt (dhcp_client_main_t * dcm, dhcp_client_t * c,
+ clib_memcpy (o->data, c->option_55_data, vec_len(c->option_55_data));
+ o = (dhcp_option_t *) (((uword) o) + (o->length + 2));
+
++ /*send option 82*/
++ u8 sub2_len = vec_len(hw->hw_address);
++ o->option = 82;
++ o->length = sub2_len + 2;
++ u8 sub_option = 2;
++ clib_memcpy (o->data, &sub_option, 1);
++ clib_memcpy (o->data + 1,&sub2_len, 1);
++ clib_memcpy (o->data + 2, hw->hw_address, vec_len(hw->hw_address));
++ o = (dhcp_option_t *) (((uword) o) + (o->length +2));
++
+ /* End of list */
+ o->option = 0xff;
+ o->length = 0;
diff --git a/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch b/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch
new file mode 100644
index 00000000..4a9218b2
--- /dev/null
+++ b/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch
@@ -0,0 +1,13239 @@
+From 0a97fd92483349178a6750ec4a232fea4f9864df Mon Sep 17 00:00:00 2001
+From: Johnson Li <johnson.li@intel.com>
+Date: Fri, 8 Sep 2017 17:09:58 +0800
+Subject: [PATCH] Integrate FreeRADIUS Client for vBNG
+
+Signed-off-by: Johnson Li <johnson.li@intel.com>
+
+diff --git a/src/configure.ac b/src/configure.ac
+index fb2ead6d..ef5537da 100644
+--- a/src/configure.ac
++++ b/src/configure.ac
+@@ -152,6 +152,7 @@ PLUGIN_ENABLED(ioam)
+ PLUGIN_ENABLED(ixge)
+ PLUGIN_ENABLED(lb)
+ PLUGIN_ENABLED(memif)
++PLUGIN_ENABLED(vbng)
+ PLUGIN_ENABLED(sixrd)
+ PLUGIN_ENABLED(snat)
+
+diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
+index 623892e7..d6f607fc 100644
+--- a/src/plugins/Makefile.am
++++ b/src/plugins/Makefile.am
+@@ -61,6 +61,10 @@ if ENABLE_MEMIF_PLUGIN
+ include memif.am
+ endif
+
++if ENABLE_VBNG_PLUGIN
++include vbng.am
++endif
++
+ if ENABLE_SIXRD_PLUGIN
+ include sixrd.am
+ endif
+diff --git a/src/plugins/vbng.am b/src/plugins/vbng.am
+new file mode 100644
+index 00000000..99398f49
+--- /dev/null
++++ b/src/plugins/vbng.am
+@@ -0,0 +1,32 @@
++# Copyright (c) 2017 Intel and/or its affiliates.
++# Licensed under the Apache License, Version 2.0 (the "License");
++# you may not use this file except in compliance with the License.
++# You may obtain a copy of the License at:
++#
++# http://www.apache.org/licenses/LICENSE-2.0
++#
++# Unless required by applicable law or agreed to in writing, software
++# distributed under the License is distributed on an "AS IS" BASIS,
++# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++# See the License for the specific language governing permissions and
++# limitations under the License.
++
++vppplugins_LTLIBRARIES += vbng_plugin.la
++
++vbng_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lfreeradiusclient
++
++vbng_plugin_la_SOURCES = vbng/vbng_dhcp4_node.c \
++ vbng/vbng_dhcp4.c \
++ vbng/vbng_api.c \
++ vbng/vbng_aaa.c
++
++BUILT_SOURCES += vbng/vbng.api.h \
++ vbng/vbng.api.json
++
++API_FILES += vbng/vbng.api
++
++nobase_apiinclude_HEADERS += vbng/vbng_all_api_h.h \
++ vbng/vbng_msg_enum.h \
++ vbng/vbng.api.h
++
++# vi:syntax=automake
+diff --git a/src/plugins/vbng/etc/dictionary b/src/plugins/vbng/etc/dictionary
+new file mode 100644
+index 00000000..45f4189c
+--- /dev/null
++++ b/src/plugins/vbng/etc/dictionary
+@@ -0,0 +1,274 @@
++#
++# Updated 97/06/13 to livingston-radius-2.01 miquels@cistron.nl
++#
++# This file contains dictionary translations for parsing
++# requests and generating responses. All transactions are
++# composed of Attribute/Value Pairs. The value of each attribute
++# is specified as one of 4 data types. Valid data types are:
++#
++# string - 0-253 octets
++# ipaddr - 4 octets in network byte order
++# integer - 32 bit value in big endian order (high byte first)
++# date - 32 bit value in big endian order - seconds since
++# 00:00:00 GMT, Jan. 1, 1970
++#
++# Enumerated values are stored in the user file with dictionary
++# VALUE translations for easy administration.
++#
++# Example:
++#
++# ATTRIBUTE VALUE
++# --------------- -----
++# Framed-Protocol = PPP
++# 7 = 1 (integer encoding)
++#
++
++#
++# Following are the proper new names. Use these.
++#
++ATTRIBUTE User-Name 1 string
++ATTRIBUTE Password 2 string
++ATTRIBUTE CHAP-Password 3 string
++ATTRIBUTE NAS-IP-Address 4 ipaddr
++ATTRIBUTE NAS-Port-Id 5 integer
++ATTRIBUTE Service-Type 6 integer
++ATTRIBUTE Framed-Protocol 7 integer
++ATTRIBUTE Framed-IP-Address 8 ipaddr
++ATTRIBUTE Framed-IP-Netmask 9 ipaddr
++ATTRIBUTE Framed-Routing 10 integer
++ATTRIBUTE Filter-Id 11 string
++ATTRIBUTE Framed-MTU 12 integer
++ATTRIBUTE Framed-Compression 13 integer
++ATTRIBUTE Login-IP-Host 14 ipaddr
++ATTRIBUTE Login-Service 15 integer
++ATTRIBUTE Login-TCP-Port 16 integer
++ATTRIBUTE Reply-Message 18 string
++ATTRIBUTE Callback-Number 19 string
++ATTRIBUTE Callback-Id 20 string
++ATTRIBUTE Framed-Route 22 string
++ATTRIBUTE Framed-IPX-Network 23 ipaddr
++ATTRIBUTE State 24 string
++ATTRIBUTE Class 25 string
++ATTRIBUTE Vendor-Specific 26 string
++ATTRIBUTE Session-Timeout 27 integer
++ATTRIBUTE Idle-Timeout 28 integer
++ATTRIBUTE Termination-Action 29 integer
++ATTRIBUTE Called-Station-Id 30 string
++ATTRIBUTE Calling-Station-Id 31 string
++ATTRIBUTE NAS-Identifier 32 string
++ATTRIBUTE Proxy-State 33 string
++ATTRIBUTE Login-LAT-Service 34 string
++ATTRIBUTE Login-LAT-Node 35 string
++ATTRIBUTE Login-LAT-Group 36 string
++ATTRIBUTE Framed-AppleTalk-Link 37 integer
++ATTRIBUTE Framed-AppleTalk-Network 38 integer
++ATTRIBUTE Framed-AppleTalk-Zone 39 string
++ATTRIBUTE Acct-Status-Type 40 integer
++ATTRIBUTE Acct-Delay-Time 41 integer
++ATTRIBUTE Acct-Input-Octets 42 integer
++ATTRIBUTE Acct-Output-Octets 43 integer
++ATTRIBUTE Acct-Session-Id 44 string
++ATTRIBUTE Acct-Authentic 45 integer
++ATTRIBUTE Acct-Session-Time 46 integer
++ATTRIBUTE Acct-Input-Packets 47 integer
++ATTRIBUTE Acct-Output-Packets 48 integer
++ATTRIBUTE Acct-Terminate-Cause 49 integer
++ATTRIBUTE Acct-Multi-Session-Id 50 string
++ATTRIBUTE Acct-Link-Count 51 integer
++ATTRIBUTE Acct-Input-Gigawords 52 integer
++ATTRIBUTE Acct-Output-Gigawords 53 integer
++ATTRIBUTE Event-Timestamp 55 integer
++ATTRIBUTE CHAP-Challenge 60 string
++ATTRIBUTE NAS-Port-Type 61 integer
++ATTRIBUTE Port-Limit 62 integer
++ATTRIBUTE Login-LAT-Port 63 integer
++ATTRIBUTE Connect-Info 77 string
++
++#
++# RFC3162 IPv6 attributes
++#
++ATTRIBUTE NAS-IPv6-Address 95 string
++ATTRIBUTE Framed-Interface-Id 96 string
++ATTRIBUTE Framed-IPv6-Prefix 97 ipv6prefix
++ATTRIBUTE Login-IPv6-Host 98 string
++ATTRIBUTE Framed-IPv6-Route 99 string
++ATTRIBUTE Framed-IPv6-Pool 100 string
++
++#
++# RFC6911 IPv6 attributes
++#
++ATTRIBUTE Framed-IPv6-Address 168 ipv6addr
++ATTRIBUTE DNS-Server-IPv6-Address 169 ipv6addr
++ATTRIBUTE Route-IPv6-Information 170 ipv6prefix
++
++#
++# Experimental Non Protocol Attributes used by Cistron-Radiusd
++#
++ATTRIBUTE Huntgroup-Name 221 string
++ATTRIBUTE User-Category 1029 string
++ATTRIBUTE Group-Name 1030 string
++ATTRIBUTE Simultaneous-Use 1034 integer
++ATTRIBUTE Strip-User-Name 1035 integer
++ATTRIBUTE Fall-Through 1036 integer
++ATTRIBUTE Add-Port-To-IP-Address 1037 integer
++ATTRIBUTE Exec-Program 1038 string
++ATTRIBUTE Exec-Program-Wait 1039 string
++ATTRIBUTE Hint 1040 string
++
++#
++# Non-Protocol Attributes
++# These attributes are used internally by the server
++#
++ATTRIBUTE Expiration 21 date
++ATTRIBUTE Auth-Type 1000 integer
++ATTRIBUTE Menu 1001 string
++ATTRIBUTE Termination-Menu 1002 string
++ATTRIBUTE Prefix 1003 string
++ATTRIBUTE Suffix 1004 string
++ATTRIBUTE Group 1005 string
++ATTRIBUTE Crypt-Password 1006 string
++ATTRIBUTE Connect-Rate 1007 integer
++
++#
++# Integer Translations
++#
++
++# User Types
++
++VALUE Service-Type Login-User 1
++VALUE Service-Type Framed-User 2
++VALUE Service-Type Callback-Login-User 3
++VALUE Service-Type Callback-Framed-User 4
++VALUE Service-Type Outbound-User 5
++VALUE Service-Type Administrative-User 6
++VALUE Service-Type NAS-Prompt-User 7
++VALUE Service-Type Authenticate-Only 8
++VALUE Service-Type Callback-NAS-Prompt 9
++VALUE Service-Type Call-Check 10
++VALUE Service-Type Callback-Administrative 11
++
++# Framed Protocols
++
++VALUE Framed-Protocol PPP 1
++VALUE Framed-Protocol SLIP 2
++VALUE Framed-Protocol ARAP 3
++VALUE Framed-Protocol GANDALF-SLMLP 4
++VALUE Framed-Protocol XYLOGICS-IPX-SLIP 5
++VALUE Framed-Protocol X75 6
++
++# Framed Routing Values
++
++VALUE Framed-Routing None 0
++VALUE Framed-Routing Broadcast 1
++VALUE Framed-Routing Listen 2
++VALUE Framed-Routing Broadcast-Listen 3
++
++# Framed Compression Types
++
++VALUE Framed-Compression None 0
++VALUE Framed-Compression Van-Jacobson-TCP-IP 1
++VALUE Framed-Compression IPX-Header 2
++VALUE Framed-Compression Stac-LZS 3
++
++# Login Services
++
++VALUE Login-Service Telnet 0
++VALUE Login-Service Rlogin 1
++VALUE Login-Service TCP-Clear 2
++VALUE Login-Service PortMaster 3
++VALUE Login-Service LAT 4
++VALUE Login-Service X.25-PAD 5
++VALUE Login-Service X.25-T3POS 6
++VALUE Login-Service TCP-Clear-Quiet 8
++
++# Status Types
++
++VALUE Acct-Status-Type Start 1
++VALUE Acct-Status-Type Stop 2
++VALUE Acct-Status-Type Alive 3
++VALUE Acct-Status-Type Accounting-On 7
++VALUE Acct-Status-Type Accounting-Off 8
++
++# Authentication Types
++
++VALUE Acct-Authentic RADIUS 1
++VALUE Acct-Authentic Local 2
++VALUE Acct-Authentic Remote 3
++
++# Termination Options
++
++VALUE Termination-Action Default 0
++VALUE Termination-Action RADIUS-Request 1
++
++# NAS Port Types, available in 3.3.1 and later
++
++VALUE NAS-Port-Type Async 0
++VALUE NAS-Port-Type Sync 1
++VALUE NAS-Port-Type ISDN 2
++VALUE NAS-Port-Type ISDN-V120 3
++VALUE NAS-Port-Type ISDN-V110 4
++VALUE NAS-Port-Type Virtual 5
++VALUE NAS-Port-Type PIAFS 6
++VALUE NAS-Port-Type HDLC-Clear-Channel 7
++VALUE NAS-Port-Type X.25 8
++VALUE NAS-Port-Type X.75 9
++VALUE NAS-Port-Type G.3-Fax 10
++VALUE NAS-Port-Type SDSL 11
++VALUE NAS-Port-Type ADSL-CAP 12
++VALUE NAS-Port-Type ADSL-DMT 13
++VALUE NAS-Port-Type IDSL 14
++VALUE NAS-Port-Type Ethernet 15
++
++# Acct Terminate Causes, available in 3.3.2 and later
++
++VALUE Acct-Terminate-Cause User-Request 1
++VALUE Acct-Terminate-Cause Lost-Carrier 2
++VALUE Acct-Terminate-Cause Lost-Service 3
++VALUE Acct-Terminate-Cause Idle-Timeout 4
++VALUE Acct-Terminate-Cause Session-Timeout 5
++VALUE Acct-Terminate-Cause Admin-Reset 6
++VALUE Acct-Terminate-Cause Admin-Reboot 7
++VALUE Acct-Terminate-Cause Port-Error 8
++VALUE Acct-Terminate-Cause NAS-Error 9
++VALUE Acct-Terminate-Cause NAS-Request 10
++VALUE Acct-Terminate-Cause NAS-Reboot 11
++VALUE Acct-Terminate-Cause Port-Unneeded 12
++VALUE Acct-Terminate-Cause Port-Preempted 13
++VALUE Acct-Terminate-Cause Port-Suspended 14
++VALUE Acct-Terminate-Cause Service-Unavailable 15
++VALUE Acct-Terminate-Cause Callback 16
++VALUE Acct-Terminate-Cause User-Error 17
++VALUE Acct-Terminate-Cause Host-Request 18
++
++#
++# Non-Protocol Integer Translations
++#
++
++VALUE Auth-Type Local 0
++VALUE Auth-Type System 1
++VALUE Auth-Type SecurID 2
++VALUE Auth-Type Crypt-Local 3
++VALUE Auth-Type Reject 4
++
++#
++# Cistron extensions
++#
++VALUE Auth-Type Pam 253
++VALUE Auth-Type Accept 254
++
++#
++# Experimental Non-Protocol Integer Translations for Cistron-Radiusd
++#
++VALUE Fall-Through No 0
++VALUE Fall-Through Yes 1
++VALUE Add-Port-To-IP-Address No 0
++VALUE Add-Port-To-IP-Address Yes 1
++
++#
++# Configuration Values
++# uncomment these two lines to turn account expiration on
++#
++
++#VALUE Server-Config Password-Expiration 30
++#VALUE Server-Config Password-Warning 5
++
+diff --git a/src/plugins/vbng/etc/dictionary.ascend b/src/plugins/vbng/etc/dictionary.ascend
+new file mode 100644
+index 00000000..a02c207d
+--- /dev/null
++++ b/src/plugins/vbng/etc/dictionary.ascend
+@@ -0,0 +1,297 @@
++#
++# Ascend dictionary.
++#
++# Enable by putting the line "$INCLUDE dictionary.ascend" into
++# the main dictionary file.
++#
++# Version: 1.00 21-Jul-1997 Jens Glaser <jens@regio.net>
++#
++
++
++#
++# Ascend specific extensions
++# Used by ASCEND MAX/Pipeline products
++#
++ATTRIBUTE Ascend-FCP-Parameter 119 string
++ATTRIBUTE Ascend-Modem-PortNo 120 integer
++ATTRIBUTE Ascend-Modem-SlotNo 121 integer
++ATTRIBUTE Ascend-Modem-ShelfNo 122 integer
++ATTRIBUTE Ascend-Call-Attempt-Limit 123 integer
++ATTRIBUTE Ascend-Call-Block-Duration 124 integer
++ATTRIBUTE Ascend-Maximum-Call-Duration 125 integer
++ATTRIBUTE Ascend-Temporary-Rtes 126 integer
++ATTRIBUTE Tunneling-Protocol 127 integer
++ATTRIBUTE Ascend-Shared-Profile-Enable 128 integer
++ATTRIBUTE Ascend-Primary-Home-Agent 129 string
++ATTRIBUTE Ascend-Secondary-Home-Agent 130 string
++ATTRIBUTE Ascend-Dialout-Allowed 131 integer
++ATTRIBUTE Ascend-Client-Gateway 132 ipaddr
++ATTRIBUTE Ascend-BACP-Enable 133 integer
++ATTRIBUTE Ascend-DHCP-Maximum-Leases 134 integer
++ATTRIBUTE Ascend-Client-Primary-DNS 135 ipaddr
++ATTRIBUTE Ascend-Client-Secondary-DNS 136 ipaddr
++ATTRIBUTE Ascend-Client-Assign-DNS 137 integer
++ATTRIBUTE Ascend-User-Acct-Type 138 integer
++ATTRIBUTE Ascend-User-Acct-Host 139 ipaddr
++ATTRIBUTE Ascend-User-Acct-Port 140 integer
++ATTRIBUTE Ascend-User-Acct-Key 141 string
++ATTRIBUTE Ascend-User-Acct-Base 142 integer
++ATTRIBUTE Ascend-User-Acct-Time 143 integer
++ATTRIBUTE Ascend-Assign-IP-Client 144 ipaddr
++ATTRIBUTE Ascend-Assign-IP-Server 145 ipaddr
++ATTRIBUTE Ascend-Assign-IP-Global-Pool 146 string
++ATTRIBUTE Ascend-DHCP-Reply 147 integer
++ATTRIBUTE Ascend-DHCP-Pool-Number 148 integer
++ATTRIBUTE Ascend-Expect-Callback 149 integer
++ATTRIBUTE Ascend-Event-Type 150 integer
++ATTRIBUTE Ascend-Session-Svr-Key 151 string
++ATTRIBUTE Ascend-Multicast-Rate-Limit 152 integer
++ATTRIBUTE Ascend-IF-Netmask 153 ipaddr
++ATTRIBUTE Ascend-Remote-Addr 154 ipaddr
++ATTRIBUTE Ascend-Multicast-Client 155 integer
++ATTRIBUTE Ascend-FR-Circuit-Name 156 string
++ATTRIBUTE Ascend-FR-LinkUp 157 integer
++ATTRIBUTE Ascend-FR-Nailed-Grp 158 integer
++ATTRIBUTE Ascend-FR-Type 159 integer
++ATTRIBUTE Ascend-FR-Link-Mgt 160 integer
++ATTRIBUTE Ascend-FR-N391 161 integer
++ATTRIBUTE Ascend-FR-DCE-N392 162 integer
++ATTRIBUTE Ascend-FR-DTE-N392 163 integer
++ATTRIBUTE Ascend-FR-DCE-N393 164 integer
++ATTRIBUTE Ascend-FR-DTE-N393 165 integer
++ATTRIBUTE Ascend-FR-T391 166 integer
++ATTRIBUTE Ascend-FR-T392 167 integer
++ATTRIBUTE Ascend-Bridge-Address 168 string
++ATTRIBUTE Ascend-TS-Idle-Limit 169 integer
++ATTRIBUTE Ascend-TS-Idle-Mode 170 integer
++ATTRIBUTE Ascend-DBA-Monitor 171 integer
++ATTRIBUTE Ascend-Base-Channel-Count 172 integer
++ATTRIBUTE Ascend-Minimum-Channels 173 integer
++ATTRIBUTE Ascend-IPX-Route 174 string
++ATTRIBUTE Ascend-FT1-Caller 175 integer
++ATTRIBUTE Ascend-Backup 176 string
++ATTRIBUTE Ascend-Call-Type 177 integer
++ATTRIBUTE Ascend-Group 178 string
++ATTRIBUTE Ascend-FR-DLCI 179 integer
++ATTRIBUTE Ascend-FR-Profile-Name 180 string
++ATTRIBUTE Ascend-Ara-PW 181 string
++ATTRIBUTE Ascend-IPX-Node-Addr 182 string
++ATTRIBUTE Ascend-Home-Agent-IP-Addr 183 ipaddr
++ATTRIBUTE Ascend-Home-Agent-Password 184 string
++ATTRIBUTE Ascend-Home-Network-Name 185 string
++ATTRIBUTE Ascend-Home-Agent-UDP-Port 186 integer
++ATTRIBUTE Ascend-Multilink-ID 187 integer
++ATTRIBUTE Ascend-Num-In-Multilink 188 integer
++ATTRIBUTE Ascend-First-Dest 189 ipaddr
++ATTRIBUTE Ascend-Pre-Input-Octets 190 integer
++ATTRIBUTE Ascend-Pre-Output-Octets 191 integer
++ATTRIBUTE Ascend-Pre-Input-Packets 192 integer
++ATTRIBUTE Ascend-Pre-Output-Packets 193 integer
++ATTRIBUTE Ascend-Maximum-Time 194 integer
++ATTRIBUTE Ascend-Disconnect-Cause 195 integer
++ATTRIBUTE Ascend-Connect-Progress 196 integer
++ATTRIBUTE Ascend-Data-Rate 197 integer
++ATTRIBUTE Ascend-PreSession-Time 198 integer
++ATTRIBUTE Ascend-Token-Idle 199 integer
++ATTRIBUTE Ascend-Token-Immediate 200 integer
++ATTRIBUTE Ascend-Require-Auth 201 integer
++ATTRIBUTE Ascend-Number-Sessions 202 string
++ATTRIBUTE Ascend-Authen-Alias 203 string
++ATTRIBUTE Ascend-Token-Expiry 204 integer
++ATTRIBUTE Ascend-Menu-Selector 205 string
++ATTRIBUTE Ascend-Menu-Item 206 string
++ATTRIBUTE Ascend-PW-Warntime 207 integer
++ATTRIBUTE Ascend-PW-Lifetime 208 integer
++ATTRIBUTE Ascend-IP-Direct 209 ipaddr
++ATTRIBUTE Ascend-PPP-VJ-Slot-Comp 210 integer
++ATTRIBUTE Ascend-PPP-VJ-1172 211 integer
++ATTRIBUTE Ascend-PPP-Async-Map 212 integer
++ATTRIBUTE Ascend-Third-Prompt 213 string
++ATTRIBUTE Ascend-Send-Secret 214 string
++ATTRIBUTE Ascend-Receive-Secret 215 string
++ATTRIBUTE Ascend-IPX-Peer-Mode 216 integer
++ATTRIBUTE Ascend-IP-Pool-Definition 217 string
++ATTRIBUTE Ascend-Assign-IP-Pool 218 integer
++ATTRIBUTE Ascend-FR-Direct 219 integer
++ATTRIBUTE Ascend-FR-Direct-Profile 220 string
++ATTRIBUTE Ascend-FR-Direct-DLCI 221 integer
++ATTRIBUTE Ascend-Handle-IPX 222 integer
++ATTRIBUTE Ascend-Netware-timeout 223 integer
++ATTRIBUTE Ascend-IPX-Alias 224 integer
++ATTRIBUTE Ascend-Metric 225 integer
++ATTRIBUTE Ascend-PRI-Number-Type 226 integer
++ATTRIBUTE Ascend-Dial-Number 227 string
++ATTRIBUTE Ascend-Route-IP 228 integer
++ATTRIBUTE Ascend-Route-IPX 229 integer
++ATTRIBUTE Ascend-Bridge 230 integer
++ATTRIBUTE Ascend-Send-Auth 231 integer
++ATTRIBUTE Ascend-Send-Passwd 232 string
++ATTRIBUTE Ascend-Link-Compression 233 integer
++ATTRIBUTE Ascend-Target-Util 234 integer
++ATTRIBUTE Ascend-Maximum-Channels 235 integer
++ATTRIBUTE Ascend-Inc-Channel-Count 236 integer
++ATTRIBUTE Ascend-Dec-Channel-Count 237 integer
++ATTRIBUTE Ascend-Seconds-Of-History 238 integer
++ATTRIBUTE Ascend-History-Weigh-Type 239 integer
++ATTRIBUTE Ascend-Add-Seconds 240 integer
++ATTRIBUTE Ascend-Remove-Seconds 241 integer
++ATTRIBUTE Ascend-Idle-Limit 244 integer
++ATTRIBUTE Ascend-Preempt-Limit 245 integer
++ATTRIBUTE Ascend-Callback 246 integer
++ATTRIBUTE Ascend-Data-Svc 247 integer
++ATTRIBUTE Ascend-Force-56 248 integer
++ATTRIBUTE Ascend-Billing-Number 249 string
++ATTRIBUTE Ascend-Call-By-Call 250 integer
++ATTRIBUTE Ascend-Transit-Number 251 string
++ATTRIBUTE Ascend-Host-Info 252 string
++ATTRIBUTE Ascend-PPP-Address 253 ipaddr
++ATTRIBUTE Ascend-MPP-Idle-Percent 254 integer
++ATTRIBUTE Ascend-Xmit-Rate 255 integer
++
++
++
++# Ascend protocols
++VALUE Service-Type Dialout-Framed-User 5
++VALUE Framed-Protocol ARA 255
++VALUE Framed-Protocol MPP 256
++VALUE Framed-Protocol EURAW 257
++VALUE Framed-Protocol EUUI 258
++VALUE Framed-Protocol X25 259
++VALUE Framed-Protocol COMB 260
++VALUE Framed-Protocol FR 261
++VALUE Framed-Protocol MP 262
++VALUE Framed-Protocol FR-CIR 263
++
++
++#
++# Ascend specific extensions
++# Used by ASCEND MAX/Pipeline products (see above)
++#
++
++VALUE Ascend-FR-Direct FR-Direct-No 0
++VALUE Ascend-FR-Direct FR-Direct-Yes 1
++VALUE Ascend-Handle-IPX Handle-IPX-None 0
++VALUE Ascend-Handle-IPX Handle-IPX-Client 1
++VALUE Ascend-Handle-IPX Handle-IPX-Server 2
++VALUE Ascend-IPX-Peer-Mode IPX-Peer-Router 0
++VALUE Ascend-IPX-Peer-Mode IPX-Peer-Dialin 1
++VALUE Ascend-Call-Type Nailed 1
++VALUE Ascend-Call-Type Nailed/Mpp 2
++VALUE Ascend-Call-Type Perm/Switched 3
++VALUE Ascend-FT1-Caller FT1-No 0
++VALUE Ascend-FT1-Caller FT1-Yes 1
++VALUE Ascend-PRI-Number-Type Unknown-Number 0
++VALUE Ascend-PRI-Number-Type Intl-Number 1
++VALUE Ascend-PRI-Number-Type National-Number 2
++VALUE Ascend-PRI-Number-Type Local-Number 4
++VALUE Ascend-PRI-Number-Type Abbrev-Number 5
++VALUE Ascend-Route-IPX Route-IPX-No 0
++VALUE Ascend-Route-IPX Route-IPX-Yes 1
++VALUE Ascend-Bridge Bridge-No 0
++VALUE Ascend-Bridge Bridge-Yes 1
++VALUE Ascend-TS-Idle-Mode TS-Idle-None 0
++VALUE Ascend-TS-Idle-Mode TS-Idle-Input 1
++VALUE Ascend-TS-Idle-Mode TS-Idle-Input-Output 2
++VALUE Ascend-Send-Auth Send-Auth-None 0
++VALUE Ascend-Send-Auth Send-Auth-PAP 1
++VALUE Ascend-Send-Auth Send-Auth-CHAP 2
++VALUE Ascend-Send-Auth Send-Auth-MS-CHAP 3
++VALUE Ascend-Link-Compression Link-Comp-None 0
++VALUE Ascend-Link-Compression Link-Comp-Stac 1
++VALUE Ascend-Link-Compression Link-Comp-Stac-Draft-9 2
++VALUE Ascend-Link-Compression Link-Comp-MS-Stac 3
++VALUE Ascend-History-Weigh-Type History-Constant 0
++VALUE Ascend-History-Weigh-Type History-Linear 1
++VALUE Ascend-History-Weigh-Type History-Quadratic 2
++VALUE Ascend-Callback Callback-No 0
++VALUE Ascend-Callback Callback-Yes 1
++VALUE Ascend-Expect-Callback Expect-Callback-No 0
++VALUE Ascend-Expect-Callback Expect-Callback-Yes 1
++VALUE Ascend-Data-Svc Switched-Voice-Bearer 0
++VALUE Ascend-Data-Svc Switched-56KR 1
++VALUE Ascend-Data-Svc Switched-64K 2
++VALUE Ascend-Data-Svc Switched-64KR 3
++VALUE Ascend-Data-Svc Switched-56K 4
++VALUE Ascend-Data-Svc Switched-384KR 5
++VALUE Ascend-Data-Svc Switched-384K 6
++VALUE Ascend-Data-Svc Switched-1536K 7
++VALUE Ascend-Data-Svc Switched-1536KR 8
++VALUE Ascend-Data-Svc Switched-128K 9
++VALUE Ascend-Data-Svc Switched-192K 10
++VALUE Ascend-Data-Svc Switched-256K 11
++VALUE Ascend-Data-Svc Switched-320K 12
++VALUE Ascend-Data-Svc Switched-384K-MR 13
++VALUE Ascend-Data-Svc Switched-448K 14
++VALUE Ascend-Data-Svc Switched-512K 15
++VALUE Ascend-Data-Svc Switched-576K 16
++VALUE Ascend-Data-Svc Switched-640K 17
++VALUE Ascend-Data-Svc Switched-704K 18
++VALUE Ascend-Data-Svc Switched-768K 19
++VALUE Ascend-Data-Svc Switched-832K 20
++VALUE Ascend-Data-Svc Switched-896K 21
++VALUE Ascend-Data-Svc Switched-960K 22
++VALUE Ascend-Data-Svc Switched-1024K 23
++VALUE Ascend-Data-Svc Switched-1088K 24
++VALUE Ascend-Data-Svc Switched-1152K 25
++VALUE Ascend-Data-Svc Switched-1216K 26
++VALUE Ascend-Data-Svc Switched-1280K 27
++VALUE Ascend-Data-Svc Switched-1344K 28
++VALUE Ascend-Data-Svc Switched-1408K 29
++VALUE Ascend-Data-Svc Switched-1472K 30
++VALUE Ascend-Data-Svc Switched-1600K 31
++VALUE Ascend-Data-Svc Switched-1664K 32
++VALUE Ascend-Data-Svc Switched-1728K 33
++VALUE Ascend-Data-Svc Switched-1792K 34
++VALUE Ascend-Data-Svc Switched-1856K 35
++VALUE Ascend-Data-Svc Switched-1920K 36
++VALUE Ascend-Data-Svc Switched-inherited 37
++VALUE Ascend-Data-Svc Switched-restricted-bearer-x30 38
++VALUE Ascend-Data-Svc Switched-clear-bearer-v110 39
++VALUE Ascend-Data-Svc Switched-restricted-64-x30 40
++VALUE Ascend-Data-Svc Switched-clear-56-v110 41
++VALUE Ascend-Data-Svc Switched-modem 42
++VALUE Ascend-Data-Svc Switched-atmodem 43
++VALUE Ascend-Data-Svc Nailed-56KR 1
++VALUE Ascend-Data-Svc Nailed-64K 2
++VALUE Ascend-Force-56 Force-56-No 0
++VALUE Ascend-Force-56 Force-56-Yes 1
++VALUE Ascend-PW-Lifetime Lifetime-In-Days 0
++VALUE Ascend-PW-Warntime Days-Of-Warning 0
++VALUE Ascend-PPP-VJ-1172 PPP-VJ-1172 1
++VALUE Ascend-PPP-VJ-Slot-Comp VJ-Slot-Comp-No 1
++VALUE Ascend-Require-Auth Not-Require-Auth 0
++VALUE Ascend-Require-Auth Require-Auth 1
++VALUE Ascend-Token-Immediate Tok-Imm-No 0
++VALUE Ascend-Token-Immediate Tok-Imm-Yes 1
++VALUE Ascend-DBA-Monitor DBA-Transmit 0
++VALUE Ascend-DBA-Monitor DBA-Transmit-Recv 1
++VALUE Ascend-DBA-Monitor DBA-None 2
++VALUE Ascend-FR-Type Ascend-FR-DTE 0
++VALUE Ascend-FR-Type Ascend-FR-DCE 1
++VALUE Ascend-FR-Type Ascend-FR-NNI 2
++VALUE Ascend-FR-Link-Mgt Ascend-FR-No-Link-Mgt 0
++VALUE Ascend-FR-Link-Mgt Ascend-FR-T1-617D 1
++VALUE Ascend-FR-Link-Mgt Ascend-FR-Q-933A 2
++VALUE Ascend-FR-LinkUp Ascend-LinkUp-Default 0
++VALUE Ascend-FR-LinkUp Ascend-LinkUp-AlwaysUp 1
++VALUE Ascend-Multicast-Client Multicast-No 0
++VALUE Ascend-Multicast-Client Multicast-Yes 1
++VALUE Ascend-User-Acct-Type Ascend-User-Acct-None 0
++VALUE Ascend-User-Acct-Type Ascend-User-Acct-User 1
++VALUE Ascend-User-Acct-Type Ascend-User-Acct-User-Default 2
++VALUE Ascend-User-Acct-Base Base-10 0
++VALUE Ascend-User-Acct-Base Base-16 1
++VALUE Ascend-DHCP-Reply DHCP-Reply-No 0
++VALUE Ascend-DHCP-Reply DHCP-Reply-Yes 1
++VALUE Ascend-Client-Assign-DNS DNS-Assign-No 0
++VALUE Ascend-Client-Assign-DNS DNS-Assign-Yes 1
++VALUE Ascend-Event-Type Ascend-ColdStart 1
++VALUE Ascend-Event-Type Ascend-Session-Event 2
++VALUE Ascend-BACP-Enable BACP-No 0
++VALUE Ascend-BACP-Enable BACP-Yes 1
++VALUE Ascend-Dialout-Allowed Dialout-Not-Allowed 0
++VALUE Ascend-Dialout-Allowed Dialout-Allowed 1
++VALUE Ascend-Shared-Profile-Enable Shared-Profile-No 0
++VALUE Ascend-Shared-Profile-Enable Shared-Profile-Yes 1
++VALUE Ascend-Temporary-Rtes Temp-Rtes-No 0
++VALUE Ascend-Temporary-Rtes Temp-Rtes-Yes 1
+diff --git a/src/plugins/vbng/etc/dictionary.compat b/src/plugins/vbng/etc/dictionary.compat
+new file mode 100644
+index 00000000..4c85ea87
+--- /dev/null
++++ b/src/plugins/vbng/etc/dictionary.compat
+@@ -0,0 +1,47 @@
++#
++# Obsolete names for backwards compatibility with older users files.
++# Move the $INCLUDE in the main dictionary file to the end if you want
++# these names to be used in the "details" logfile.
++#
++ATTRIBUTE Client-Id 4 ipaddr
++ATTRIBUTE Client-Port-Id 5 integer
++ATTRIBUTE User-Service-Type 6 integer
++ATTRIBUTE Framed-Address 8 ipaddr
++ATTRIBUTE Framed-Netmask 9 ipaddr
++ATTRIBUTE Framed-Filter-Id 11 string
++ATTRIBUTE Login-Host 14 ipaddr
++ATTRIBUTE Login-Port 16 integer
++ATTRIBUTE Old-Password 17 string
++ATTRIBUTE Port-Message 18 string
++ATTRIBUTE Dialback-No 19 string
++ATTRIBUTE Dialback-Name 20 string
++ATTRIBUTE Challenge-State 24 string
++VALUE Framed-Compression Van-Jacobsen-TCP-IP 1
++VALUE Framed-Compression VJ-TCP-IP 1
++VALUE Service-Type Shell-User 6
++VALUE Auth-Type Unix 1
++VALUE Service-Type Dialback-Login-User 3
++VALUE Service-Type Dialback-Framed-User 4
++
++#
++# For compatibility with MERIT users files.
++#
++ATTRIBUTE NAS-Port 5 integer
++ATTRIBUTE Login-Host 14 ipaddr
++ATTRIBUTE Login-Callback-Number 19 string
++ATTRIBUTE Framed-Callback-Id 20 string
++ATTRIBUTE Client-Port-DNIS 30 string
++ATTRIBUTE Caller-ID 31 string
++VALUE Service-Type Login 1
++VALUE Service-Type Framed 2
++VALUE Service-Type Callback-Login 3
++VALUE Service-Type Callback-Framed 4
++VALUE Service-Type Exec-User 7
++
++#
++# For compatibility with ESVA RADIUS, Old Cistron RADIUS
++#
++ATTRIBUTE Session 1034 integer
++ATTRIBUTE User-Name-Is-Star 1035 integer
++VALUE User-Name-Is-Star No 0
++VALUE User-Name-Is-Star Yes 1
+diff --git a/src/plugins/vbng/etc/dictionary.dhcp b/src/plugins/vbng/etc/dictionary.dhcp
+new file mode 100644
+index 00000000..cf329348
+--- /dev/null
++++ b/src/plugins/vbng/etc/dictionary.dhcp
+@@ -0,0 +1,440 @@
++# -*- text -*-
++# Copyright (C) 2011 The FreeRADIUS Server project and contributors
++##############################################################################
++#
++# DHCP to RADUS gateway dictionary.
++#
++# http://www.iana.org/assignments/bootp-dhcp-parameters
++#
++# Also http://www.networksorcery.com/enp/protocol/bootp/options.htm
++#
++# http://www.bind9.net/rfc-dhcp
++#
++# $Id: 73632c57d3860bb30749a1df4dad2320d5f79f31 $
++#
++##############################################################################
++
++#
++
++# This is really Apollo's number, but since they're out of business,
++# I don't think they'll be needing this.
++#
++# HP owns the Apollo assets, but let's not worry about that.
++#
++# The vendor codes are 2 octets, because we need 256 numbers
++# for the base DHCP options, PLUS a few for the DHCP headers,
++# which aren't in option format.
++#
++# On top of that, a number of options are really TLV's.
++# We need to be able to understand them, too.
++#
++VENDOR DHCP 54 format=2,1
++
++BEGIN-VENDOR DHCP
++
++ATTRIBUTE DHCP-Opcode 256 byte
++ATTRIBUTE DHCP-Hardware-Type 257 byte
++ATTRIBUTE DHCP-Hardware-Address-Length 258 byte
++ATTRIBUTE DHCP-Hop-Count 259 byte
++ATTRIBUTE DHCP-Transaction-Id 260 integer
++ATTRIBUTE DHCP-Number-of-Seconds 261 short
++ATTRIBUTE DHCP-Flags 262 short
++ATTRIBUTE DHCP-Client-IP-Address 263 ipaddr
++ATTRIBUTE DHCP-Your-IP-Address 264 ipaddr
++ATTRIBUTE DHCP-Server-IP-Address 265 ipaddr
++ATTRIBUTE DHCP-Gateway-IP-Address 266 ipaddr
++ATTRIBUTE DHCP-Client-Hardware-Address 267 ether # 16 octets
++ATTRIBUTE DHCP-Server-Host-Name 268 string # 64 octets
++ATTRIBUTE DHCP-Boot-Filename 269 string # 128 octets
++
++ATTRIBUTE DHCP-Relay-To-IP-Address 270 ipaddr
++ATTRIBUTE DHCP-Relay-Max-Hop-Count 271 integer
++
++# This is copied from the request packet, giaddr, and
++# added to the reply packet by the server core.
++ATTRIBUTE DHCP-Relay-IP-Address 272 ipaddr
++
++VALUE DHCP-Flags Broadcast 0x8000
++
++VALUE DHCP-Hardware-Type Ethernet 1
++VALUE DHCP-Hardware-Type Experiemental-Ethernet 2
++VALUE DHCP-Hardware-Type AX.25 3
++VALUE DHCP-Hardware-Type Proteon-Token-Ring 4
++VALUE DHCP-Hardware-Type Chaos 5
++VALUE DHCP-Hardware-Type IEEE-802 6
++VALUE DHCP-Hardware-Type Arcnet 7
++VALUE DHCP-Hardware-Type Hyperchannel 8
++VALUE DHCP-Hardware-Type Lanstar 9
++VALUE DHCP-Hardware-Type Autonet-Short-Address 10
++VALUE DHCP-Hardware-Type LocalTalk 11
++VALUE DHCP-Hardware-Type LocalNet 12
++VALUE DHCP-Hardware-Type Ultra-Link 13
++VALUE DHCP-Hardware-Type SMDS 14
++VALUE DHCP-Hardware-Type Frame-Relay 15
++VALUE DHCP-Hardware-Type ATM-16 16
++VALUE DHCP-Hardware-Type HDLC 17
++VALUE DHCP-Hardware-Type Fibre-Channel 18
++VALUE DHCP-Hardware-Type ATM-19 19
++VALUE DHCP-Hardware-Type Serial-Line 20
++VALUE DHCP-Hardware-Type ATM-21 21
++VALUE DHCP-Hardware-Type MIL-STD-188-220 22
++VALUE DHCP-Hardware-Type Metricom 23
++VALUE DHCP-Hardware-Type IEEE-1394 24
++VALUE DHCP-Hardware-Type MAPOS 25
++VALUE DHCP-Hardware-Type Twinaxial 26
++VALUE DHCP-Hardware-Type EUI-64 27
++VALUE DHCP-Hardware-Type HIPARP 28
++VALUE DHCP-Hardware-Type IP-Over-ISO-7816-3 29
++VALUE DHCP-Hardware-Type ARPSec 30
++VALUE DHCP-Hardware-Type IPSec-Tunnel 31
++VALUE DHCP-Hardware-Type Infiniband 32
++VALUE DHCP-Hardware-Type CAI-TIA-102 33
++
++##############################################################################
++#
++# DHCP Options, with comments. For now, many are "octets",
++# as FreeRADIUS doesn't handle complex data structures.
++#
++##############################################################################
++
++#ATTRIBUTE DHCP-Pad 0 octets
++ATTRIBUTE DHCP-Subnet-Mask 1 ipaddr
++# Time Offset in twos-complement notation.
++ATTRIBUTE DHCP-Time-Offset 2 integer
++ATTRIBUTE DHCP-Router-Address 3 ipaddr array
++ATTRIBUTE DHCP-Time-Server 4 ipaddr array
++ATTRIBUTE DHCP-IEN-116-Name-Server 5 ipaddr array
++ATTRIBUTE DHCP-Domain-Name-Server 6 ipaddr array
++# Logging-Server addresses
++ATTRIBUTE DHCP-Log-Server 7 ipaddr array
++ATTRIBUTE DHCP-Quotes-Server 8 ipaddr array
++ATTRIBUTE DHCP-LPR-Server 9 ipaddr array
++ATTRIBUTE DHCP-Impress-Server 10 ipaddr array
++ATTRIBUTE DHCP-RLP-Server 11 ipaddr array
++# Hostname string
++ATTRIBUTE DHCP-Hostname 12 string
++# Size of boot file in 512 byte
++ATTRIBUTE DHCP-Boot-File-Size 13 short
++# Client to dump and name
++ATTRIBUTE DHCP-Merit-Dump-File 14 octets
++ATTRIBUTE DHCP-Domain-Name 15 string
++ATTRIBUTE DHCP-Swap-Server 16 ipaddr
++# Path name for root disk
++ATTRIBUTE DHCP-Root-Path 17 string
++ATTRIBUTE DHCP-Bootp-Extensions-Path 18 string
++ATTRIBUTE DHCP-IP-Forward-Enable 19 byte
++ATTRIBUTE DHCP-Source-Route-Enable 20 byte
++# Routing Policy Filters
++ATTRIBUTE DHCP-Policy-Filter 21 octets
++ATTRIBUTE DHCP-Max-Datagram-Reassembly-Sz 22 short
++ATTRIBUTE DHCP-Default-IP-TTL 23 octets
++ATTRIBUTE DHCP-Path-MTU-Aging-Timeout 24 integer
++ATTRIBUTE DHCP-Path-MTU-Plateau-Table 25 short array
++ATTRIBUTE DHCP-Interface-MTU-Size 26 short
++ATTRIBUTE DHCP-All-Subnets-Are-Local 27 byte
++ATTRIBUTE DHCP-Broadcast-Address 28 ipaddr
++ATTRIBUTE DHCP-Perform-Mask-Discovery 29 byte
++ATTRIBUTE DHCP-Provide-Mask-To-Others 30 byte
++ATTRIBUTE DHCP-Perform-Router-Discovery 31 byte
++ATTRIBUTE DHCP-Router-Solicitation-Address 32 ipaddr
++# first is destination address, second is router.
++ATTRIBUTE DHCP-Static-Routes 33 ipaddr array
++ATTRIBUTE DHCP-Trailer-Encapsulation 34 byte
++ATTRIBUTE DHCP-ARP-Cache-Timeout 35 integer
++ATTRIBUTE DHCP-Ethernet-Encapsulation 36 byte
++ATTRIBUTE DHCP-Default-TCP-TTL 37 byte
++ATTRIBUTE DHCP-Keep-Alive-Interval 38 integer
++ATTRIBUTE DHCP-Keep-Alive-Garbage 39 byte
++ATTRIBUTE DHCP-NIS-Domain-Name 40 string
++ATTRIBUTE DHCP-NIS-Servers 41 ipaddr array
++ATTRIBUTE DHCP-NTP-Servers 42 ipaddr array
++# N Vendor Specific Information
++ATTRIBUTE DHCP-Vendor 43 octets # tlv
++ATTRIBUTE DHCP-NETBIOS-Name-Servers 44 ipaddr array
++ATTRIBUTE DHCP-NETBIOS-Dgm-Dist-Servers 45 ipaddr array
++ATTRIBUTE DHCP-NETBIOS-Node-Type 46 byte
++# N NETBIOS Scope
++ATTRIBUTE DHCP-NETBIOS 47 octets
++ATTRIBUTE DHCP-X-Window-Font-Server 48 ipaddr array
++ATTRIBUTE DHCP-X-Window-Display-Mgr 49 ipaddr array
++ATTRIBUTE DHCP-Requested-IP-Address 50 ipaddr
++ATTRIBUTE DHCP-IP-Address-Lease-Time 51 integer
++# Overload "sname" or "file"
++ATTRIBUTE DHCP-Overload 52 byte
++ATTRIBUTE DHCP-Message-Type 53 byte
++ATTRIBUTE DHCP-DHCP-Server-Identifier 54 ipaddr
++
++# Array of 1-byte numbers indicating which options the client
++# would like to see in the response.
++ATTRIBUTE DHCP-Parameter-Request-List 55 byte array
++ATTRIBUTE DHCP-DHCP-Error-Message 56 octets
++ATTRIBUTE DHCP-DHCP-Maximum-Msg-Size 57 short
++ATTRIBUTE DHCP-Renewal-Time 58 integer
++ATTRIBUTE DHCP-Rebinding-Time 59 integer
++ATTRIBUTE DHCP-Vendor-Class-Identifier 60 string
++
++# Client Identifier
++# First octets is DHCP-Hardware-Type, rest are type-specific data,
++# e.g. MAC address.
++ATTRIBUTE DHCP-Client-Identifier 61 ether
++ATTRIBUTE DHCP-Netware-Domain-Name 62 octets
++ATTRIBUTE DHCP-Netware-Sub-Options 63 octets
++ATTRIBUTE DHCP-NIS-Client-Domain-Name 64 octets
++ATTRIBUTE DHCP-NIS-Server-Address 65 ipaddr
++ATTRIBUTE DHCP-TFTP-Server-Name 66 string
++ATTRIBUTE DHCP-Boot-File-Name 67 string
++# Home Agent Addresses
++ATTRIBUTE DHCP-Home-Agent-Address 68 octets
++ATTRIBUTE DHCP-SMTP-Server-Address 69 ipaddr array
++ATTRIBUTE DHCP-POP3-Server-Address 70 ipaddr array
++ATTRIBUTE DHCP-NNTP-Server-Address 71 ipaddr array
++ATTRIBUTE DHCP-WWW-Server-Address 72 ipaddr array
++ATTRIBUTE DHCP-Finger-Server-Address 73 ipaddr array
++ATTRIBUTE DHCP-IRC-Server-Address 74 ipaddr array
++ATTRIBUTE DHCP-StreetTalk-Server-Address 75 ipaddr array
++ATTRIBUTE DHCP-STDA-Server-Address 76 ipaddr array
++# User Class Information
++ATTRIBUTE DHCP-User-Class 77 octets
++# directory agent information
++ATTRIBUTE DHCP-Directory-Agent 78 octets
++# service location agent scope
++ATTRIBUTE DHCP-Service-Scope 79 octets
++# Rapid Commit
++ATTRIBUTE DHCP-Rapid-Commit 80 octets
++# Fully Qualified Domain Name
++ATTRIBUTE DHCP-Client-FQDN 81 string
++# Relay Agent Information
++ATTRIBUTE DHCP-Relay-Agent-Information 82 tlv
++
++ATTRIBUTE DHCP-Agent-Circuit-Id 82.1 octets
++ATTRIBUTE DHCP-Agent-Remote-Id 82.2 octets
++
++ATTRIBUTE DHCP-Relay-Circuit-Id 82.1 octets
++ATTRIBUTE DHCP-Relay-Remote-Id 82.2 octets
++
++# 3 is reserved and shouldn't be used for anything
++ATTRIBUTE DHCP-Docsis-Device-Class 82.4 integer
++ATTRIBUTE DHCP-Relay-Link-Selection 82.5 ipaddr
++ATTRIBUTE DHCP-Subscriber-Id 82.6 string
++
++# AGH! RADIUS inside of DHCP!
++ATTRIBUTE DHCP-RADIUS-Attributes 82.7 octets
++
++# Horribly complicated
++ATTRIBUTE DHCP-Authentication-Information 82.8 octets
++ATTRIBUTE DHCP-Vendor-Specific-Information 82.9 octets
++ATTRIBUTE DHCP-Relay-Agent-Flags 82.10 byte
++ATTRIBUTE DHCP-Server-Identifier-Override 82.11 ipaddr
++
++# Internet Storage Name Service
++ATTRIBUTE DHCP-iSNS 83 octets
++# Novell Directory Services
++ATTRIBUTE DHCP-NDS-Servers 85 octets
++# Novell Directory Services
++ATTRIBUTE DHCP-NDS-Tree-Name 86 octets
++# Novell Directory Services
++ATTRIBUTE DHCP-NDS-Context 87 octets
++# Authentication
++ATTRIBUTE DHCP-Authentication 90 octets
++
++ATTRIBUTE DHCP-Client-Last-Txn-Time 91 octets
++
++ATTRIBUTE DHCP-associated-ip 92 octets
++# Client System Architecture
++ATTRIBUTE DHCP-Client-System 93 octets
++# Client Network Device Interface
++ATTRIBUTE DHCP-Client-NDI 94 octets
++# Lightweight Directory Access Protocol
++ATTRIBUTE DHCP-LDAP 95 octets
++# UUID/GUID-based Client Identifier
++ATTRIBUTE DHCP-UUID/GUID 97 octets
++# Open Group's User Authentication
++ATTRIBUTE DHCP-User-Auth 98 octets
++# NetInfo Parent-Server Address
++ATTRIBUTE DHCP-Netinfo-Address 112 octets
++# NetInfo Parent-Server Tag
++ATTRIBUTE DHCP-Netinfo-Tag 113 octets
++# URL
++ATTRIBUTE DHCP-URL 114 octets
++# DHCP Auto-Configuration
++ATTRIBUTE DHCP-Auto-Config 116 byte
++# Name Service Search
++ATTRIBUTE DHCP-Name-Service-Search 117 octets
++# Subnet Selection Option
++ATTRIBUTE DHCP-Subnet-Selection-Option 118 octets
++# DNS domain serach list
++ATTRIBUTE DHCP-Domain-Search 119 octets
++# SIP-Servers DHCP Option
++ATTRIBUTE DHCP-SIP-Servers-DHCP-Option 120 octets
++# Classless Static Route Option
++ATTRIBUTE DHCP-Classless-Static-Route 121 octets
++# CableLabs Client Configuration
++ATTRIBUTE DHCP-CCC 122 octets
++# 16 GeoConf Option
++ATTRIBUTE DHCP-GeoConf-Option 123 octets
++
++# Vendor Class
++#
++# String name that defines the vendor space used for the TLV's
++# in option 125.
++#
++ATTRIBUTE DHCP-V-I-Vendor-Class 124 octets
++# Vendor-Specific
++ATTRIBUTE DHCP-V-I-Vendor-Specific 125 octets # tlv
++ATTRIBUTE DHCP-Etherboot 128 ether
++# (for IP Phone software load)
++ATTRIBUTE DHCP-TFTP-Server-IP-Address 128 octets
++
++ATTRIBUTE DHCP-Call-Server-IP-address 129 octets
++
++ATTRIBUTE DHCP-Ethernet-Interface 130 octets
++
++ATTRIBUTE DHCP-Vendor-Discrimination-Str 130 octets
++
++ATTRIBUTE DHCP-Remote-Stats-Svr-IP-Address 131 octets
++
++ATTRIBUTE DHCP-IEEE-802.1Q-L2-Priority 132 octets
++
++ATTRIBUTE DHCP-IEEE-802.1P-VLAN-ID 133 octets
++
++ATTRIBUTE DHCP-Diffserv-Code-Point 134 octets
++
++ATTRIBUTE DHCP-HTTP-Proxy 135 octets
++
++ATTRIBUTE DHCP-Cisco-TFTP-Server-IP-Addresses 150 ipaddr array
++
++ATTRIBUTE DHCP-End-Of-Options 255 byte
++
++VALUE DHCP-Opcode Client-Message 1
++VALUE DHCP-Opcode Server-Message 2
++
++VALUE DHCP-Message-Type DHCP-Do-Not-Respond 0
++VALUE DHCP-Message-Type DHCP-Discover 1
++VALUE DHCP-Message-Type DHCP-Offer 2
++VALUE DHCP-Message-Type DHCP-Request 3
++VALUE DHCP-Message-Type DHCP-Decline 4
++VALUE DHCP-Message-Type DHCP-Ack 5
++VALUE DHCP-Message-Type DHCP-NAK 6
++VALUE DHCP-Message-Type DHCP-Release 7
++VALUE DHCP-Message-Type DHCP-Inform 8
++VALUE DHCP-Message-Type DHCP-Force-Renew 9
++
++VALUE DHCP-Parameter-Request-List DHCP-Subnet-Mask 1
++VALUE DHCP-Parameter-Request-List DHCP-Time-Offset 2
++VALUE DHCP-Parameter-Request-List DHCP-Router-Address 3
++VALUE DHCP-Parameter-Request-List DHCP-Time-Server 4
++VALUE DHCP-Parameter-Request-List DHCP-IEN-116-Name-Server 5
++VALUE DHCP-Parameter-Request-List DHCP-Domain-Name-Server 6
++VALUE DHCP-Parameter-Request-List DHCP-Log-Server 7
++VALUE DHCP-Parameter-Request-List DHCP-Quotes-Server 8
++VALUE DHCP-Parameter-Request-List DHCP-LPR-Server 9
++VALUE DHCP-Parameter-Request-List DHCP-Impress-Server 10
++VALUE DHCP-Parameter-Request-List DHCP-RLP-Server 11
++VALUE DHCP-Parameter-Request-List DHCP-Hostname 12
++VALUE DHCP-Parameter-Request-List DHCP-Boot-File-Size 13
++VALUE DHCP-Parameter-Request-List DHCP-Merit-Dump-File 14
++VALUE DHCP-Parameter-Request-List DHCP-Domain-Name 15
++VALUE DHCP-Parameter-Request-List DHCP-Swap-Server 16
++VALUE DHCP-Parameter-Request-List DHCP-Root-Path 17
++VALUE DHCP-Parameter-Request-List DHCP-Bootp-Extensions-Path 18
++VALUE DHCP-Parameter-Request-List DHCP-IP-Forward-Enable 19
++VALUE DHCP-Parameter-Request-List DHCP-Source-Route-Enable 20
++VALUE DHCP-Parameter-Request-List DHCP-Policy-Filter 21
++VALUE DHCP-Parameter-Request-List DHCP-Max-Datagram-Reassembly-Sz 22
++VALUE DHCP-Parameter-Request-List DHCP-Default-IP-TTL 23
++VALUE DHCP-Parameter-Request-List DHCP-Path-MTU-Aging-Timeout 24
++VALUE DHCP-Parameter-Request-List DHCP-Path-MTU-Plateau-Table 25
++VALUE DHCP-Parameter-Request-List DHCP-Interface-MTU-Size 26
++VALUE DHCP-Parameter-Request-List DHCP-All-Subnets-Are-Local 27
++VALUE DHCP-Parameter-Request-List DHCP-Broadcast-Address 28
++VALUE DHCP-Parameter-Request-List DHCP-Perform-Mask-Discovery 29
++VALUE DHCP-Parameter-Request-List DHCP-Provide-Mask-To-Others 30
++VALUE DHCP-Parameter-Request-List DHCP-Perform-Router-Discovery 31
++VALUE DHCP-Parameter-Request-List DHCP-Router-Solicitation-Address 32
++VALUE DHCP-Parameter-Request-List DHCP-Static-Routes 33
++VALUE DHCP-Parameter-Request-List DHCP-Trailer-Encapsulation 34
++VALUE DHCP-Parameter-Request-List DHCP-ARP-Cache-Timeout 35
++VALUE DHCP-Parameter-Request-List DHCP-Ethernet-Encapsulation 36
++VALUE DHCP-Parameter-Request-List DHCP-Default-TCP-TTL 37
++VALUE DHCP-Parameter-Request-List DHCP-Keep-Alive-Interval 38
++VALUE DHCP-Parameter-Request-List DHCP-Keep-Alive-Garbage 39
++VALUE DHCP-Parameter-Request-List DHCP-NIS-Domain-Name 40
++VALUE DHCP-Parameter-Request-List DHCP-NIS-Servers 41
++VALUE DHCP-Parameter-Request-List DHCP-NTP-Servers 42
++VALUE DHCP-Parameter-Request-List DHCP-Vendor 43
++VALUE DHCP-Parameter-Request-List DHCP-NETBIOS-Name-Servers 44
++VALUE DHCP-Parameter-Request-List DHCP-NETBIOS-Dgm-Dist-Servers 45
++VALUE DHCP-Parameter-Request-List DHCP-NETBIOS-Node-Type 46
++VALUE DHCP-Parameter-Request-List DHCP-NETBIOS 47
++VALUE DHCP-Parameter-Request-List DHCP-X-Window-Font-Server 48
++VALUE DHCP-Parameter-Request-List DHCP-X-Window-Display-Mgr 49
++VALUE DHCP-Parameter-Request-List DHCP-Requested-IP-Address 50
++VALUE DHCP-Parameter-Request-List DHCP-IP-Address-Lease-Time 51
++VALUE DHCP-Parameter-Request-List DHCP-Overload 52
++VALUE DHCP-Parameter-Request-List DHCP-Message-Type 53
++VALUE DHCP-Parameter-Request-List DHCP-DHCP-Server-Identifier 54
++VALUE DHCP-Parameter-Request-List DHCP-Parameter-Request-List 55
++VALUE DHCP-Parameter-Request-List DHCP-DHCP-Error-Message 56
++VALUE DHCP-Parameter-Request-List DHCP-DHCP-Maximum-Msg-Size 57
++VALUE DHCP-Parameter-Request-List DHCP-Renewal-Time 58
++VALUE DHCP-Parameter-Request-List DHCP-Rebinding-Time 59
++VALUE DHCP-Parameter-Request-List DHCP-Class-Identifier 60
++VALUE DHCP-Parameter-Request-List DHCP-Client-Identifier 61
++VALUE DHCP-Parameter-Request-List DHCP-Netware-Domain-Name 62
++VALUE DHCP-Parameter-Request-List DHCP-Netware-Sub-Options 63
++VALUE DHCP-Parameter-Request-List DHCP-NIS-Client-Domain-Name 64
++VALUE DHCP-Parameter-Request-List DHCP-NIS-Server-Address 65
++VALUE DHCP-Parameter-Request-List DHCP-TFTP-Server-Name 66
++VALUE DHCP-Parameter-Request-List DHCP-Boot-File-Name 67
++VALUE DHCP-Parameter-Request-List DHCP-Home-Agent-Address 68
++VALUE DHCP-Parameter-Request-List DHCP-SMTP-Server-Address 69
++VALUE DHCP-Parameter-Request-List DHCP-POP3-Server-Address 70
++VALUE DHCP-Parameter-Request-List DHCP-NNTP-Server-Address 71
++VALUE DHCP-Parameter-Request-List DHCP-WWW-Server-Address 72
++VALUE DHCP-Parameter-Request-List DHCP-Finger-Server-Address 73
++VALUE DHCP-Parameter-Request-List DHCP-IRC-Server-Address 74
++VALUE DHCP-Parameter-Request-List DHCP-StreetTalk-Server-Address 75
++VALUE DHCP-Parameter-Request-List DHCP-STDA-Server-Address 76
++VALUE DHCP-Parameter-Request-List DHCP-User-Class 77
++VALUE DHCP-Parameter-Request-List DHCP-Directory-Agent 78
++VALUE DHCP-Parameter-Request-List DHCP-Service-Scope 79
++VALUE DHCP-Parameter-Request-List DHCP-Rapid-Commit 80
++VALUE DHCP-Parameter-Request-List DHCP-Client-FQDN 81
++VALUE DHCP-Parameter-Request-List DHCP-Relay-Agent-Information 82
++VALUE DHCP-Parameter-Request-List DHCP-iSNS 83
++VALUE DHCP-Parameter-Request-List DHCP-NDS-Servers 85
++VALUE DHCP-Parameter-Request-List DHCP-NDS-Tree-Name 86
++VALUE DHCP-Parameter-Request-List DHCP-NDS-Context 87
++VALUE DHCP-Parameter-Request-List DHCP-Authentication 90
++VALUE DHCP-Parameter-Request-List DHCP-Client-Last-Txn-Time 91
++VALUE DHCP-Parameter-Request-List DHCP-associated-ip 92
++VALUE DHCP-Parameter-Request-List DHCP-Client-System 93
++VALUE DHCP-Parameter-Request-List DHCP-Client-NDI 94
++VALUE DHCP-Parameter-Request-List DHCP-LDAP 95
++VALUE DHCP-Parameter-Request-List DHCP-UUID/GUID 97
++VALUE DHCP-Parameter-Request-List DHCP-User-Auth 98
++VALUE DHCP-Parameter-Request-List DHCP-Netinfo-Address 112
++VALUE DHCP-Parameter-Request-List DHCP-Netinfo-Tag 113
++VALUE DHCP-Parameter-Request-List DHCP-URL 114
++VALUE DHCP-Parameter-Request-List DHCP-Auto-Config 116
++VALUE DHCP-Parameter-Request-List DHCP-Name-Service-Search 117
++VALUE DHCP-Parameter-Request-List DHCP-Subnet-Selection-Option 118
++VALUE DHCP-Parameter-Request-List DHCP-Domain-Search 119
++VALUE DHCP-Parameter-Request-List DHCP-SIP-Servers-DHCP-Option 120
++VALUE DHCP-Parameter-Request-List DHCP-Classless-Static-Route 121
++VALUE DHCP-Parameter-Request-List DHCP-CCC 122
++VALUE DHCP-Parameter-Request-List DHCP-GeoConf-Option 123
++VALUE DHCP-Parameter-Request-List DHCP-V-I-Vendor-Class 124
++VALUE DHCP-Parameter-Request-List DHCP-V-I-Vendor-Specific 125
++VALUE DHCP-Parameter-Request-List DHCP-Etherboot 128
++VALUE DHCP-Parameter-Request-List DHCP-TFTP-Server-IP-Address 128
++VALUE DHCP-Parameter-Request-List DHCP-Call-Server-IP-address 129
++VALUE DHCP-Parameter-Request-List DHCP-Ethernet-Interface 130
++VALUE DHCP-Parameter-Request-List DHCP-Vendor-Discrimination-Str 130
++VALUE DHCP-Parameter-Request-List DHCP-Remote-Stats-Svr-IP-Address 131
++VALUE DHCP-Parameter-Request-List DHCP-IEEE-802.1P-VLAN-ID 132
++VALUE DHCP-Parameter-Request-List DHCP-IEEE-802.1Q-L2-Priority 133
++VALUE DHCP-Parameter-Request-List DHCP-Diffserv-Code-Point 134
++VALUE DHCP-Parameter-Request-List DHCP-HTTP-Proxy 135
++
++END-VENDOR DHCP
+diff --git a/src/plugins/vbng/etc/dictionary.merit b/src/plugins/vbng/etc/dictionary.merit
+new file mode 100644
+index 00000000..7d675e50
+--- /dev/null
++++ b/src/plugins/vbng/etc/dictionary.merit
+@@ -0,0 +1,17 @@
++#
++# Experimental extensions, configuration only (for check-items)
++# Names/numbers as per the MERIT extensions (if possible).
++#
++ATTRIBUTE NAS-Identifier 32 string
++ATTRIBUTE Proxy-State 33 string
++ATTRIBUTE Login-LAT-Service 34 string
++ATTRIBUTE Login-LAT-Node 35 string
++ATTRIBUTE Login-LAT-Group 36 string
++ATTRIBUTE Framed-AppleTalk-Link 37 integer
++ATTRIBUTE Framed-AppleTalk-Network 38 integer
++ATTRIBUTE Framed-AppleTalk-Zone 39 string
++ATTRIBUTE Acct-Input-Packets 47 integer
++ATTRIBUTE Acct-Output-Packets 48 integer
++# 8 is a MERIT extension.
++VALUE Service-Type Authenticate-Only 8
++
+diff --git a/src/plugins/vbng/etc/dictionary.sip b/src/plugins/vbng/etc/dictionary.sip
+new file mode 100644
+index 00000000..149fa4cb
+--- /dev/null
++++ b/src/plugins/vbng/etc/dictionary.sip
+@@ -0,0 +1,77 @@
++#
++# Updated 97/06/13 to livingston-radius-2.01 miquels@cistron.nl
++#
++# This file contains dictionary translations for parsing
++# requests and generating responses. All transactions are
++# composed of Attribute/Value Pairs. The value of each attribute
++# is specified as one of 4 data types. Valid data types are:
++#
++# string - 0-253 octets
++# ipaddr - 4 octets in network byte order
++# integer - 32 bit value in big endian order (high byte first)
++# date - 32 bit value in big endian order - seconds since
++# 00:00:00 GMT, Jan. 1, 1970
++#
++# Enumerated values are stored in the user file with dictionary
++# VALUE translations for easy administration.
++#
++# Example:
++#
++# ATTRIBUTE VALUE
++# --------------- -----
++# Framed-Protocol = PPP
++# 7 = 1 (integer encoding)
++#
++
++#
++# Experimental SIP Attributes/Values (draft-sterman-aaa-sip-00.txt etc)
++#
++ATTRIBUTE Sip-Method 101 integer
++ATTRIBUTE Sip-Response-Code 102 integer
++ATTRIBUTE Sip-CSeq 103 string
++ATTRIBUTE Sip-To-Tag 104 string
++ATTRIBUTE Sip-From-Tag 105 string
++ATTRIBUTE Sip-Branch-ID 106 string
++ATTRIBUTE Sip-Translated-Request-URI 107 string
++ATTRIBUTE Sip-Source-IP-Address 108 ipaddr
++ATTRIBUTE Sip-Source-Port 109 integer
++ATTRIBUTE Sip-User-ID 110 string
++ATTRIBUTE Sip-User-Realm 111 string
++ATTRIBUTE Sip-User-Nonce 112 string
++ATTRIBUTE Sip-User-Method 113 string
++ATTRIBUTE Sip-User-Digest-URI 114 string
++ATTRIBUTE Sip-User-Nonce-Count 115 string
++ATTRIBUTE Sip-User-QOP 116 string
++ATTRIBUTE Sip-User-Opaque 117 string
++ATTRIBUTE Sip-User-Response 118 string
++ATTRIBUTE Sip-User-CNonce 119 string
++ATTRIBUTE Sip-URI-User 208 string
++ATTRIBUTE Sip-Req-URI 210 string
++ATTRIBUTE Sip-CC 212 string
++ATTRIBUTE Sip-RPId 213 string
++ATTRIBUTE Digest-Response 206 string
++ATTRIBUTE Digest-Attributes 207 string
++ATTRIBUTE Digest-Realm 1063 string
++ATTRIBUTE Digest-Nonce 1064 string
++ATTRIBUTE Digest-Method 1065 string
++ATTRIBUTE Digest-URI 1066 string
++ATTRIBUTE Digest-QOP 1067 string
++ATTRIBUTE Digest-Algorithm 1068 string
++ATTRIBUTE Digest-Body-Digest 1069 string
++ATTRIBUTE Digest-CNonce 1070 string
++ATTRIBUTE Digest-Nonce-Count 1071 string
++ATTRIBUTE Digest-User-Name 1072 string
++
++VALUE Service-Type SIP 15
++
++VALUE Sip-Method Other 0
++VALUE Sip-Method Invite 1
++VALUE Sip-Method Cancel 2
++VALUE Sip-Method Ack 3
++VALUE Sip-Method Bye 4
++
++VALUE Sip-Response-Code Other 0
++VALUE Sip-Response-Code Invite 1
++VALUE Sip-Response-Code Cancel 2
++VALUE Sip-Response-Code Ack 3
++VALUE Sip-Response-Code Bye 4
+diff --git a/src/plugins/vbng/etc/issue b/src/plugins/vbng/etc/issue
+new file mode 100644
+index 00000000..62544873
+--- /dev/null
++++ b/src/plugins/vbng/etc/issue
+@@ -0,0 +1,5 @@
++(\I)
++-----------------------------------------------------
++\S \R (\N) (port \L)
++-----------------------------------------------------
++
+diff --git a/src/plugins/vbng/etc/port-id-map b/src/plugins/vbng/etc/port-id-map
+new file mode 100644
+index 00000000..9088a0b9
+--- /dev/null
++++ b/src/plugins/vbng/etc/port-id-map
+@@ -0,0 +1,24 @@
++#
++# port-id-map
++#
++# This file describes the ttyname to port id mapping. The port id
++# is reported as part of a RADIUS authentication or accouting request.
++#
++#ttyname (as returned by ttyname(3)) port-id
++/dev/tty1 1
++/dev/tty2 2
++/dev/tty3 3
++/dev/tty4 4
++/dev/tty5 5
++/dev/tty6 6
++/dev/tty7 7
++/dev/tty8 8
++/dev/ttyS0 9
++/dev/ttyS1 10
++/dev/ttyS2 11
++/dev/ttyS3 12
++/dev/ttyS4 13
++/dev/ttyS5 14
++/dev/ttyS6 15
++/dev/ttyS7 16
++
+\ No newline at end of file
+diff --git a/src/plugins/vbng/etc/radiusclient.conf b/src/plugins/vbng/etc/radiusclient.conf
+new file mode 100644
+index 00000000..3a315b46
+--- /dev/null
++++ b/src/plugins/vbng/etc/radiusclient.conf
+@@ -0,0 +1,92 @@
++# General settings
++
++# specify which authentication comes first respectively which
++# authentication is used. possible values are: "radius" and "local".
++# if you specify "radius,local" then the RADIUS server is asked
++# first then the local one. if only one keyword is specified only
++# this server is asked.
++auth_order radius,local
++
++# maximum login tries a user has
++login_tries 4
++
++# timeout for all login tries
++# if this time is exceeded the user is kicked out
++login_timeout 60
++
++# name of the nologin file which when it exists disables logins.
++# it may be extended by the ttyname which will result in
++# a terminal specific lock (e.g. /etc/nologin.ttyS2 will disable
++# logins on /dev/ttyS2)
++nologin /etc/nologin
++
++# name of the issue file. it's only display when no username is passed
++# on the radlogin command line
++issue /usr/local/etc/radiusclient/issue
++
++# RADIUS settings
++
++# RADIUS server to use for authentication requests. this config
++# item can appear more then one time. if multiple servers are
++# defined they are tried in a round robin fashion if one
++# server is not answering.
++# optionally you can specify a the port number on which is remote
++# RADIUS listens separated by a colon from the hostname. if
++# no port is specified /etc/services is consulted of the radius
++# service. if this fails also a compiled in default is used.
++authserver localhost
++
++# RADIUS server to use for accouting requests. All that I
++# said for authserver applies, too.
++#
++acctserver localhost
++
++# file holding shared secrets used for the communication
++# between the RADIUS client and server
++servers /usr/local/etc/radiusclient/servers
++
++# dictionary of allowed attributes and values
++# just like in the normal RADIUS distributions
++dictionary /usr/local/etc/radiusclient/dictionary
++
++# program to call for a RADIUS authenticated login
++login_radius /usr/local/sbin/login.radius
++
++# file which holds sequence number for communication with the
++# RADIUS server
++seqfile /var/run/radius.seq
++
++# file which specifies mapping between ttyname and NAS-Port attribute
++mapfile /usr/local/etc/radiusclient/port-id-map
++
++# default authentication realm to append to all usernames if no
++# realm was explicitly specified by the user
++# the radiusd directly form Livingston doesnt use any realms, so leave
++# it blank then
++default_realm
++
++# time to wait for a reply from the RADIUS server
++radius_timeout 10
++
++# resend request this many times before trying the next server
++radius_retries 3
++
++# The length of time in seconds that we skip a nonresponsive RADIUS
++# server for transaction requests. Server(s) being in the "dead" state
++# are tried only after all other non-dead servers have been tried and
++# failed or timeouted. The deadtime interval starts when the server
++# does not respond to an authentication/accounting request transmissions.
++# When the interval expires, the "dead" server would be re-tried again,
++# and if it's still down then it will be considered "dead" for another
++# such interval and so on. This option is no-op if there is only one
++# server in the list. Set to 0 in order to disable the feature.
++radius_deadtime 0
++
++# local address from which radius packets have to be sent
++bindaddr *
++
++# LOCAL settings
++
++# program to execute for local login
++# it must support the -f flag for preauthenticated login
++login_local /bin/login
+diff --git a/src/plugins/vbng/etc/radiusclient.conf.in b/src/plugins/vbng/etc/radiusclient.conf.in
+new file mode 100644
+index 00000000..fdf62e6d
+--- /dev/null
++++ b/src/plugins/vbng/etc/radiusclient.conf.in
+@@ -0,0 +1,92 @@
++# General settings
++
++# specify which authentication comes first respectively which
++# authentication is used. possible values are: "radius" and "local".
++# if you specify "radius,local" then the RADIUS server is asked
++# first then the local one. if only one keyword is specified only
++# this server is asked.
++auth_order radius,local
++
++# maximum login tries a user has
++login_tries 4
++
++# timeout for all login tries
++# if this time is exceeded the user is kicked out
++login_timeout 60
++
++# name of the nologin file which when it exists disables logins.
++# it may be extended by the ttyname which will result in
++# a terminal specific lock (e.g. /etc/nologin.ttyS2 will disable
++# logins on /dev/ttyS2)
++nologin /etc/nologin
++
++# name of the issue file. it's only display when no username is passed
++# on the radlogin command line
++issue @pkgsysconfdir@/issue
++
++# RADIUS settings
++
++# RADIUS server to use for authentication requests. this config
++# item can appear more then one time. if multiple servers are
++# defined they are tried in a round robin fashion if one
++# server is not answering.
++# optionally you can specify a the port number on which is remote
++# RADIUS listens separated by a colon from the hostname. if
++# no port is specified /etc/services is consulted of the radius
++# service. if this fails also a compiled in default is used.
++authserver localhost
++
++# RADIUS server to use for accouting requests. All that I
++# said for authserver applies, too.
++#
++acctserver localhost
++
++# file holding shared secrets used for the communication
++# between the RADIUS client and server
++servers @pkgsysconfdir@/servers
++
++# dictionary of allowed attributes and values
++# just like in the normal RADIUS distributions
++dictionary @pkgsysconfdir@/dictionary
++
++# program to call for a RADIUS authenticated login
++login_radius @sbindir@/login.radius
++
++# file which holds sequence number for communication with the
++# RADIUS server
++seqfile /var/run/radius.seq
++
++# file which specifies mapping between ttyname and NAS-Port attribute
++mapfile @pkgsysconfdir@/port-id-map
++
++# default authentication realm to append to all usernames if no
++# realm was explicitly specified by the user
++# the radiusd directly form Livingston doesnt use any realms, so leave
++# it blank then
++default_realm
++
++# time to wait for a reply from the RADIUS server
++radius_timeout 10
++
++# resend request this many times before trying the next server
++radius_retries 3
++
++# The length of time in seconds that we skip a nonresponsive RADIUS
++# server for transaction requests. Server(s) being in the "dead" state
++# are tried only after all other non-dead servers have been tried and
++# failed or timeouted. The deadtime interval starts when the server
++# does not respond to an authentication/accounting request transmissions.
++# When the interval expires, the "dead" server would be re-tried again,
++# and if it's still down then it will be considered "dead" for another
++# such interval and so on. This option is no-op if there is only one
++# server in the list. Set to 0 in order to disable the feature.
++radius_deadtime 0
++
++# local address from which radius packets have to be sent
++bindaddr *
++
++# LOCAL settings
++
++# program to execute for local login
++# it must support the -f flag for preauthenticated login
++login_local /bin/login
+diff --git a/src/plugins/vbng/etc/servers b/src/plugins/vbng/etc/servers
+new file mode 100644
+index 00000000..50eddd39
+--- /dev/null
++++ b/src/plugins/vbng/etc/servers
+@@ -0,0 +1,10 @@
++## Server Name or Client/Server pair Key
++## ---------------- ---------------
++#
++#portmaster.elemental.net hardlyasecret
++#portmaster2.elemental.net donttellanyone
++#
++## uncomment the following line for simple testing of radlogin
++## with freeradius-server
++#
++#localhost/localhost testing123
+diff --git a/src/plugins/vbng/include/freeradius-client.h b/src/plugins/vbng/include/freeradius-client.h
+new file mode 100644
+index 00000000..96c75460
+--- /dev/null
++++ b/src/plugins/vbng/include/freeradius-client.h
+@@ -0,0 +1,528 @@
++/*
++ * $Id: freeradius-client.h,v 1.18 2010/06/15 09:22:51 aland Exp $
++ *
++ * Copyright (C) 1995,1996,1997,1998 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#ifndef FREERADIUS_CLIENT_H
++#define FREERADIUS_CLIENT_H
++
++#ifdef CP_DEBUG
++#define DEBUG(args, ...) rc_log(## args)
++#else
++#define DEBUG(args, ...) ;
++#endif
++
++#include <sys/types.h>
++/*
++ * Include for C99 uintX_t defines is stdint.h on most systems. Solaris uses
++ * inttypes.h instead. Comment out the stdint include if you get an error,
++ * and uncomment the inttypes.h include.
++ */
++#include <stdint.h>
++/* #include <inttypes.h> */
++#include <stdio.h>
++#include <time.h>
++
++#undef __BEGIN_DECLS
++#undef __END_DECLS
++#ifdef __cplusplus
++# define __BEGIN_DECLS extern "C" {
++# define __END_DECLS }
++#else
++# define __BEGIN_DECLS /* empty */
++# define __END_DECLS /* empty */
++#endif
++
++#define AUTH_VECTOR_LEN 16
++#define AUTH_PASS_LEN (3 * 16) /* multiple of 16 */
++#define AUTH_ID_LEN 64
++#define AUTH_STRING_LEN 253 /* maximum of 253 */
++
++#define BUFFER_LEN 8192
++
++#define NAME_LENGTH 32
++#define GETSTR_LENGTH 128 /* must be bigger than AUTH_PASS_LEN */
++
++#define MAX_SECRET_LENGTH (3 * 16) /* MUST be multiple of 16 */
++
++#define VENDOR(x) (((x) >> 16) & 0xffff)
++#define ATTRID(x) ((x) & 0xffff)
++
++#define PW_MAX_MSG_SIZE 4096
++
++/* codes for radius_buildreq, radius_getport, etc. */
++#define AUTH 0
++#define ACCT 1
++
++/* defines for config.c */
++
++#define SERVER_MAX 8
++
++#define AUTH_LOCAL_FST (1<<0)
++#define AUTH_RADIUS_FST (1<<1)
++#define AUTH_LOCAL_SND (1<<2)
++#define AUTH_RADIUS_SND (1<<3)
++
++typedef struct server {
++ int max;
++ char *name[SERVER_MAX];
++ uint16_t port[SERVER_MAX];
++ char *secret[SERVER_MAX];
++ double deadtime_ends[SERVER_MAX];
++} SERVER;
++
++typedef struct pw_auth_hdr
++{
++ uint8_t code;
++ uint8_t id;
++ uint16_t length;
++ uint8_t vector[AUTH_VECTOR_LEN];
++ uint8_t data[2];
++} AUTH_HDR;
++
++struct rc_conf
++{
++ struct _option *config_options;
++ uint32_t this_host_ipaddr;
++ uint32_t *this_host_bind_ipaddr;
++ struct map2id_s *map2id_list;
++ struct dict_attr *dictionary_attributes;
++ struct dict_value *dictionary_values;
++ struct dict_vendor *dictionary_vendors;
++ char buf[GETSTR_LENGTH];
++ char buf1[14];
++ char ifname[512];
++};
++
++typedef struct rc_conf rc_handle;
++
++#define AUTH_HDR_LEN 20
++#define CHAP_VALUE_LENGTH 16
++
++#define PW_AUTH_UDP_PORT 1645
++#define PW_ACCT_UDP_PORT 1646
++
++#define PW_TYPE_STRING 0
++#define PW_TYPE_INTEGER 1
++#define PW_TYPE_IPADDR 2
++#define PW_TYPE_DATE 3
++#define PW_TYPE_IPV6ADDR 4
++#define PW_TYPE_IPV6PREFIX 5
++
++/* standard RADIUS codes */
++
++#define PW_ACCESS_REQUEST 1
++#define PW_ACCESS_ACCEPT 2
++#define PW_ACCESS_REJECT 3
++#define PW_ACCOUNTING_REQUEST 4
++#define PW_ACCOUNTING_RESPONSE 5
++#define PW_ACCOUNTING_STATUS 6
++#define PW_PASSWORD_REQUEST 7
++#define PW_PASSWORD_ACK 8
++#define PW_PASSWORD_REJECT 9
++#define PW_ACCOUNTING_MESSAGE 10
++#define PW_ACCESS_CHALLENGE 11
++#define PW_STATUS_SERVER 12
++#define PW_STATUS_CLIENT 13
++
++
++/* standard RADIUS attribute-value pairs */
++
++#define PW_USER_NAME 1 /* string */
++#define PW_USER_PASSWORD 2 /* string */
++#define PW_CHAP_PASSWORD 3 /* string */
++#define PW_NAS_IP_ADDRESS 4 /* ipaddr */
++#define PW_NAS_PORT 5 /* integer */
++#define PW_SERVICE_TYPE 6 /* integer */
++#define PW_FRAMED_PROTOCOL 7 /* integer */
++#define PW_FRAMED_IP_ADDRESS 8 /* ipaddr */
++#define PW_FRAMED_IP_NETMASK 9 /* ipaddr */
++#define PW_FRAMED_ROUTING 10 /* integer */
++#define PW_FILTER_ID 11 /* string */
++#define PW_FRAMED_MTU 12 /* integer */
++#define PW_FRAMED_COMPRESSION 13 /* integer */
++#define PW_LOGIN_IP_HOST 14 /* ipaddr */
++#define PW_LOGIN_SERVICE 15 /* integer */
++#define PW_LOGIN_PORT 16 /* integer */
++#define PW_OLD_PASSWORD 17 /* string */ /* deprecated */
++#define PW_REPLY_MESSAGE 18 /* string */
++#define PW_LOGIN_CALLBACK_NUMBER 19 /* string */
++#define PW_FRAMED_CALLBACK_ID 20 /* string */
++#define PW_EXPIRATION 21 /* date */ /* deprecated */
++#define PW_FRAMED_ROUTE 22 /* string */
++#define PW_FRAMED_IPX_NETWORK 23 /* integer */
++#define PW_STATE 24 /* string */
++#define PW_CLASS 25 /* string */
++#define PW_VENDOR_SPECIFIC 26 /* string */
++#define PW_SESSION_TIMEOUT 27 /* integer */
++#define PW_IDLE_TIMEOUT 28 /* integer */
++#define PW_TERMINATION_ACTION 29 /* integer */
++#define PW_CALLED_STATION_ID 30 /* string */
++#define PW_CALLING_STATION_ID 31 /* string */
++#define PW_NAS_IDENTIFIER 32 /* string */
++#define PW_PROXY_STATE 33 /* string */
++#define PW_LOGIN_LAT_SERVICE 34 /* string */
++#define PW_LOGIN_LAT_NODE 35 /* string */
++#define PW_LOGIN_LAT_GROUP 36 /* string */
++#define PW_FRAMED_APPLETALK_LINK 37 /* integer */
++#define PW_FRAMED_APPLETALK_NETWORK 38 /* integer */
++#define PW_FRAMED_APPLETALK_ZONE 39 /* string */
++#define PW_EVENT_TIMESTAMP 55 /* integer */
++#define PW_CHAP_CHALLENGE 60 /* string */
++#define PW_NAS_PORT_TYPE 61 /* integer */
++#define PW_PORT_LIMIT 62 /* integer */
++#define PW_LOGIN_LAT_PORT 63 /* string */
++#define PW_CONNECT_INFO 77 /* string */
++#define PW_MESSAGE_AUTHENTICATOR 80 /* string */
++
++/* RFC3162 IPv6 attributes */
++
++#define PW_NAS_IPV6_ADDRESS 95 /* string */
++#define PW_FRAMED_INTERFACE_ID 96 /* string */
++#define PW_FRAMED_IPV6_PREFIX 97 /* string */
++#define PW_LOGIN_IPV6_HOST 98 /* string */
++#define PW_FRAMED_IPV6_ROUTE 99 /* string */
++#define PW_FRAMED_IPV6_POOL 100 /* string */
++
++/* RFC6911 IPv6 attributes */
++#define PW_FRAMED_IPV6_ADDRESS 168 /* ipaddr6 */
++#define PW_DNS_SERVER_IPV6_ADDRESS 169 /* ipaddr6 */
++#define PW_ROUTE_IPV6_INFORMATION 170 /* ipv6prefix */
++
++/* Accounting */
++
++#define PW_ACCT_STATUS_TYPE 40 /* integer */
++#define PW_ACCT_DELAY_TIME 41 /* integer */
++#define PW_ACCT_INPUT_OCTETS 42 /* integer */
++#define PW_ACCT_OUTPUT_OCTETS 43 /* integer */
++#define PW_ACCT_SESSION_ID 44 /* string */
++#define PW_ACCT_AUTHENTIC 45 /* integer */
++#define PW_ACCT_SESSION_TIME 46 /* integer */
++#define PW_ACCT_INPUT_PACKETS 47 /* integer */
++#define PW_ACCT_OUTPUT_PACKETS 48 /* integer */
++#define PW_ACCT_TERMINATE_CAUSE 49 /* integer */
++#define PW_ACCT_MULTI_SESSION_ID 50 /* string */
++#define PW_ACCT_LINK_COUNT 51 /* integer */
++#define PW_ACCT_INPUT_GIGAWORDS 52 /* integer */
++#define PW_ACCT_OUTPUT_GIGAWORDS 53 /* integer */
++
++/* Experimental SIP-specific attributes (draft-sterman-aaa-sip-00.txt etc) */
++
++#define PW_DIGEST_RESPONSE 206 /* string */
++#define PW_DIGEST_ATTRIBUTES 207 /* string */
++#define PW_DIGEST_REALM 1063 /* string */
++#define PW_DIGEST_NONCE 1064 /* string */
++#define PW_DIGEST_METHOD 1065 /* string */
++#define PW_DIGEST_URI 1066 /* string */
++#define PW_DIGEST_QOP 1067 /* string */
++#define PW_DIGEST_ALGORITHM 1068 /* string */
++#define PW_DIGEST_BODY_DIGEST 1069 /* string */
++#define PW_DIGEST_CNONCE 1070 /* string */
++#define PW_DIGEST_NONCE_COUNT 1071 /* string */
++#define PW_DIGEST_USER_NAME 1072 /* string */
++
++/* Merit Experimental Extensions */
++
++#define PW_USER_ID 222 /* string */
++#define PW_USER_REALM 223 /* string */
++
++/* Integer Translations */
++
++/* SERVICE TYPES */
++
++#define PW_LOGIN 1
++#define PW_FRAMED 2
++#define PW_CALLBACK_LOGIN 3
++#define PW_CALLBACK_FRAMED 4
++#define PW_OUTBOUND 5
++#define PW_ADMINISTRATIVE 6
++#define PW_NAS_PROMPT 7
++#define PW_AUTHENTICATE_ONLY 8
++#define PW_CALLBACK_NAS_PROMPT 9
++
++/* FRAMED PROTOCOLS */
++
++#define PW_PPP 1
++#define PW_SLIP 2
++#define PW_ARA 3
++#define PW_GANDALF 4
++#define PW_XYLOGICS 5
++
++/* FRAMED ROUTING VALUES */
++
++#define PW_NONE 0
++#define PW_BROADCAST 1
++#define PW_LISTEN 2
++#define PW_BROADCAST_LISTEN 3
++
++/* FRAMED COMPRESSION TYPES */
++
++#define PW_VAN_JACOBSON_TCP_IP 1
++#define PW_IPX_HEADER_COMPRESSION 2
++
++/* LOGIN SERVICES */
++
++#define PW_TELNET 0
++#define PW_RLOGIN 1
++#define PW_TCP_CLEAR 2
++#define PW_PORTMASTER 3
++#define PW_LAT 4
++#define PW_X25_PAD 5
++#define PW_X25_T3POS 6
++
++/* TERMINATION ACTIONS */
++
++#define PW_DEFAULT 0
++#define PW_RADIUS_REQUEST 1
++
++/* PROHIBIT PROTOCOL */
++
++#define PW_DUMB 0 /* 1 and 2 are defined in FRAMED PROTOCOLS */
++#define PW_AUTH_ONLY 3
++#define PW_ALL 255
++
++/* ACCOUNTING STATUS TYPES */
++
++#define PW_STATUS_START 1
++#define PW_STATUS_STOP 2
++#define PW_STATUS_ALIVE 3
++#define PW_STATUS_MODEM_START 4
++#define PW_STATUS_MODEM_STOP 5
++#define PW_STATUS_CANCEL 6
++#define PW_ACCOUNTING_ON 7
++#define PW_ACCOUNTING_OFF 8
++
++/* ACCOUNTING TERMINATION CAUSES */
++
++#define PW_USER_REQUEST 1
++#define PW_LOST_CARRIER 2
++#define PW_LOST_SERVICE 3
++#define PW_ACCT_IDLE_TIMEOUT 4
++#define PW_ACCT_SESSION_TIMEOUT 5
++#define PW_ADMIN_RESET 6
++#define PW_ADMIN_REBOOT 7
++#define PW_PORT_ERROR 8
++#define PW_NAS_ERROR 9
++#define PW_NAS_REQUEST 10
++#define PW_NAS_REBOOT 11
++#define PW_PORT_UNNEEDED 12
++#define PW_PORT_PREEMPTED 13
++#define PW_PORT_SUSPENDED 14
++#define PW_SERVICE_UNAVAILABLE 15
++#define PW_CALLBACK 16
++#define PW_USER_ERROR 17
++#define PW_HOST_REQUEST 18
++
++/* NAS PORT TYPES */
++
++#define PW_ASYNC 0
++#define PW_SYNC 1
++#define PW_ISDN_SYNC 2
++#define PW_ISDN_SYNC_V120 3
++#define PW_ISDN_SYNC_V110 4
++#define PW_VIRTUAL 5
++
++/* AUTHENTIC TYPES */
++#define PW_RADIUS 1
++#define PW_LOCAL 2
++#define PW_REMOTE 3
++
++/* Server data structures */
++
++typedef struct dict_attr
++{
++ char name[NAME_LENGTH + 1]; /* attribute name */
++ int value; /* attribute index */
++ int type; /* string, int, etc. */
++ struct dict_attr *next;
++} DICT_ATTR;
++
++typedef struct dict_value
++{
++ char attrname[NAME_LENGTH +1];
++ char name[NAME_LENGTH + 1];
++ int value;
++ struct dict_value *next;
++} DICT_VALUE;
++
++typedef struct dict_vendor
++{
++ char vendorname[NAME_LENGTH +1];
++ int vendorpec;
++ struct dict_vendor *next;
++} DICT_VENDOR;
++
++typedef struct value_pair
++{
++ char name[NAME_LENGTH + 1];
++ int attribute;
++ int type;
++ uint32_t lvalue;
++ char strvalue[AUTH_STRING_LEN + 1];
++ struct value_pair *next;
++} VALUE_PAIR;
++
++/* don't change this, as it has to be the same as in the Merit radiusd code */
++#define MGMT_POLL_SECRET "Hardlyasecret"
++
++/* Define return codes from "SendServer" utility */
++
++#define BADRESP_RC -2
++#define ERROR_RC -1
++#define OK_RC 0
++#define TIMEOUT_RC 1
++#define REJECT_RC 2
++
++typedef struct send_data /* Used to pass information to sendserver() function */
++{
++ uint8_t code; /* RADIUS packet code */
++ uint8_t seq_nbr; /* Packet sequence number */
++ char *server; /* Name/addrress of RADIUS server */
++ int svc_port; /* RADIUS protocol destination port */
++ char *secret; /* Shared secret of RADIUS server */
++ int timeout; /* Session timeout in seconds */
++ int retries;
++ VALUE_PAIR *send_pairs; /* More a/v pairs to send */
++ VALUE_PAIR *receive_pairs; /* Where to place received a/v pairs */
++} SEND_DATA;
++
++#ifndef MIN
++#define MIN(a, b) ((a) < (b) ? (a) : (b))
++#endif
++#ifndef MAX
++#define MAX(a, b) ((a) > (b) ? (a) : (b))
++#endif
++
++#ifndef PATH_MAX
++#define PATH_MAX 1024
++#endif
++
++typedef struct env
++{
++ int maxsize, size;
++ char **env;
++} ENV;
++
++#define ENV_SIZE 128
++
++__BEGIN_DECLS
++
++/* Function prototypes */
++
++/* avpair.c */
++
++VALUE_PAIR *rc_avpair_add(rc_handle const *, VALUE_PAIR **, int, void const *, int, int);
++int rc_avpair_assign(VALUE_PAIR *, void const *, int);
++VALUE_PAIR *rc_avpair_new(rc_handle const *, int, void const *, int, int);
++VALUE_PAIR *rc_avpair_gen(rc_handle const *, VALUE_PAIR *, unsigned char const *, int, int);
++VALUE_PAIR *rc_avpair_get(VALUE_PAIR *, int, int);
++void rc_avpair_insert(VALUE_PAIR **, VALUE_PAIR *, VALUE_PAIR *);
++void rc_avpair_free(VALUE_PAIR *);
++int rc_avpair_parse(rc_handle const *, char const *, VALUE_PAIR **);
++int rc_avpair_tostr(rc_handle const *, VALUE_PAIR *, char *, int, char *, int);
++char *rc_avpair_log(rc_handle const *, VALUE_PAIR *, char *buf, size_t buf_len);
++VALUE_PAIR *rc_avpair_readin(rc_handle const *, FILE *);
++
++/* buildreq.c */
++
++void rc_buildreq(rc_handle const *, SEND_DATA *, int, char *, unsigned short, char *, int, int);
++unsigned char rc_get_id();
++int rc_auth(rc_handle *, uint32_t, VALUE_PAIR *, VALUE_PAIR **, char *);
++int rc_auth_proxy(rc_handle *, VALUE_PAIR *, VALUE_PAIR **, char *);
++int rc_acct(rc_handle *, uint32_t, VALUE_PAIR *);
++int rc_acct_proxy(rc_handle *, VALUE_PAIR *);
++int rc_check(rc_handle *, char *, char *, unsigned short, char *);
++
++int rc_aaa(rc_handle *rh, uint32_t client_port, VALUE_PAIR *send, VALUE_PAIR **received,
++ char *msg, int add_nas_port, int request_type);
++
++/* clientid.c */
++
++int rc_read_mapfile(rc_handle *, char const *);
++uint32_t rc_map2id(rc_handle const *, char const *);
++void rc_map2id_free(rc_handle *);
++
++/* config.c */
++
++rc_handle *rc_read_config(char const *);
++char *rc_conf_str(rc_handle const *, char const *);
++int rc_conf_int(rc_handle const *, char const *);
++SERVER *rc_conf_srv(rc_handle const *, char const *);
++int rc_find_server(rc_handle const *, char const *, uint32_t *, char *);
++void rc_config_free(rc_handle *);
++int rc_add_config(rc_handle *, char const *, char const *, char const *, int);
++rc_handle *rc_config_init(rc_handle *);
++int test_config(rc_handle const *, char const *);
++
++/* dict.c */
++
++int rc_read_dictionary(rc_handle *, char const *);
++DICT_ATTR *rc_dict_getattr(rc_handle const *, int);
++DICT_ATTR *rc_dict_findattr(rc_handle const *, char const *);
++DICT_VALUE *rc_dict_findval(rc_handle const *, char const *);
++DICT_VENDOR *rc_dict_findvend(rc_handle const *, char const *);
++DICT_VENDOR *rc_dict_getvend(rc_handle const *, int);
++DICT_VALUE * rc_dict_getval(rc_handle const *, uint32_t, char const *);
++void rc_dict_free(rc_handle *);
++
++/* ip_util.c */
++
++struct hostent *rc_gethostbyname(char const *);
++struct hostent *rc_gethostbyaddr(char const *, size_t, int);
++uint32_t rc_get_ipaddr(char const *);
++int rc_good_ipaddr(char const *);
++char const *rc_ip_hostname(uint32_t);
++unsigned short rc_getport(int);
++int rc_own_hostname(char *, int);
++uint32_t rc_own_ipaddress(rc_handle *);
++uint32_t rc_own_bind_ipaddress(rc_handle *);
++struct sockaddr;
++int rc_get_srcaddr(struct sockaddr *, struct sockaddr *);
++
++
++/* log.c */
++
++void rc_openlog(char const *);
++void rc_log(int, char const *, ...);
++
++/* sendserver.c */
++
++int rc_send_server(rc_handle *, SEND_DATA *, char *);
++
++/* util.c */
++
++void rc_str2tm(char const *, struct tm *);
++char *rc_getifname(rc_handle *, char const *);
++char *rc_getstr(rc_handle *, char const *, int);
++void rc_mdelay(int);
++char *rc_mksid(rc_handle *);
++rc_handle *rc_new(void);
++void rc_destroy(rc_handle *);
++char *rc_fgetln(FILE *, size_t *);
++double rc_getctime(void);
++
++/* env.c */
++
++struct env *rc_new_env(int);
++void rc_free_env(struct env *);
++int rc_add_env(struct env *, char const *, char const *);
++int rc_import_env(struct env *, char const **);
++
++/* md5.c */
++
++void rc_md5_calc(unsigned char *, unsigned char const *, unsigned int);
++
++__END_DECLS
++
++#endif /* FREERADIUS_CLIENT_H */
+diff --git a/src/plugins/vbng/include/includes.h b/src/plugins/vbng/include/includes.h
+new file mode 100644
+index 00000000..908f0e74
+--- /dev/null
++++ b/src/plugins/vbng/include/includes.h
+@@ -0,0 +1,182 @@
++/*
++ * $Id: includes.h,v 1.6 2007/06/21 18:07:22 cparker Exp $
++ *
++ * Copyright (C) 1997 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include "config.h"
++
++/* AIX requires this to be the first thing in the file. */
++#ifndef __GNUC__
++# if HAVE_ALLOCA_H
++# include <alloca.h>
++# else
++# ifdef _AIX
++# pragma alloca
++# else
++# ifndef alloca /* predefined by HP cc +Olibcalls */
++ char *alloca ();
++# endif
++# endif
++# endif
++#endif
++
++#include <sys/types.h>
++
++#include <ctype.h>
++#include <stdio.h>
++#include <errno.h>
++
++#ifdef HAVE_NETDB_H
++#include <netdb.h>
++#endif
++
++#ifdef HAVE_SYSLOG_H
++#include <syslog.h>
++#endif
++
++#ifdef STDC_HEADERS
++# include <stdlib.h>
++# include <string.h>
++# include <stdarg.h>
++#else
++# include <stdarg.h>
++# ifndef HAVE_STRCHR
++# define strchr index
++# define strrchr rindex
++# endif
++#endif
++
++/* I realize that this is ugly and unsafe.. :( */
++#ifndef HAVE_SNPRINTF
++# define snprintf(buf, len, format, ...) sprintf(buf, format, __VA_ARGS__)
++#endif
++#ifndef HAVE_VSNPRINTF
++# define vsnprintf(buf, len, format, ap) vsprintf(buf, format, ap)
++#endif
++
++#ifdef HAVE_UNISTD_H
++# include <unistd.h>
++#endif /* HAVE_UNISTD_H */
++
++#ifdef HAVE_FCNTL_H
++# include <fcntl.h>
++#endif
++
++#ifdef HAVE_SYS_FCNTL_H
++# include <sys/fcntl.h>
++#endif
++
++#ifdef HAVE_SYS_FILE_H
++# include <sys/file.h>
++#endif
++
++#ifdef HAVE_SYS_STAT_H
++# include <sys/stat.h>
++#endif
++
++#ifdef HAVE_SYS_UTSNAME_H
++# include <sys/utsname.h>
++#endif
++
++#ifdef HAVE_SYS_IOCTL_H
++# include <sys/ioctl.h>
++#endif
++
++#ifdef HAVE_CRYPT_H
++# include <crypt.h>
++#endif
++
++#ifdef HAVE_LIMITS_H
++# include <limits.h>
++#endif
++
++#ifdef HAVE_TERMIOS_H
++# include <termios.h>
++#endif
++
++#ifndef PATH_MAX
++#define PATH_MAX 1024
++#endif
++
++#ifndef UCHAR_MAX
++# ifdef __STDC__
++# define UCHAR_MAX 255U
++# else
++# define UCHAR_MAX 255
++# endif
++#endif
++
++#ifdef HAVE_PWD_H
++#include <pwd.h>
++#endif
++
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
++
++#ifdef HAVE_NETINET_IN_H
++#include <netinet/in.h>
++#endif
++
++#ifdef HAVE_ARPA_INET_H
++#include <arpa/inet.h>
++#endif
++
++#if defined(HAVE_SIGNAL_H)
++# include <signal.h>
++#endif
++#if defined(HAVE_SYS_SIGNAL_H)
++# include <sys/signal.h>
++#endif
++
++#ifdef NEED_SIG_PROTOTYPES
++int sigemptyset(sigset_t *);
++int sigaddset(sigset_t *, int);
++int sigprocmask (int, sigset_t *, sigset_t *);
++#endif
++
++#if HAVE_GETOPT_H
++# include <getopt.h>
++#endif
++
++#if defined(HAVE_SHADOW_H) && defined(HAVE_SHADOW_PASSWORDS)
++# include <shadow.h>
++#endif
++
++#if TIME_WITH_SYS_TIME
++# include <sys/time.h>
++# include <time.h>
++#else
++# if HAVE_SYS_TIME_H
++# include <sys/time.h>
++# else
++# include <time.h>
++# endif
++#endif
++
++/*
++ * prefer srandom/random over srand/rand as there generator has a
++ * better distribution of the numbers on certain systems.
++ * on Linux both generators are identical.
++ */
++#ifndef HAVE_RANDOM
++# ifdef HAVE_RAND
++# define srandom srand
++# define random rand
++# endif
++#endif
++
++/* rlib/lock.c */
++int do_lock_exclusive(FILE *);
++int do_unlock(FILE *);
+diff --git a/src/plugins/vbng/include/messages.h b/src/plugins/vbng/include/messages.h
+new file mode 100644
+index 00000000..9a5f0e81
+--- /dev/null
++++ b/src/plugins/vbng/include/messages.h
+@@ -0,0 +1,53 @@
++/*
++ * $Id: messages.h,v 1.2 2004/02/23 20:10:39 sobomax Exp $
++ *
++ * Copyright (C) 1995,1996 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++/*
++ * Only messages that the user gets under normal use are in here.
++ * Error messages and such are still in the source code.
++ */
++
++#ifndef MESSAGES_H
++#define MESSAGES_H
++
++/* radlogin.c */
++
++#define SC_LOGIN "login: "
++#define SC_PASSWORD "Password: "
++
++#define SC_TIMEOUT "\r\nlogin timed out after %d seconds. Bye.\r\n"
++#define SC_EXCEEDED "Maximum login tries exceeded. Go away!\r\n"
++
++#define SC_RADIUS_OK "RADIUS: Authentication OK\r\n"
++#define SC_RADIUS_FAILED "RADIUS: Authentication failure\r\n"
++
++#define SC_LOCAL_OK "local: Authentication OK\r\n"
++#define SC_LOCAL_FAILED "local: Authentication failure\r\n"
++#define SC_NOLOGIN "\r\nSystem closed for maintenance. Try again later...\r\n"
++
++#define SC_SERVER_REPLY "RADIUS: %s"
++
++#define SC_DEFAULT_ISSUE "(\\I)\r\n\r\n\\S \\R (\\N) (port \\L)\r\n\r\n"
++
++/* radacct.c */
++
++#define SC_ACCT_OK "RADIUS accounting OK\r\n"
++#define SC_ACCT_FAILED "RADIUS accounting failed (RC=%i)\r\n"
++
++/* radstatus.c */
++
++#define SC_STATUS_FAILED "RADIUS: Status failure\r\n"
++
++#endif /* MESSAGES_H */
+diff --git a/src/plugins/vbng/include/pathnames.h b/src/plugins/vbng/include/pathnames.h
+new file mode 100644
+index 00000000..0256d473
+--- /dev/null
++++ b/src/plugins/vbng/include/pathnames.h
+@@ -0,0 +1,28 @@
++/*
++ * $Id: pathnames.h,v 1.2 2004/02/23 20:10:39 sobomax Exp $
++ *
++ * Copyright (C) 1995,1996 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#ifndef PATHNAMES_H
++#define PATHNAMES_H
++
++#define _PATH_DEV_URANDOM "/dev/urandom" /* Linux only */
++#define _PATH_ETC_ISSUE "/etc/issue"
++
++/* normally defined in the Makefile */
++#ifndef _PATH_ETC_RADIUSCLIENT_CONF
++#define _PATH_ETC_RADIUSCLIENT_CONF "/etc/radiusclient.conf"
++#endif
++
++#endif /* PATHNAMES_H */
+diff --git a/src/plugins/vbng/lib/avpair.c b/src/plugins/vbng/lib/avpair.c
+new file mode 100644
+index 00000000..8ce2a8ec
+--- /dev/null
++++ b/src/plugins/vbng/lib/avpair.c
+@@ -0,0 +1,874 @@
++/*
++ * $Id: avpair.c,v 1.26 2010/06/15 09:22:52 aland Exp $
++ *
++ * Copyright (C) 1995 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++/*
++ * Function: rc_avpair_add
++ *
++ * Purpose: add an attribute-value pair to the given list.
++ *
++ * Returns: pointer to added a/v pair upon success, NULL pointer upon failure.
++ *
++ * Remarks: Always appends the new pair to the end of the list.
++ *
++ */
++
++VALUE_PAIR *rc_avpair_add (rc_handle const *rh, VALUE_PAIR **list, int attrid, void const *pval, int len, int vendorpec)
++{
++ VALUE_PAIR *vp;
++
++ vp = rc_avpair_new (rh, attrid, pval, len, vendorpec);
++
++ if (vp != NULL)
++ {
++ rc_avpair_insert (list, NULL, vp);
++ }
++
++ return vp;
++
++}
++
++/*
++ * Function: rc_avpair_assign
++ *
++ * Purpose: assign the given value to an attribute-value pair.
++ *
++ * Returns: 0 on success,
++ * -1 on failure.
++ *
++ */
++
++int rc_avpair_assign (VALUE_PAIR *vp, void const *pval, int len)
++{
++
++ switch (vp->type)
++ {
++ case PW_TYPE_STRING:
++ if (len == -1)
++ len = (uint32_t)strlen((char const *)pval);
++ if (len > AUTH_STRING_LEN) {
++ rc_log(LOG_ERR, "rc_avpair_assign: bad attribute length");
++ return -1;
++ }
++ memcpy(vp->strvalue, (char const *)pval, len);
++ vp->strvalue[len] = '\0';
++ vp->lvalue = len;
++ break;
++
++ case PW_TYPE_DATE:
++ case PW_TYPE_INTEGER:
++ case PW_TYPE_IPADDR:
++ vp->lvalue = * (uint32_t *) pval;
++ break;
++ case PW_TYPE_IPV6ADDR:
++ if (len != 16) {
++ rc_log(LOG_ERR, "rc_avpair_assign: bad IPv6 length");
++ return -1;
++ }
++ memcpy(vp->strvalue, (char const *)pval, len);
++ vp->lvalue = len;
++ break;
++
++ case PW_TYPE_IPV6PREFIX:
++ if (len < 2 || len > 18) {
++ rc_log(LOG_ERR, "rc_avpair_assign: bad IPv6 prefix length");
++ return -1;
++ }
++ memcpy(vp->strvalue, (char const *)pval, len);
++ vp->lvalue = len;
++ break;
++
++ default:
++ rc_log(LOG_ERR, "rc_avpair_assign: unknown attribute %d", vp->type);
++ return -1;
++ }
++ return 0;
++}
++
++/*
++ * Function: rc_avpair_new
++ *
++ * Purpose: make a new attribute-value pair with given parameters.
++ *
++ * Returns: pointer to generated a/v pair when successful, NULL when failure.
++ *
++ */
++
++VALUE_PAIR *rc_avpair_new (rc_handle const *rh, int attrid, void const *pval, int len, int vendorpec)
++{
++ VALUE_PAIR *vp = NULL;
++ DICT_ATTR *pda;
++
++ attrid = attrid | (vendorpec << 16);
++ if ((pda = rc_dict_getattr (rh, attrid)) == NULL)
++ {
++ rc_log(LOG_ERR,"rc_avpair_new: unknown attribute %d", attrid);
++ return NULL;
++ }
++ if (vendorpec != 0 && rc_dict_getvend(rh, vendorpec) == NULL)
++ {
++ rc_log(LOG_ERR,"rc_avpair_new: unknown Vendor-Id %d", vendorpec);
++ return NULL;
++ }
++ if ((vp = malloc (sizeof (VALUE_PAIR))) != NULL)
++ {
++ strncpy (vp->name, pda->name, sizeof (vp->name));
++ vp->attribute = attrid;
++ vp->next = NULL;
++ vp->type = pda->type;
++ if (rc_avpair_assign (vp, pval, len) == 0)
++ {
++ /* XXX: Fix up Digest-Attributes */
++ switch (vp->attribute) {
++ case PW_DIGEST_REALM:
++ case PW_DIGEST_NONCE:
++ case PW_DIGEST_METHOD:
++ case PW_DIGEST_URI:
++ case PW_DIGEST_QOP:
++ case PW_DIGEST_ALGORITHM:
++ case PW_DIGEST_BODY_DIGEST:
++ case PW_DIGEST_CNONCE:
++ case PW_DIGEST_NONCE_COUNT:
++ case PW_DIGEST_USER_NAME:
++ /* overlapping! */
++ if (vp->lvalue > AUTH_STRING_LEN - 2)
++ vp->lvalue = AUTH_STRING_LEN - 2;
++ memmove(&vp->strvalue[2], &vp->strvalue[0], vp->lvalue);
++ vp->strvalue[0] = vp->attribute - PW_DIGEST_REALM + 1;
++ vp->lvalue += 2;
++ vp->strvalue[1] = vp->lvalue;
++ vp->strvalue[vp->lvalue] = '\0';
++ vp->attribute = PW_DIGEST_ATTRIBUTES;
++ default:
++ break;
++ }
++ return vp;
++ }
++ free (vp);
++ vp = NULL;
++ }
++ else
++ {
++ rc_log(LOG_CRIT,"rc_avpair_new: out of memory");
++ }
++
++ return vp;
++}
++
++/*
++ *
++ * Function: rc_avpair_gen
++ *
++ * Purpose: takes attribute/value pairs from buffer and builds a
++ * value_pair list using allocated memory. Uses recursion.
++ *
++ * Returns: value_pair list or NULL on failure
++ */
++
++VALUE_PAIR *
++rc_avpair_gen(rc_handle const *rh, VALUE_PAIR *pair, unsigned char const *ptr,
++ int length, int vendorpec)
++{
++ int attribute, attrlen, x_len;
++ unsigned char const *x_ptr;
++ uint32_t lvalue;
++ DICT_ATTR *attr;
++ VALUE_PAIR *rpair;
++ char buffer[(AUTH_STRING_LEN * 2) + 1];
++ /* For hex string conversion. */
++ char hex[3];
++
++ if (length < 2) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received attribute with "
++ "invalid length");
++ goto shithappens;
++ }
++ attrlen = ptr[1];
++ if (length < attrlen || attrlen < 2) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received attribute with "
++ "invalid length");
++ goto shithappens;
++ }
++
++ /* Advance to the next attribute and process recursively */
++ if (length != attrlen) {
++ pair = rc_avpair_gen(rh, pair, ptr + attrlen, length - attrlen,
++ vendorpec);
++ if (pair == NULL)
++ return NULL;
++ }
++
++ /* Actual processing */
++ attribute = ptr[0] | (vendorpec << 16);
++ ptr += 2;
++ attrlen -= 2;
++
++ /* VSA */
++ if (attribute == PW_VENDOR_SPECIFIC) {
++ if (attrlen < 4) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received VSA "
++ "attribute with invalid length");
++ goto shithappens;
++ }
++ memcpy(&lvalue, ptr, 4);
++ vendorpec = ntohl(lvalue);
++ if (rc_dict_getvend(rh, vendorpec) == NULL) {
++ /* Warn and skip over the unknown VSA */
++ rc_log(LOG_WARNING, "rc_avpair_gen: received VSA "
++ "attribute with unknown Vendor-Id %d", vendorpec);
++ return pair;
++ }
++ /* Process recursively */
++ return rc_avpair_gen(rh, pair, ptr + 4, attrlen - 4,
++ vendorpec);
++ }
++
++ /* Normal */
++ attr = rc_dict_getattr(rh, attribute);
++ if (attr == NULL) {
++ buffer[0] = '\0'; /* Initial length. */
++ x_ptr = ptr;
++ for (x_len = attrlen; x_len > 0; x_len--, x_ptr++) {
++ snprintf(hex, sizeof(hex), "%2.2X", x_ptr[0]);
++ strcat(buffer, hex);
++ }
++ if (vendorpec == 0) {
++ rc_log(LOG_WARNING, "rc_avpair_gen: received "
++ "unknown attribute %d of length %d: 0x%s",
++ attribute, attrlen + 2, buffer);
++ } else {
++ rc_log(LOG_WARNING, "rc_avpair_gen: received "
++ "unknown VSA attribute %d, vendor %d of "
++ "length %d: 0x%s", attribute & 0xffff,
++ VENDOR(attribute), attrlen + 2, buffer);
++ }
++ goto shithappens;
++ }
++
++ rpair = malloc(sizeof(*rpair));
++ if (rpair == NULL) {
++ rc_log(LOG_CRIT, "rc_avpair_gen: out of memory");
++ goto shithappens;
++ }
++ memset(rpair, '\0', sizeof(*rpair));
++
++ /* Insert this new pair at the beginning of the list */
++ rpair->next = pair;
++ pair = rpair;
++ strcpy(pair->name, attr->name);
++ pair->attribute = attr->value;
++ pair->type = attr->type;
++
++ switch (attr->type) {
++ case PW_TYPE_STRING:
++ memcpy(pair->strvalue, (char *)ptr, (size_t)attrlen);
++ pair->strvalue[attrlen] = '\0';
++ pair->lvalue = attrlen;
++ break;
++
++ case PW_TYPE_INTEGER:
++ if (attrlen != 4) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received INT "
++ "attribute with invalid length");
++ goto shithappens;
++ }
++ case PW_TYPE_IPADDR:
++ if (attrlen != 4) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received IPADDR"
++ " attribute with invalid length");
++ goto shithappens;
++ }
++ memcpy((char *)&lvalue, (char *)ptr, 4);
++ pair->lvalue = ntohl(lvalue);
++ break;
++ case PW_TYPE_IPV6ADDR:
++ if (attrlen != 16) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received IPV6ADDR"
++ " attribute with invalid length");
++ goto shithappens;
++ }
++ memcpy(pair->strvalue, (char *)ptr, 16);
++ pair->lvalue = attrlen;
++ break;
++ case PW_TYPE_IPV6PREFIX:
++ if (attrlen > 18 || attrlen < 2) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received IPV6PREFIX"
++ " attribute with invalid length: %d", attrlen);
++ goto shithappens;
++ }
++ memcpy(pair->strvalue, (char *)ptr, attrlen);
++ pair->lvalue = attrlen;
++ break;
++ case PW_TYPE_DATE:
++ if (attrlen != 4) {
++ rc_log(LOG_ERR, "rc_avpair_gen: received DATE "
++ "attribute with invalid length");
++ goto shithappens;
++ }
++
++ default:
++ rc_log(LOG_WARNING, "rc_avpair_gen: %s has unknown type",
++ attr->name);
++ goto shithappens;
++ }
++ return pair;
++
++shithappens:
++ while (pair != NULL) {
++ rpair = pair->next;
++ free(pair);
++ pair = rpair;
++ }
++ return NULL;
++}
++
++/*
++ * Function: rc_avpair_get
++ *
++ * Purpose: Find the first attribute value-pair (which matches the given
++ * attribute) from the specified value-pair list.
++ *
++ * Returns: found value_pair
++ *
++ */
++
++VALUE_PAIR *rc_avpair_get (VALUE_PAIR *vp, int attrid, int vendorpec)
++{
++ for (; vp != NULL && !(ATTRID(vp->attribute) == ATTRID(attrid) &&
++ VENDOR(vp->attribute) == vendorpec); vp = vp->next)
++ {
++ continue;
++ }
++ return vp;
++}
++
++/*
++ * Function: rc_avpair_insert
++ *
++ * Purpose: Given the address of an existing list "a" and a pointer
++ * to an entry "p" in that list, add the value pair "b" to
++ * the "a" list after the "p" entry. If "p" is NULL, add
++ * the value pair "b" to the end of "a".
++ *
++ */
++
++void rc_avpair_insert (VALUE_PAIR **a, VALUE_PAIR *p, VALUE_PAIR *b)
++{
++ VALUE_PAIR *this_node = NULL;
++ VALUE_PAIR *vp;
++
++ if (b->next != NULL)
++ {
++ rc_log(LOG_CRIT, "rc_avpair_insert: value pair (0x%p) next ptr. (0x%p) not NULL", b, b->next);
++ abort ();
++ }
++
++ if (*a == NULL)
++ {
++ *a = b;
++ return;
++ }
++
++ vp = *a;
++
++ if ( p == NULL) /* run to end of "a" list */
++ {
++ while (vp != NULL)
++ {
++ this_node = vp;
++ vp = vp->next;
++ }
++ }
++ else /* look for the "p" entry in the "a" list */
++ {
++ this_node = *a;
++ while (this_node != NULL)
++ {
++ if (this_node == p)
++ {
++ break;
++ }
++ this_node = this_node->next;
++ }
++ }
++
++ b->next = this_node->next;
++ this_node->next = b;
++
++ return;
++}
++
++/*
++ * Function: rc_avpair_free
++ *
++ * Purpose: frees all value_pairs in the list
++ *
++ */
++
++void rc_avpair_free (VALUE_PAIR *pair)
++{
++ VALUE_PAIR *next;
++
++ while (pair != NULL)
++ {
++ next = pair->next;
++ free (pair);
++ pair = next;
++ }
++}
++
++/*
++ * Function: rc_fieldcpy
++ *
++ * Purpose: Copy a data field from the buffer. Advance the buffer
++ * past the data field. Ensure that no more than len - 1
++ * bytes are copied and that resulting string is terminated
++ * with '\0'.
++ *
++ */
++
++static void
++rc_fieldcpy(char *string, char const **uptr, char const *stopat, size_t len)
++{
++ char const *ptr, *estring;
++
++ ptr = *uptr;
++ estring = string + len - 1;
++ if (*ptr == '"')
++ {
++ ptr++;
++ while (*ptr != '"' && *ptr != '\0' && *ptr != '\n')
++ {
++ if (string < estring)
++ *string++ = *ptr;
++ ptr++;
++ }
++ if (*ptr == '"')
++ {
++ ptr++;
++ }
++ *string = '\0';
++ *uptr = ptr;
++ return;
++ }
++
++ while (*ptr != '\0' && strchr(stopat, *ptr) == NULL)
++ {
++ if (string < estring)
++ *string++ = *ptr;
++ ptr++;
++ }
++ *string = '\0';
++ *uptr = ptr;
++ return;
++}
++
++
++/*
++ * Function: rc_avpair_parse
++ *
++ * Purpose: parses the buffer to extract the attribute-value pairs.
++ *
++ * Returns: 0 = successful parse of attribute-value pair,
++ * -1 = syntax (or other) error detected.
++ *
++ */
++
++#define PARSE_MODE_NAME 0
++#define PARSE_MODE_EQUAL 1
++#define PARSE_MODE_VALUE 2
++#define PARSE_MODE_INVALID 3
++
++int rc_avpair_parse (rc_handle const *rh, char const *buffer, VALUE_PAIR **first_pair)
++{
++ int mode;
++ char attrstr[AUTH_ID_LEN];
++ char valstr[AUTH_STRING_LEN + 1], *p;
++ DICT_ATTR *attr = NULL;
++ DICT_VALUE *dval;
++ VALUE_PAIR *pair;
++ VALUE_PAIR *link;
++ struct tm *tm;
++ time_t timeval;
++
++ mode = PARSE_MODE_NAME;
++ while (*buffer != '\n' && *buffer != '\0')
++ {
++ if (*buffer == ' ' || *buffer == '\t')
++ {
++ buffer++;
++ continue;
++ }
++
++ switch (mode)
++ {
++ case PARSE_MODE_NAME: /* Attribute Name */
++ rc_fieldcpy (attrstr, &buffer, " \t\n=,", sizeof(attrstr));
++ if ((attr =
++ rc_dict_findattr (rh, attrstr)) == NULL)
++ {
++ rc_log(LOG_ERR, "rc_avpair_parse: unknown attribute");
++ if (*first_pair) {
++ rc_avpair_free(*first_pair);
++ *first_pair = NULL;
++ }
++ return -1;
++ }
++ mode = PARSE_MODE_EQUAL;
++ break;
++
++ case PARSE_MODE_EQUAL: /* Equal sign */
++ if (*buffer == '=')
++ {
++ mode = PARSE_MODE_VALUE;
++ buffer++;
++ }
++ else
++ {
++ rc_log(LOG_ERR, "rc_avpair_parse: missing or misplaced equal sign");
++ if (*first_pair) {
++ rc_avpair_free(*first_pair);
++ *first_pair = NULL;
++ }
++ return -1;
++ }
++ break;
++
++ case PARSE_MODE_VALUE: /* Value */
++ rc_fieldcpy (valstr, &buffer, " \t\n,", sizeof(valstr));
++
++ if ((pair = malloc (sizeof (VALUE_PAIR))) == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_avpair_parse: out of memory");
++ if (*first_pair) {
++ rc_avpair_free(*first_pair);
++ *first_pair = NULL;
++ }
++ return -1;
++ }
++ strcpy (pair->name, attr->name);
++ pair->attribute = attr->value;
++ pair->type = attr->type;
++
++ switch (pair->type)
++ {
++
++ case PW_TYPE_STRING:
++ strcpy (pair->strvalue, valstr);
++ pair->lvalue = (uint32_t)strlen(valstr);
++ break;
++
++ case PW_TYPE_INTEGER:
++ if (isdigit (*valstr))
++ {
++ pair->lvalue = atoi (valstr);
++ }
++ else
++ {
++ if ((dval = rc_dict_findval (rh, valstr))
++ == NULL)
++ {
++ rc_log(LOG_ERR, "rc_avpair_parse: unknown attribute value: %s", valstr);
++ if (*first_pair) {
++ rc_avpair_free(*first_pair);
++ *first_pair = NULL;
++ }
++ free (pair);
++ return -1;
++ }
++ else
++ {
++ pair->lvalue = dval->value;
++ }
++ }
++ break;
++
++ case PW_TYPE_IPADDR:
++ pair->lvalue = rc_get_ipaddr(valstr);
++ break;
++
++ case PW_TYPE_IPV6ADDR:
++ if (inet_pton(AF_INET6, valstr, pair->strvalue) == 0) {
++ rc_log(LOG_ERR, "rc_avpair_parse: invalid IPv6 address %s", valstr);
++ free(pair);
++ return -1;
++ }
++ pair->lvalue = 16;
++ break;
++
++ case PW_TYPE_IPV6PREFIX:
++ p = strchr(valstr, '/');
++ if (p == NULL) {
++ rc_log(LOG_ERR, "rc_avpair_parse: invalid IPv6 prefix %s", valstr);
++ free(pair);
++ return -1;
++ }
++ *p = 0;
++ p++;
++ pair->strvalue[0] = 0;
++ pair->strvalue[1] = atoi(p);
++
++ if (inet_pton(AF_INET6, valstr, pair->strvalue+2) == 0) {
++ rc_log(LOG_ERR, "rc_avpair_parse: invalid IPv6 prefix %s", valstr);
++ free(pair);
++ return -1;
++ }
++ pair->lvalue = 2+16;
++ break;
++
++ case PW_TYPE_DATE:
++ timeval = time (0);
++ tm = localtime (&timeval);
++ tm->tm_hour = 0;
++ tm->tm_min = 0;
++ tm->tm_sec = 0;
++ rc_str2tm (valstr, tm);
++#ifdef TIMELOCAL
++ pair->lvalue = (uint32_t) timelocal (tm);
++#else /* TIMELOCAL */
++ pair->lvalue = (uint32_t) mktime (tm);
++#endif /* TIMELOCAL */
++ break;
++
++ default:
++ rc_log(LOG_ERR, "rc_avpair_parse: unknown attribute type %d", pair->type);
++ if (*first_pair) {
++ rc_avpair_free(*first_pair);
++ *first_pair = NULL;
++ }
++ free (pair);
++ return -1;
++ }
++
++ /* XXX: Fix up Digest-Attributes */
++ switch (pair->attribute) {
++ case PW_DIGEST_REALM:
++ case PW_DIGEST_NONCE:
++ case PW_DIGEST_METHOD:
++ case PW_DIGEST_URI:
++ case PW_DIGEST_QOP:
++ case PW_DIGEST_ALGORITHM:
++ case PW_DIGEST_BODY_DIGEST:
++ case PW_DIGEST_CNONCE:
++ case PW_DIGEST_NONCE_COUNT:
++ case PW_DIGEST_USER_NAME:
++ /* overlapping! */
++ if (pair->lvalue > AUTH_STRING_LEN - 2)
++ pair->lvalue = AUTH_STRING_LEN - 2;
++ memmove(&pair->strvalue[2], &pair->strvalue[0], pair->lvalue);
++ pair->strvalue[0] = pair->attribute - PW_DIGEST_REALM + 1;
++ pair->lvalue += 2;
++ pair->strvalue[1] = pair->lvalue;
++ pair->strvalue[pair->lvalue] = '\0';
++ pair->attribute = PW_DIGEST_ATTRIBUTES;
++ }
++
++ pair->next = NULL;
++
++ if (*first_pair == NULL)
++ {
++ *first_pair = pair;
++ }
++ else
++ {
++ link = *first_pair;
++ while (link->next != NULL)
++ {
++ link = link->next;
++ }
++ link->next = pair;
++ }
++
++ mode = PARSE_MODE_NAME;
++ break;
++
++ default:
++ mode = PARSE_MODE_NAME;
++ break;
++ }
++ }
++ return 0;
++}
++
++/*
++ * Function: rc_avpair_tostr
++ *
++ * Purpose: Translate an av_pair into two strings
++ *
++ * Returns: 0 on success, -1 on failure
++ *
++ */
++
++int rc_avpair_tostr (rc_handle const *rh, VALUE_PAIR *pair, char *name, int ln, char *value, int lv)
++{
++ DICT_VALUE *dval;
++ char buffer[32];
++ struct in_addr inad;
++ unsigned char *ptr;
++
++ *name = *value = '\0';
++
++ if (!pair || pair->name[0] == '\0') {
++ rc_log(LOG_ERR, "rc_avpair_tostr: pair is NULL or empty");
++ return -1;
++ }
++
++ strncpy(name, pair->name, (size_t) ln);
++
++ switch (pair->type)
++ {
++ case PW_TYPE_STRING:
++ lv--;
++ ptr = (unsigned char *) pair->strvalue;
++ if (pair->attribute == PW_DIGEST_ATTRIBUTES) {
++ pair->strvalue[*(ptr + 1)] = '\0';
++ ptr += 2;
++ }
++ while (*ptr != '\0')
++ {
++ if (!(isprint (*ptr)))
++ {
++ snprintf (buffer, sizeof(buffer), "\\%03o", *ptr);
++ strncat(value, buffer, (size_t) lv);
++ lv -= 4;
++ if (lv < 0) break;
++ }
++ else
++ {
++ strncat(value, (char *)ptr, 1);
++ lv--;
++ if (lv <= 0) break;
++ }
++ ptr++;
++ }
++ break;
++
++ case PW_TYPE_INTEGER:
++ dval = rc_dict_getval (rh, pair->lvalue, pair->name);
++ if (dval != NULL)
++ {
++ strncpy(value, dval->name, (size_t) lv-1);
++ }
++ else
++ {
++ snprintf(buffer, sizeof(buffer), "%ld", (long int)pair->lvalue);
++ strncpy(value, buffer, (size_t) lv);
++ }
++ break;
++
++ case PW_TYPE_IPADDR:
++ inad.s_addr = htonl(pair->lvalue);
++ strncpy (value, inet_ntoa (inad), (size_t) lv-1);
++ break;
++
++ case PW_TYPE_IPV6ADDR:
++ if (inet_ntop(AF_INET6, pair->strvalue, value, lv-1) == NULL)
++ return -1;
++ break;
++
++ case PW_TYPE_IPV6PREFIX: {
++ uint8_t ip[16];
++ uint8_t txt[48];
++ if (pair->lvalue < 2)
++ return -1;
++
++ memset(ip, 0, sizeof(ip));
++ memcpy(ip, pair->strvalue+2, pair->lvalue-2);
++
++ if (inet_ntop(AF_INET6, ip, txt, sizeof(txt)) == NULL)
++ return -1;
++ snprintf(value, lv-1, "%s/%u", txt, (unsigned)pair->strvalue[1]);
++
++ break;
++ }
++ case PW_TYPE_DATE:
++ strftime (buffer, sizeof (buffer), "%m/%d/%y %H:%M:%S",
++ gmtime ((time_t *) & pair->lvalue));
++ strncpy(value, buffer, lv-1);
++ break;
++
++ default:
++ rc_log(LOG_ERR, "rc_avpair_tostr: unknown attribute type %d", pair->type);
++ return -1;
++ break;
++ }
++
++ return 0;
++}
++
++/*
++ * Function: rc_avpair_log
++ *
++ * Purpose: format sequence of attribute value pairs into printable
++ * string. The caller should provide a storage buffer and the buffer length.
++ * Returns pointer to provided storage buffer.
++ *
++ */
++char *
++rc_avpair_log(rc_handle const *rh, VALUE_PAIR *pair, char *buf, size_t buf_len)
++{
++ size_t len, nlen;
++ VALUE_PAIR *vp;
++ char name[33], value[256];
++
++ len = 0;
++ for (vp = pair; vp != NULL; vp = vp->next) {
++ if (rc_avpair_tostr(rh, vp, name, sizeof(name), value,
++ sizeof(value)) == -1)
++ return NULL;
++ nlen = len + 32 + 3 + strlen(value) + 2 + 2;
++ if(nlen<buf_len-1) {
++ sprintf(buf + len, "%-32s = '%s'\n", name, value);
++ } else return buf;
++ len = nlen - 1;
++ }
++ return buf;
++}
++
++/*
++ * Function: rc_avpair_readin
++ *
++ * Purpose: get a sequence of attribute value pairs from the file input
++ * and make them into a list of value_pairs
++ *
++ */
++
++VALUE_PAIR *rc_avpair_readin(rc_handle const *rh, FILE *input)
++{
++ VALUE_PAIR *vp = NULL;
++ char buffer[1024], *q;
++
++ while (fgets(buffer, sizeof(buffer), input) != NULL)
++ {
++ q = buffer;
++
++ while(*q && isspace(*q)) q++;
++
++ if ((*q == '\n') || (*q == '#') || (*q == '\0'))
++ continue;
++
++ if (rc_avpair_parse(rh, q, &vp) < 0) {
++ rc_log(LOG_ERR, "rc_avpair_readin: malformed attribute: %s", buffer);
++ rc_avpair_free(vp);
++ return NULL;
++ }
++ }
++
++ return vp;
++}
+diff --git a/src/plugins/vbng/lib/buildreq.c b/src/plugins/vbng/lib/buildreq.c
+new file mode 100644
+index 00000000..a71b1f99
+--- /dev/null
++++ b/src/plugins/vbng/lib/buildreq.c
+@@ -0,0 +1,276 @@
++/*
++ * $Id: buildreq.c,v 1.17 2010/02/04 10:27:09 aland Exp $
++ *
++ * Copyright (C) 1995,1997 Lars Fenneberg
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++unsigned char rc_get_id();
++
++/*
++ * Function: rc_buildreq
++ *
++ * Purpose: builds a skeleton RADIUS request using information from the
++ * config file.
++ *
++ */
++
++void rc_buildreq(rc_handle const *rh, SEND_DATA *data, int code, char *server, unsigned short port,
++ char *secret, int timeout, int retries)
++{
++ data->server = server;
++ data->secret = secret;
++ data->svc_port = port;
++ data->seq_nbr = rc_get_id();
++ data->timeout = timeout;
++ data->retries = retries;
++ data->code = code;
++}
++
++/*
++ * Function: rc_get_id
++ *
++ * Purpose: generate random id
++ *
++ */
++
++unsigned char rc_get_id()
++{
++ return (unsigned char)(random() & UCHAR_MAX);
++}
++
++/*
++ * Function: rc_aaa
++ *
++ * Purpose: Builds an authentication/accounting request for port id client_port
++ * with the value_pairs send and submits it to a server
++ *
++ * Returns: received value_pairs in received, messages from the server in msg
++ * and 0 on success, negative on failure as return value
++ *
++ */
++
++int rc_aaa(rc_handle *rh, uint32_t client_port, VALUE_PAIR *send, VALUE_PAIR **received,
++ char *msg, int add_nas_port, int request_type)
++{
++ SEND_DATA data;
++ VALUE_PAIR *adt_vp = NULL;
++ int result;
++ int i, skip_count;
++ SERVER *aaaserver;
++ int timeout = rc_conf_int(rh, "radius_timeout");
++ int retries = rc_conf_int(rh, "radius_retries");
++ int radius_deadtime = rc_conf_int(rh, "radius_deadtime");
++ double start_time = 0;
++ double now = 0;
++ time_t dtime;
++
++ if (request_type != PW_ACCOUNTING_REQUEST) {
++ aaaserver = rc_conf_srv(rh, "authserver");
++ } else {
++ aaaserver = rc_conf_srv(rh, "acctserver");
++ }
++ if (aaaserver == NULL)
++ return ERROR_RC;
++
++ data.send_pairs = send;
++ data.receive_pairs = NULL;
++
++ if (add_nas_port != 0) {
++ /*
++ * Fill in NAS-Port
++ */
++ if (rc_avpair_add(rh, &(data.send_pairs), PW_NAS_PORT,
++ &client_port, 0, 0) == NULL)
++ return ERROR_RC;
++ }
++
++ if (request_type == PW_ACCOUNTING_REQUEST) {
++ /*
++ * Fill in Acct-Delay-Time
++ */
++ dtime = 0;
++ now = rc_getctime();
++ adt_vp = rc_avpair_get(data.send_pairs, PW_ACCT_DELAY_TIME, 0);
++ if (adt_vp == NULL) {
++ adt_vp = rc_avpair_add(rh, &(data.send_pairs),
++ PW_ACCT_DELAY_TIME, &dtime, 0, 0);
++ if (adt_vp == NULL)
++ return ERROR_RC;
++ start_time = now;
++ } else {
++ start_time = now - adt_vp->lvalue;
++ }
++ }
++
++ skip_count = 0;
++ result = ERROR_RC;
++ for (i=0; (i < aaaserver->max) && (result != OK_RC) && (result != BADRESP_RC)
++ ; i++, now = rc_getctime())
++ {
++ if (aaaserver->deadtime_ends[i] != -1 &&
++ aaaserver->deadtime_ends[i] > start_time) {
++ skip_count++;
++ continue;
++ }
++ if (data.receive_pairs != NULL) {
++ rc_avpair_free(data.receive_pairs);
++ data.receive_pairs = NULL;
++ }
++ rc_buildreq(rh, &data, request_type, aaaserver->name[i],
++ aaaserver->port[i], aaaserver->secret[i], timeout, retries);
++
++ if (request_type == PW_ACCOUNTING_REQUEST) {
++ dtime = now - start_time;
++ rc_avpair_assign(adt_vp, &dtime, 0);
++ }
++
++ result = rc_send_server (rh, &data, msg);
++ if (result == TIMEOUT_RC && radius_deadtime > 0)
++ aaaserver->deadtime_ends[i] = start_time + (double)radius_deadtime;
++ }
++ if (result == OK_RC || result == BADRESP_RC || skip_count == 0)
++ goto exit;
++
++ result = ERROR_RC;
++ for (i=0; (i < aaaserver->max) && (result != OK_RC) && (result != BADRESP_RC)
++ ; i++)
++ {
++ if (aaaserver->deadtime_ends[i] == -1 ||
++ aaaserver->deadtime_ends[i] <= start_time) {
++ continue;
++ }
++ if (data.receive_pairs != NULL) {
++ rc_avpair_free(data.receive_pairs);
++ data.receive_pairs = NULL;
++ }
++ rc_buildreq(rh, &data, request_type, aaaserver->name[i],
++ aaaserver->port[i], aaaserver->secret[i], timeout, retries);
++
++ if (request_type == PW_ACCOUNTING_REQUEST) {
++ dtime = rc_getctime() - start_time;
++ rc_avpair_assign(adt_vp, &dtime, 0);
++ }
++
++ result = rc_send_server (rh, &data, msg);
++ if (result != TIMEOUT_RC)
++ aaaserver->deadtime_ends[i] = -1;
++ }
++
++exit:
++ if (request_type != PW_ACCOUNTING_REQUEST) {
++ *received = data.receive_pairs;
++ } else {
++ rc_avpair_free(data.receive_pairs);
++ }
++
++ return result;
++}
++
++/*
++ * Function: rc_auth
++ *
++ * Purpose: Builds an authentication request for port id client_port
++ * with the value_pairs send and submits it to a server
++ *
++ * Returns: received value_pairs in received, messages from the server in msg (if non-NULL),
++ * and 0 on success, negative on failure as return value
++ *
++ */
++
++int rc_auth(rc_handle *rh, uint32_t client_port, VALUE_PAIR *send, VALUE_PAIR **received,
++ char *msg)
++{
++
++ return rc_aaa(rh, client_port, send, received, msg, 1, PW_ACCESS_REQUEST);
++}
++
++/*
++ * Function: rc_auth_proxy
++ *
++ * Purpose: Builds an authentication request
++ * with the value_pairs send and submits it to a server.
++ * Works for a proxy; does not add IP address, and does
++ * does not rely on config file.
++ *
++ * Returns: received value_pairs in received, messages from the server in msg (if non-NULL)
++ * and 0 on success, negative on failure as return value
++ *
++ */
++
++int rc_auth_proxy(rc_handle *rh, VALUE_PAIR *send, VALUE_PAIR **received, char *msg)
++{
++
++ return rc_aaa(rh, 0, send, received, msg, 0, PW_ACCESS_REQUEST);
++}
++
++
++/*
++ * Function: rc_acct
++ *
++ * Purpose: Builds an accounting request for port id client_port
++ * with the value_pairs send
++ *
++ * Remarks: NAS-IP-Address, NAS-Port and Acct-Delay-Time get filled
++ * in by this function, the rest has to be supplied.
++ */
++
++int rc_acct(rc_handle *rh, uint32_t client_port, VALUE_PAIR *send)
++{
++
++ return rc_aaa(rh, client_port, send, NULL, NULL, 1, PW_ACCOUNTING_REQUEST);
++}
++
++/*
++ * Function: rc_acct_proxy
++ *
++ * Purpose: Builds an accounting request with the value_pairs send
++ *
++ */
++
++int rc_acct_proxy(rc_handle *rh, VALUE_PAIR *send)
++{
++
++ return rc_aaa(rh, 0, send, NULL, NULL, 0, PW_ACCOUNTING_REQUEST);
++}
++
++/*
++ * Function: rc_check
++ *
++ * Purpose: ask the server hostname on the specified port for a
++ * status message
++ *
++ */
++
++int rc_check(rc_handle *rh, char *host, char *secret, unsigned short port, char *msg)
++{
++ SEND_DATA data;
++ int result;
++ uint32_t service_type;
++ int timeout = rc_conf_int(rh, "radius_timeout");
++ int retries = rc_conf_int(rh, "radius_retries");
++
++ data.send_pairs = data.receive_pairs = NULL;
++
++ /*
++ * Fill in Service-Type
++ */
++
++ service_type = PW_ADMINISTRATIVE;
++ rc_avpair_add(rh, &(data.send_pairs), PW_SERVICE_TYPE, &service_type, 0, 0);
++
++ rc_buildreq(rh, &data, PW_STATUS_SERVER, host, port, secret, timeout, retries);
++ result = rc_send_server (rh, &data, msg);
++
++ rc_avpair_free(data.receive_pairs);
++
++ return result;
++}
+diff --git a/src/plugins/vbng/lib/clientid.c b/src/plugins/vbng/lib/clientid.c
+new file mode 100644
+index 00000000..6901a04b
+--- /dev/null
++++ b/src/plugins/vbng/lib/clientid.c
+@@ -0,0 +1,146 @@
++/*
++ * $Id: clientid.c,v 1.7 2007/07/11 17:29:29 cparker Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++struct map2id_s {
++ char *name;
++ uint32_t id;
++
++ struct map2id_s *next;
++};
++
++/*
++ * Function: rc_read_mapfile
++ *
++ * Purpose: Read in the ttyname to port id map file
++ *
++ * Arguments: the file name of the map file
++ *
++ * Returns: zero on success, negative integer on failure
++ */
++
++int rc_read_mapfile(rc_handle *rh, char const *filename)
++{
++ char buffer[1024];
++ FILE *mapfd;
++ char *c, *name, *id, *q;
++ struct map2id_s *p;
++ int lnr = 0;
++
++ if ((mapfd = fopen(filename,"r")) == NULL)
++ {
++ rc_log(LOG_ERR,"rc_read_mapfile: can't read %s: %s", filename, strerror(errno));
++ return -1;
++ }
++
++#define SKIP(p) while(*p && isspace(*p)) p++;
++
++ while (fgets(buffer, sizeof(buffer), mapfd) != NULL)
++ {
++ lnr++;
++
++ q = buffer;
++
++ SKIP(q);
++
++ if ((*q == '\n') || (*q == '#') || (*q == '\0'))
++ continue;
++
++ if (( c = strchr(q, ' ')) || (c = strchr(q,'\t'))) {
++
++ *c = '\0'; c++;
++ SKIP(c);
++
++ name = q;
++ id = c;
++
++ if ((p = (struct map2id_s *)malloc(sizeof(*p))) == NULL) {
++ rc_log(LOG_CRIT,"rc_read_mapfile: out of memory");
++ fclose(mapfd);
++ return -1;
++ }
++
++ p->name = strdup(name);
++ p->id = atoi(id);
++ p->next = rh->map2id_list;
++ rh->map2id_list = p;
++
++ } else {
++
++ rc_log(LOG_ERR, "rc_read_mapfile: malformed line in %s, line %d", filename, lnr);
++ fclose(mapfd);
++ return -1;
++
++ }
++ }
++
++#undef SKIP
++
++ fclose(mapfd);
++
++ return 0;
++}
++
++/*
++ * Function: rc_map2id
++ *
++ * Purpose: Map ttyname to port id
++ *
++ * Arguments: full pathname of the tty
++ *
++ * Returns: port id, zero if no entry found
++ */
++
++uint32_t rc_map2id(rc_handle const *rh, char const *name)
++{
++ struct map2id_s *p;
++ char ttyname[PATH_MAX];
++
++ *ttyname = '\0';
++ if (*name != '/')
++ strcpy(ttyname, "/dev/");
++
++ strncat(ttyname, name, sizeof(ttyname)-strlen(ttyname)-1);
++
++ for(p = rh->map2id_list; p; p = p->next)
++ if (!strcmp(ttyname, p->name)) return p->id;
++
++ rc_log(LOG_WARNING,"rc_map2id: can't find tty %s in map database", ttyname);
++
++ return 0;
++}
++
++/*
++ * Function: rc_map2id_free
++ *
++ * Purpose: Free allocated map2id list
++ *
++ * Arguments: Radius Client handle
++ */
++
++void
++rc_map2id_free(rc_handle *rh)
++{
++ struct map2id_s *p, *np;
++
++ if (rh->map2id_list == NULL)
++ return;
++
++ for(p = rh->map2id_list; p != NULL; p = np) {
++ np = p->next;
++ free(p->name);
++ free(p);
++ }
++ rh->map2id_list = NULL;
++}
+diff --git a/src/plugins/vbng/lib/config.c b/src/plugins/vbng/lib/config.c
+new file mode 100644
+index 00000000..1db78608
+--- /dev/null
++++ b/src/plugins/vbng/lib/config.c
+@@ -0,0 +1,925 @@
++/*
++ * $Id: config.c,v 1.23 2010/04/28 14:26:15 aland Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++#include <options.h>
++
++/*
++ * Function: find_option
++ *
++ * Purpose: find an option in the option list
++ *
++ * Returns: pointer to option on success, NULL otherwise
++ */
++
++static OPTION *find_option(rc_handle const *rh, char const *optname, unsigned int type)
++{
++ int i;
++
++ /* there're so few options that a binary search seems not necessary */
++ for (i = 0; i < NUM_OPTIONS; i++) {
++ if (!strcmp(rh->config_options[i].name, optname) &&
++ (rh->config_options[i].type & type))
++ {
++ return &rh->config_options[i];
++ }
++ }
++
++ return NULL;
++}
++
++/*
++ * Function: set_option_...
++ *
++ * Purpose: set a specific option doing type conversions
++ *
++ * Returns: 0 on success, -1 on failure
++ */
++
++static int set_option_str(char const *filename, int line, OPTION *option, char const *p)
++{
++ if (p) {
++ option->val = (void *) strdup(p);
++ if (option->val == NULL) {
++ rc_log(LOG_CRIT, "read_config: out of memory");
++ return -1;
++ }
++ } else {
++ option->val = NULL;
++ }
++
++ return 0;
++}
++
++static int set_option_int(char const *filename, int line, OPTION *option, char const *p)
++{
++ int *iptr;
++
++ if (p == NULL) {
++ rc_log(LOG_ERR, "%s: line %d: bogus option value", filename, line);
++ return -1;
++ }
++
++ if ((iptr = malloc(sizeof(*iptr))) == NULL) {
++ rc_log(LOG_CRIT, "read_config: out of memory");
++ return -1;
++ }
++
++ *iptr = atoi(p);
++ option->val = (void *) iptr;
++
++ return 0;
++}
++
++static int set_option_srv(char const *filename, int line, OPTION *option, char const *p)
++{
++ SERVER *serv;
++ char *p_pointer;
++ char *p_dupe;
++ char *p_save;
++ char *q;
++ char *s;
++ struct servent *svp;
++
++ p_dupe = strdup(p);
++
++ if (p_dupe == NULL) {
++ rc_log(LOG_ERR, "%s: line %d: Invalid option or memory failure", filename, line);
++ return -1;
++ }
++
++ serv = (SERVER *) option->val;
++ if (serv == NULL) {
++ DEBUG(LOG_ERR, "option->val / server is NULL, allocating memory");
++ serv = malloc(sizeof(*serv));
++ if (serv == NULL) {
++ rc_log(LOG_CRIT, "read_config: out of memory");
++ free(p_dupe);
++ return -1;
++ }
++ memset(serv, 0, sizeof(*serv));
++ serv->max = 0;
++ }
++
++ p_pointer = strtok_r(p_dupe, ", \t", &p_save);
++
++ /* Check to see if we have 'servername:port' syntax */
++ if ((q = strchr(p_pointer,':')) != NULL) {
++ *q = '\0';
++ q++;
++
++ /* Check to see if we have 'servername:port:secret' syntax */
++ if((s = strchr(q,':')) != NULL) {
++ *s = '\0';
++ s++;
++ serv->secret[serv->max] = strdup(s);
++ if (serv->secret[serv->max] == NULL) {
++ rc_log(LOG_CRIT, "read_config: out of memory");
++ if (option->val == NULL) {
++ free(p_dupe);
++ free(serv);
++ }
++ return -1;
++ }
++ }
++ }
++ if(q && strlen(q) > 0) {
++ serv->port[serv->max] = atoi(q);
++ } else {
++ if (!strcmp(option->name,"authserver"))
++ if ((svp = getservbyname ("radius", "udp")) == NULL)
++ serv->port[serv->max] = PW_AUTH_UDP_PORT;
++ else
++ serv->port[serv->max] = ntohs ((unsigned int) svp->s_port);
++ else if (!strcmp(option->name, "acctserver"))
++ if ((svp = getservbyname ("radacct", "udp")) == NULL)
++ serv->port[serv->max] = PW_ACCT_UDP_PORT;
++ else
++ serv->port[serv->max] = ntohs ((unsigned int) svp->s_port);
++ else {
++ rc_log(LOG_ERR, "%s: line %d: no default port for %s", filename, line, option->name);
++ if (option->val == NULL) {
++ free(p_dupe);
++ free(serv);
++ }
++ return -1;
++ }
++ }
++
++ serv->name[serv->max] = strdup(p_pointer);
++ if (serv->name[serv->max] == NULL) {
++ rc_log(LOG_CRIT, "read_config: out of memory");
++ if (option->val == NULL) {
++ free(p_dupe);
++ free(serv);
++ }
++ return -1;
++ }
++ free(p_dupe);
++
++ serv->deadtime_ends[serv->max] = -1;
++ serv->max++;
++
++ if (option->val == NULL)
++ option->val = (void *)serv;
++
++ return 0;
++}
++
++static int set_option_auo(char const *filename, int line, OPTION *option, char const *p)
++{
++ int *iptr;
++ char *p_dupe = NULL;
++ char *p_pointer = NULL;
++ char *p_save = NULL;
++
++ p_dupe = strdup(p);
++
++ if (p_dupe == NULL) {
++ rc_log(LOG_WARNING, "%s: line %d: bogus option value", filename, line);
++ return -1;
++ }
++
++ if ((iptr = malloc(sizeof(iptr))) == NULL) {
++ rc_log(LOG_CRIT, "read_config: out of memory");
++ free(p_dupe);
++ return -1;
++ }
++
++ *iptr = 0;
++ /*if(strstr(p_dupe,", \t") != NULL) {*/
++ p_pointer = strtok_r(p_dupe, ", \t", &p_save);
++ /*}*/
++
++ if (!strncmp(p_pointer, "local", 5))
++ *iptr = AUTH_LOCAL_FST;
++ else if (!strncmp(p_pointer, "radius", 6))
++ *iptr = AUTH_RADIUS_FST;
++ else {
++ rc_log(LOG_ERR,"%s: auth_order: unknown keyword: %s", filename, p);
++ free(iptr);
++ free(p_dupe);
++ return -1;
++ }
++
++ p_pointer = strtok_r(NULL, ", \t", &p_save);
++
++ if (p_pointer && (*p_pointer != '\0')) {
++ if ((*iptr & AUTH_RADIUS_FST) && !strcmp(p_pointer, "local"))
++ *iptr = (*iptr) | AUTH_LOCAL_SND;
++ else if ((*iptr & AUTH_LOCAL_FST) && !strcmp(p_pointer, "radius"))
++ *iptr = (*iptr) | AUTH_RADIUS_SND;
++ else {
++ rc_log(LOG_ERR,"%s: auth_order: unknown or unexpected keyword: %s", filename, p);
++ free(iptr);
++ free(p_dupe);
++ return -1;
++ }
++ }
++
++ option->val = (void *) iptr;
++
++ free(p_dupe);
++ return 0;
++}
++
++
++/* Function: rc_add_config
++ *
++ * Purpose: allow a config option to be added to rc_handle from inside a program
++ *
++ * Returns: 0 on success, -1 on failure
++ */
++
++int rc_add_config(rc_handle *rh, char const *option_name, char const *option_val, char const *source, int line)
++{
++ OPTION *option;
++
++ if ((option = find_option(rh, option_name, OT_ANY)) == NULL)
++ {
++ rc_log(LOG_ERR, "ERROR: unrecognized option: %s", option_name);
++ return -1;
++ }
++
++ if (option->status != ST_UNDEF)
++ {
++ rc_log(LOG_ERR, "ERROR: duplicate option: %s", option_name);
++ return -1;
++ }
++
++ switch (option->type) {
++ case OT_STR:
++ if (set_option_str(source, line, option, option_val) < 0) {
++ return -1;
++ }
++ break;
++ case OT_INT:
++ if (set_option_int(source, line, option, option_val) < 0) {
++ return -1;
++ }
++ break;
++ case OT_SRV:
++ if (set_option_srv(source, line, option, option_val) < 0) {
++ return -1;
++ }
++ break;
++ case OT_AUO:
++ if (set_option_auo(source, line, option, option_val) < 0) {
++ return -1;
++ }
++ break;
++ default:
++ rc_log(LOG_CRIT, "rc_add_config: impossible case branch!");
++ abort();
++ }
++ return 0;
++}
++
++/*
++ * Function: rc_config_init
++ *
++ * Purpose: initialize the configuration structure from an external program. For use when not
++ * running a standalone client that reads from a config file.
++ *
++ * Returns: rc_handle on success, NULL on failure
++ */
++
++rc_handle *
++rc_config_init(rc_handle *rh)
++{
++ int i;
++ SERVER *authservers;
++ SERVER *acctservers;
++ OPTION *acct;
++ OPTION *auth;
++
++ rh->config_options = malloc(sizeof(config_options_default));
++ if (rh->config_options == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_config_init: out of memory");
++ rc_destroy(rh);
++ return NULL;
++ }
++ memcpy(rh->config_options, &config_options_default, sizeof(config_options_default));
++
++ acct = find_option(rh, "acctserver", OT_ANY);
++ auth = find_option(rh, "authserver", OT_ANY);
++ authservers = malloc(sizeof(SERVER));
++ acctservers = malloc(sizeof(SERVER));
++
++ if(authservers == NULL || acctservers == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_config_init: error initializing server structs");
++ rc_destroy(rh);
++ if(authservers) free(authservers);
++ if(acctservers) free(acctservers);
++ return NULL;
++ }
++
++
++ authservers->max = 0;
++ acctservers->max = 0;
++
++ for(i=0; i < SERVER_MAX; i++)
++ {
++ authservers->name[i] = NULL;
++ authservers->secret[i] = NULL;
++ acctservers->name[i] = NULL;
++ acctservers->secret[i] = NULL;
++ }
++ acct->val = acctservers;
++ auth->val = authservers;
++ return rh;
++}
++
++
++/*
++ * Function: rc_read_config
++ *
++ * Purpose: read the global config file
++ *
++ * Returns: new rc_handle on success, NULL when failure
++ */
++
++rc_handle *
++rc_read_config(char const *filename)
++{
++ FILE *configfd;
++ char buffer[512], *p;
++ OPTION *option;
++ int line;
++ size_t pos;
++ rc_handle *rh;
++
++ srandom((unsigned int)(time(NULL)+getpid()));
++
++ rh = rc_new();
++ if (rh == NULL)
++ return NULL;
++
++ rh->config_options = malloc(sizeof(config_options_default));
++ if (rh->config_options == NULL) {
++ rc_log(LOG_CRIT, "rc_read_config: out of memory");
++ rc_destroy(rh);
++ return NULL;
++ }
++ memcpy(rh->config_options, &config_options_default, sizeof(config_options_default));
++
++ if ((configfd = fopen(filename,"r")) == NULL)
++ {
++ rc_log(LOG_ERR,"rc_read_config: can't open %s: %s", filename, strerror(errno));
++ rc_destroy(rh);
++ return NULL;
++ }
++
++ line = 0;
++ while ((fgets(buffer, sizeof(buffer), configfd) != NULL))
++ {
++ line++;
++ p = buffer;
++
++ if ((*p == '\n') || (*p == '#') || (*p == '\0'))
++ continue;
++
++ p[strlen(p)-1] = '\0';
++
++
++ if ((pos = strcspn(p, "\t ")) == 0) {
++ rc_log(LOG_ERR, "%s: line %d: bogus format: %s", filename, line, p);
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++
++ p[pos] = '\0';
++
++ if ((option = find_option(rh, p, OT_ANY)) == NULL) {
++ rc_log(LOG_ERR, "%s: line %d: unrecognized keyword: %s", filename, line, p);
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++
++ if (option->status != ST_UNDEF) {
++ rc_log(LOG_ERR, "%s: line %d: duplicate option line: %s", filename, line, p);
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++
++ p += pos+1;
++ while (isspace(*p))
++ p++;
++ pos = strlen(p) - 1;
++ while(pos != 0 && isspace(p[pos]))
++ pos--;
++ p[pos + 1] = '\0';
++
++ switch (option->type) {
++ case OT_STR:
++ if (set_option_str(filename, line, option, p) < 0) {
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++ break;
++ case OT_INT:
++ if (set_option_int(filename, line, option, p) < 0) {
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++ break;
++ case OT_SRV:
++ if (set_option_srv(filename, line, option, p) < 0) {
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++ break;
++ case OT_AUO:
++ if (set_option_auo(filename, line, option, p) < 0) {
++ fclose(configfd);
++ rc_destroy(rh);
++ return NULL;
++ }
++ break;
++ default:
++ rc_log(LOG_CRIT, "rc_read_config: impossible case branch!");
++ abort();
++ }
++ }
++ fclose(configfd);
++
++ if (test_config(rh, filename) == -1) {
++ rc_destroy(rh);
++ return NULL;
++ }
++ return rh;
++}
++
++/*
++ * Function: rc_conf_str, rc_conf_int, rc_conf_src
++ *
++ * Purpose: get the value of a config option
++ *
++ * Returns: config option value
++ */
++
++char *rc_conf_str(rc_handle const *rh, char const *optname)
++{
++ OPTION *option;
++
++ option = find_option(rh, optname, OT_STR);
++
++ if (option != NULL) {
++ return (char *)option->val;
++ } else {
++ rc_log(LOG_CRIT, "rc_conf_str: unkown config option requested: %s", optname);
++ abort();
++ return NULL;
++ }
++}
++
++int rc_conf_int(rc_handle const *rh, char const *optname)
++{
++ OPTION *option;
++
++ option = find_option(rh, optname, OT_INT|OT_AUO);
++
++ if (option != NULL) {
++ if (option->val) {
++ return *((int *)option->val);
++ } else {
++ rc_log(LOG_ERR, "rc_conf_int: config option %s was not set", optname);
++ return 0;
++ }
++ } else {
++ rc_log(LOG_CRIT, "rc_conf_int: unkown config option requested: %s", optname);
++ abort();
++ return 0;
++ }
++}
++
++SERVER *rc_conf_srv(rc_handle const *rh, char const *optname)
++{
++ OPTION *option;
++
++ option = find_option(rh, optname, OT_SRV);
++
++ if (option != NULL) {
++ return (SERVER *)option->val;
++ } else {
++ rc_log(LOG_CRIT, "rc_conf_srv: unkown config option requested: %s", optname);
++ abort();
++ return NULL;
++ }
++}
++
++/*
++ * Function: test_config
++ *
++ * Purpose: test the configuration the user supplied
++ *
++ * Returns: 0 on success, -1 when failure
++ */
++
++int test_config(rc_handle const *rh, char const *filename)
++{
++#if 0
++ struct stat st;
++ char *file;
++#endif
++
++ if (!(rc_conf_srv(rh, "authserver")->max))
++ {
++ rc_log(LOG_ERR,"%s: no authserver specified", filename);
++ return -1;
++ }
++ if (!(rc_conf_srv(rh, "acctserver")->max))
++ {
++ rc_log(LOG_ERR,"%s: no acctserver specified", filename);
++ return -1;
++ }
++ if (!rc_conf_str(rh, "servers"))
++ {
++ rc_log(LOG_ERR,"%s: no servers file specified", filename);
++ return -1;
++ }
++ if (!rc_conf_str(rh, "dictionary"))
++ {
++ rc_log(LOG_ERR,"%s: no dictionary specified", filename);
++ return -1;
++ }
++
++ if (rc_conf_int(rh, "radius_timeout") <= 0)
++ {
++ rc_log(LOG_ERR,"%s: radius_timeout <= 0 is illegal", filename);
++ return -1;
++ }
++ if (rc_conf_int(rh, "radius_retries") <= 0)
++ {
++ rc_log(LOG_ERR,"%s: radius_retries <= 0 is illegal", filename);
++ return -1;
++ }
++ if (rc_conf_int(rh, "radius_deadtime") < 0)
++ {
++ rc_log(LOG_ERR,"%s: radius_deadtime is illegal", filename);
++ return -1;
++ }
++#if 0
++ file = rc_conf_str(rh, "login_local");
++ if (stat(file, &st) == 0)
++ {
++ if (!S_ISREG(st.st_mode)) {
++ rc_log(LOG_ERR,"%s: not a regular file: %s", filename, file);
++ return -1;
++ }
++ } else {
++ rc_log(LOG_ERR,"%s: file not found: %s", filename, file);
++ return -1;
++ }
++ file = rc_conf_str(rh, "login_radius");
++ if (stat(file, &st) == 0)
++ {
++ if (!S_ISREG(st.st_mode)) {
++ rc_log(LOG_ERR,"%s: not a regular file: %s", filename, file);
++ return -1;
++ }
++ } else {
++ rc_log(LOG_ERR,"%s: file not found: %s", filename, file);
++ return -1;
++ }
++#endif
++
++ if (rc_conf_int(rh, "login_tries") <= 0)
++ {
++ rc_log(LOG_ERR,"%s: login_tries <= 0 is illegal", filename);
++ return -1;
++ }
++ if (rc_conf_str(rh, "seqfile") == NULL)
++ {
++ rc_log(LOG_ERR,"%s: seqfile not specified", filename);
++ return -1;
++ }
++ if (rc_conf_int(rh, "login_timeout") <= 0)
++ {
++ rc_log(LOG_ERR,"%s: login_timeout <= 0 is illegal", filename);
++ return -1;
++ }
++ if (rc_conf_str(rh, "mapfile") == NULL)
++ {
++ rc_log(LOG_ERR,"%s: mapfile not specified", filename);
++ return -1;
++ }
++ if (rc_conf_str(rh, "nologin") == NULL)
++ {
++ rc_log(LOG_ERR,"%s: nologin not specified", filename);
++ return -1;
++ }
++
++ return 0;
++}
++
++/*
++ * Function: rc_find_match
++ *
++ * Purpose: see if ip_addr is one of the ip addresses of hostname
++ *
++ * Returns: 0 on success, -1 when failure
++ *
++ */
++
++static int find_match (uint32_t *ip_addr, char const *hostname)
++{
++
++ uint32_t addr;
++ char **paddr;
++ struct hostent *hp;
++
++ if (rc_good_ipaddr (hostname) == 0)
++ {
++ if (*ip_addr == ntohl(inet_addr (hostname)))
++ {
++ return 0;
++ }
++ return -1;
++ }
++
++ if ((hp = rc_gethostbyname(hostname)) == NULL)
++ {
++ return -1;
++ }
++
++ for (paddr = hp->h_addr_list; *paddr; paddr++)
++ {
++ addr = ** (uint32_t **) paddr;
++ if (ntohl(addr) == *ip_addr)
++ {
++ return 0;
++ }
++ }
++ return -1;
++}
++
++/*
++ * Function: rc_ipaddr_local
++ *
++ * Purpose: checks if provided address is local address
++ *
++ * Returns: 0 if local, 1 if not local, -1 on failure
++ *
++ */
++
++static int
++rc_ipaddr_local(uint32_t ip_addr)
++{
++ int temp_sock, res, serrno;
++ struct sockaddr_in sin;
++
++ temp_sock = socket(AF_INET, SOCK_DGRAM, 0);
++ if (temp_sock == -1)
++ return -1;
++ memset(&sin, '\0', sizeof(sin));
++ sin.sin_family = AF_INET;
++ sin.sin_addr.s_addr = htonl(ip_addr);
++ sin.sin_port = htons(0);
++ res = bind(temp_sock, (struct sockaddr *)&sin, sizeof(sin));
++ serrno = errno;
++ close(temp_sock);
++ if (res == 0)
++ return 0;
++ if (serrno == EADDRNOTAVAIL)
++ return 1;
++ return -1;
++}
++
++/*
++ * Function: rc_is_myname
++ *
++ * Purpose: check if provided name refers to ourselves
++ *
++ * Returns: 0 if yes, 1 if no and -1 on failure
++ *
++ */
++
++static int
++rc_is_myname(char const *hostname)
++{
++ uint32_t addr;
++ char **paddr;
++ struct hostent *hp;
++ int res;
++
++ if (rc_good_ipaddr(hostname) == 0)
++ return rc_ipaddr_local(ntohl(inet_addr(hostname)));
++
++ if ((hp = rc_gethostbyname(hostname)) == NULL)
++ return -1;
++ for (paddr = hp->h_addr_list; *paddr; paddr++) {
++ addr = **(uint32_t **)paddr;
++ res = rc_ipaddr_local(ntohl(addr));
++ if (res == 0 || res == -1)
++ return res;
++ }
++ return 1;
++}
++
++/*
++ * Function: rc_find_server
++ *
++ * Purpose: locate a server in the rh config or if not found, check for a servers file
++ *
++ * Returns: 0 on success, -1 on failure
++ *
++ */
++
++int rc_find_server (rc_handle const *rh, char const *server_name, uint32_t *ip_addr, char *secret)
++{
++ int i;
++ size_t len;
++ int result = 0;
++ FILE *clientfd;
++ char *h;
++ char *s;
++ char buffer[128];
++ char hostnm[AUTH_ID_LEN + 1];
++ char *buffer_save;
++ char *hostnm_save;
++ SERVER *authservers;
++ SERVER *acctservers;
++
++ /* Lookup the IP address of the radius server */
++ if ((*ip_addr = rc_get_ipaddr (server_name)) == (uint32_t) 0)
++ return -1;
++
++ /* Check to see if the server secret is defined in the rh config */
++ if( (authservers = rc_conf_srv(rh, "authserver")) != NULL )
++ {
++ for( i = 0; i < authservers->max; i++ )
++ {
++ if( (strncmp(server_name, authservers->name[i], strlen(server_name)) == 0) &&
++ (authservers->secret[i] != NULL) )
++ {
++ memset (secret, '\0', MAX_SECRET_LENGTH);
++ len = strlen (authservers->secret[i]);
++ if (len > MAX_SECRET_LENGTH)
++ {
++ len = MAX_SECRET_LENGTH;
++ }
++ strncpy (secret, authservers->secret[i], (size_t) len);
++ secret[MAX_SECRET_LENGTH] = '\0';
++ return 0;
++ }
++ }
++ }
++
++ if( (acctservers = rc_conf_srv(rh, "acctserver")) != NULL )
++ {
++ for( i = 0; i < acctservers->max; i++ )
++ {
++ if( (strncmp(server_name, acctservers->name[i], strlen(server_name)) == 0) &&
++ (acctservers->secret[i] != NULL) )
++ {
++ memset (secret, '\0', MAX_SECRET_LENGTH);
++ len = strlen (acctservers->secret[i]);
++ if (len > MAX_SECRET_LENGTH)
++ {
++ len = MAX_SECRET_LENGTH;
++ }
++ strncpy (secret, acctservers->secret[i], (size_t) len);
++ secret[MAX_SECRET_LENGTH] = '\0';
++ return 0;
++ }
++ }
++ }
++
++ /* We didn't find it in the rh_config or the servername is too long so look for a
++ * servers file to define the secret(s)
++ */
++
++ if ((clientfd = fopen (rc_conf_str(rh, "servers"), "r")) == NULL)
++ {
++ rc_log(LOG_ERR, "rc_find_server: couldn't open file: %s: %s", strerror(errno), rc_conf_str(rh, "servers"));
++ return -1;
++ }
++
++ while (fgets (buffer, sizeof (buffer), clientfd) != NULL)
++ {
++ if (*buffer == '#')
++ continue;
++
++ if ((h = strtok_r(buffer, " \t\n", &buffer_save)) == NULL) /* first hostname */
++ continue;
++
++ memset (hostnm, '\0', AUTH_ID_LEN);
++ len = strlen (h);
++ if (len > AUTH_ID_LEN)
++ {
++ len = AUTH_ID_LEN;
++ }
++ strncpy (hostnm, h, (size_t) len);
++ hostnm[AUTH_ID_LEN] = '\0';
++
++ if ((s = strtok_r (NULL, " \t\n", &buffer_save)) == NULL) /* and secret field */
++ continue;
++
++ memset (secret, '\0', MAX_SECRET_LENGTH);
++ len = strlen (s);
++ if (len > MAX_SECRET_LENGTH)
++ {
++ len = MAX_SECRET_LENGTH;
++ }
++ strncpy (secret, s, (size_t) len);
++ secret[MAX_SECRET_LENGTH] = '\0';
++
++ if (!strchr (hostnm, '/')) /* If single name form */
++ {
++ if (find_match (ip_addr, hostnm) == 0)
++ {
++ result++;
++ break;
++ }
++ }
++ else /* <name1>/<name2> "paired" form */
++ {
++ strtok_r(hostnm, "/", &hostnm_save);
++ if (rc_is_myname(hostnm) == 0)
++ { /* If we're the 1st name, target is 2nd */
++ if (find_match (ip_addr, hostnm_save) == 0)
++ {
++ result++;
++ break;
++ }
++ }
++ else /* If we were 2nd name, target is 1st name */
++ {
++ if (find_match (ip_addr, hostnm) == 0)
++ {
++ result++;
++ break;
++ }
++ }
++ }
++ }
++ fclose (clientfd);
++ if (result == 0)
++ {
++ memset (buffer, '\0', sizeof (buffer));
++ memset (secret, '\0', MAX_SECRET_LENGTH);
++ rc_log(LOG_ERR, "rc_find_server: couldn't find RADIUS server %s in %s",
++ server_name, rc_conf_str(rh, "servers"));
++ return -1;
++ }
++ return 0;
++}
++
++/*
++ * Function: rc_config_free
++ *
++ * Purpose: Free allocated config values
++ *
++ * Arguments: Radius Client handle
++ */
++
++void
++rc_config_free(rc_handle *rh)
++{
++ int i, j;
++ SERVER *serv;
++
++ if (rh->config_options == NULL)
++ return;
++
++ for (i = 0; i < NUM_OPTIONS; i++) {
++ if (rh->config_options[i].val == NULL)
++ continue;
++ if (rh->config_options[i].type == OT_SRV) {
++ serv = (SERVER *)rh->config_options[i].val;
++ for (j = 0; j < serv->max; j++){
++ free(serv->name[j]);
++ if(serv->secret[j]) free(serv->secret[j]);
++ }
++ free(serv);
++ } else {
++ free(rh->config_options[i].val);
++ }
++ }
++ free(rh->config_options);
++ rh->config_options = NULL;
++}
+diff --git a/src/plugins/vbng/lib/dict.c b/src/plugins/vbng/lib/dict.c
+new file mode 100644
+index 00000000..84dbba0e
+--- /dev/null
++++ b/src/plugins/vbng/lib/dict.c
+@@ -0,0 +1,519 @@
++/*
++ * $Id: dict.c,v 1.10 2007/07/11 17:29:29 cparker Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++/*
++ * Function: rc_read_dictionary
++ *
++ * Purpose: Initialize the dictionary. Read all ATTRIBUTES into
++ * the dictionary_attributes list. Read all VALUES into
++ * the dictionary_values list.
++ *
++ */
++
++int rc_read_dictionary (rc_handle *rh, char const *filename)
++{
++ FILE *dictfd;
++ char dummystr[AUTH_ID_LEN];
++ char namestr[AUTH_ID_LEN];
++ char valstr[AUTH_ID_LEN];
++ char attrstr[AUTH_ID_LEN];
++ char typestr[AUTH_ID_LEN];
++ char optstr[AUTH_ID_LEN];
++ char *cp, *ifilename;
++ int line_no;
++ DICT_ATTR *attr;
++ DICT_VALUE *dval;
++ DICT_VENDOR *dvend;
++ char buffer[256];
++ int value;
++ int type;
++ unsigned attr_vendorspec = 0;
++
++ if ((dictfd = fopen (filename, "r")) == NULL)
++ {
++ rc_log(LOG_ERR, "rc_read_dictionary: couldn't open dictionary %s: %s",
++ filename, strerror(errno));
++ return -1;
++ }
++
++ line_no = 0;
++ while (fgets (buffer, sizeof (buffer), dictfd) != NULL)
++ {
++ line_no++;
++
++ /* Skip empty space */
++ if (*buffer == '#' || *buffer == '\0' || *buffer == '\n' || \
++ *buffer == '\r')
++ {
++ continue;
++ }
++
++ /* Strip out comments */
++ cp = strchr(buffer, '#');
++ if (cp != NULL)
++ {
++ *cp = '\0';
++ }
++
++ if (strncmp (buffer, "ATTRIBUTE", 9) == 0)
++ {
++ optstr[0] = '\0';
++ /* Read the ATTRIBUTE line */
++ if (sscanf (buffer, "%63s%63s%63s%63s%63s", dummystr, namestr,
++ valstr, typestr, optstr) < 4)
++ {
++ rc_log(LOG_ERR, "rc_read_dictionary: invalid attribute on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ /*
++ * Validate all entries
++ */
++ if (strlen (namestr) > NAME_LENGTH)
++ {
++ rc_log(LOG_ERR, "rc_read_dictionary: invalid name length on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ if (!isdigit (*valstr))
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid value on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++ value = atoi (valstr);
++
++ if (strcmp (typestr, "string") == 0)
++ {
++ type = PW_TYPE_STRING;
++ }
++ else if (strcmp (typestr, "integer") == 0)
++ {
++ type = PW_TYPE_INTEGER;
++ }
++ else if (strcmp (typestr, "ipaddr") == 0)
++ {
++ type = PW_TYPE_IPADDR;
++ }
++ else if (strcmp (typestr, "ipv6addr") == 0)
++ {
++ type = PW_TYPE_IPV6ADDR;
++ }
++ else if (strcmp (typestr, "ipv6prefix") == 0)
++ {
++ type = PW_TYPE_IPV6PREFIX;
++ }
++ else if (strcmp (typestr, "date") == 0)
++ {
++ type = PW_TYPE_DATE;
++ }
++ else
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid type on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ dvend = NULL;
++ if (optstr[0] != '\0') {
++ char *cp1;
++ for (cp1 = optstr; cp1 != NULL; cp1 = cp) {
++ cp = strchr(cp1, ',');
++ if (cp != NULL) {
++ *cp = '\0';
++ cp++;
++ }
++ if (strncmp(cp1, "vendor=", 7) == 0)
++ cp1 += 7;
++ dvend = rc_dict_findvend(rh, cp1);
++ if (dvend == NULL) {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: unknown Vendor-Id %s on line %d of dictionary %s",
++ cp1, line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++ }
++ }
++
++ /* Create a new attribute for the list */
++ if ((attr = malloc (sizeof (DICT_ATTR))) == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_read_dictionary: out of memory");
++ fclose(dictfd);
++ return -1;
++ }
++ strcpy (attr->name, namestr);
++ attr->value = value | (attr_vendorspec << 16);
++ attr->type = type;
++
++ if (dvend != NULL) {
++ attr->value = value | (dvend->vendorpec << 16);
++ } else {
++ attr->value = value | (attr_vendorspec << 16);
++ }
++
++ /* Insert it into the list */
++ attr->next = rh->dictionary_attributes;
++ rh->dictionary_attributes = attr;
++ }
++ else if (strncmp (buffer, "VALUE", 5) == 0)
++ {
++ /* Read the VALUE line */
++ if (sscanf (buffer, "%63s%63s%63s%63s", dummystr, attrstr,
++ namestr, valstr) != 4)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid value entry on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ /*
++ * Validate all entries
++ */
++ if (strlen (attrstr) > NAME_LENGTH)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid attribute length on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ if (strlen (namestr) > NAME_LENGTH)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid name length on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ if (!isdigit (*valstr))
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid value on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++ value = atoi (valstr);
++
++ /* Create a new VALUE entry for the list */
++ if ((dval = malloc (sizeof (DICT_VALUE))) == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_read_dictionary: out of memory");
++ fclose(dictfd);
++ return -1;
++ }
++ strcpy (dval->attrname, attrstr);
++ strcpy (dval->name, namestr);
++ dval->value = value;
++
++ /* Insert it into the list */
++ dval->next = rh->dictionary_values;
++ rh->dictionary_values = dval;
++ }
++ else if (strncmp (buffer, "$INCLUDE", 8) == 0)
++ {
++ /* Read the $INCLUDE line */
++ if (sscanf (buffer, "%63s%63s", dummystr, namestr) != 2)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid include entry on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++ ifilename = namestr;
++ /* Append directory if necessary */
++ if (namestr[0] != '/') {
++ cp = strrchr(filename, '/');
++ if (cp != NULL) {
++ ifilename = alloca(AUTH_ID_LEN);
++ *cp = '\0';
++ snprintf(ifilename, AUTH_ID_LEN, "%s/%s", filename, namestr);
++ *cp = '/';
++ }
++ }
++ if (rc_read_dictionary(rh, ifilename) < 0)
++ {
++ fclose(dictfd);
++ return -1;
++ }
++ }
++ else if (strncmp (buffer, "END-VENDOR", 10) == 0)
++ {
++ attr_vendorspec = 0;
++ }
++ else if (strncmp (buffer, "BEGIN-VENDOR", 12) == 0)
++ {
++ DICT_VENDOR *v;
++ /* Read the vendor name */
++ if (sscanf (buffer+12, "%63s", dummystr) != 1)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid Vendor-Id on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ v = rc_dict_findvend(rh, dummystr);
++ if (v == NULL) {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: unknown Vendor %s on line %d of dictionary %s",
++ dummystr, line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ attr_vendorspec = v->vendorpec;
++ }
++ else if (strncmp (buffer, "VENDOR", 6) == 0)
++ {
++ /* Read the VALUE line */
++ if (sscanf (buffer, "%63s%63s%63s", dummystr, attrstr, valstr) != 3)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid Vendor-Id on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ /* Validate all entries */
++ if (strlen (attrstr) > NAME_LENGTH)
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid attribute length on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++
++ if (!isdigit (*valstr))
++ {
++ rc_log(LOG_ERR,
++ "rc_read_dictionary: invalid Vendor-Id on line %d of dictionary %s",
++ line_no, filename);
++ fclose(dictfd);
++ return -1;
++ }
++ value = atoi (valstr);
++
++ /* Create a new VENDOR entry for the list */
++ dvend = malloc(sizeof(DICT_VENDOR));
++ if (dvend == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_read_dictionary: out of memory");
++ fclose(dictfd);
++ return -1;
++ }
++ strcpy (dvend->vendorname, attrstr);
++ dvend->vendorpec = value;
++
++ /* Insert it into the list */
++ dvend->next = rh->dictionary_vendors;
++ rh->dictionary_vendors = dvend;
++ }
++ }
++ fclose (dictfd);
++ return 0;
++}
++
++/*
++ * Function: rc_dict_getattr
++ *
++ * Purpose: Return the full attribute structure based on the
++ * attribute id number.
++ *
++ */
++
++DICT_ATTR *rc_dict_getattr (rc_handle const *rh, int attribute)
++{
++ DICT_ATTR *attr;
++
++ attr = rh->dictionary_attributes;
++ while (attr != NULL)
++ {
++ if (attr->value == attribute)
++ {
++ return attr;
++ }
++ attr = attr->next;
++ }
++ return NULL;
++}
++
++/*
++ * Function: rc_dict_findattr
++ *
++ * Purpose: Return the full attribute structure based on the
++ * attribute name.
++ *
++ */
++
++DICT_ATTR *rc_dict_findattr (rc_handle const *rh, char const *attrname)
++{
++ DICT_ATTR *attr;
++
++ attr = rh->dictionary_attributes;
++ while (attr != NULL)
++ {
++ if (strcasecmp (attr->name, attrname) == 0)
++ {
++ return attr;
++ }
++ attr = attr->next;
++ }
++ return NULL;
++}
++
++
++/*
++ * Function: rc_dict_findval
++ *
++ * Purpose: Return the full value structure based on the
++ * value name.
++ *
++ */
++
++DICT_VALUE *rc_dict_findval (rc_handle const *rh, char const *valname)
++{
++ DICT_VALUE *val;
++
++ val = rh->dictionary_values;
++ while (val != NULL)
++ {
++ if (strcasecmp (val->name, valname) == 0)
++ {
++ return val;
++ }
++ val = val->next;
++ }
++ return NULL;
++}
++
++/*
++ * Function: rc_dict_findvend
++ *
++ * Purpose: Return the full vendor structure based on the
++ * vendor name.
++ *
++ */
++
++DICT_VENDOR *
++rc_dict_findvend(rc_handle const *rh, char const *vendorname)
++{
++ DICT_VENDOR *vend;
++
++ for (vend = rh->dictionary_vendors; vend != NULL; vend = vend->next)
++ if (strcasecmp(vend->vendorname, vendorname) == 0)
++ return vend;
++ return NULL;
++}
++
++/*
++ * Function: rc_dict_getvend
++ *
++ * Purpose: Return the full vendor structure based on the
++ * vendor id number.
++ *
++ */
++
++DICT_VENDOR *
++rc_dict_getvend (rc_handle const *rh, int vendorpec)
++{
++ DICT_VENDOR *vend;
++
++ for (vend = rh->dictionary_vendors; vend != NULL; vend = vend->next)
++ if (vend->vendorpec == vendorpec)
++ return vend;
++ return NULL;
++}
++
++/*
++ * Function: dict_getval
++ *
++ * Purpose: Return the full value structure based on the
++ * actual value and the associated attribute name.
++ *
++ */
++
++DICT_VALUE *
++rc_dict_getval (rc_handle const *rh, uint32_t value, char const *attrname)
++{
++ DICT_VALUE *val;
++
++ val = rh->dictionary_values;
++ while (val != NULL)
++ {
++ if (strcmp (val->attrname, attrname) == 0 &&
++ val->value == value)
++ {
++ return val;
++ }
++ val = val->next;
++ }
++ return NULL;
++}
++
++/*
++ * Function: rc_dict_free
++ *
++ * Purpose: Free allocated av lists
++ *
++ * Arguments: Radius Client handle
++ */
++
++void
++rc_dict_free(rc_handle *rh)
++{
++ DICT_ATTR *attr, *nattr;
++ DICT_VALUE *val, *nval;
++ DICT_VENDOR *vend, *nvend;
++
++ for (attr = rh->dictionary_attributes; attr != NULL; attr = nattr) {
++ nattr = attr->next;
++ free(attr);
++ }
++ for (val = rh->dictionary_values; val != NULL; val = nval) {
++ nval = val->next;
++ free(val);
++ }
++ for (vend = rh->dictionary_vendors; vend != NULL; vend = nvend) {
++ nvend = vend->next;
++ free(vend);
++ }
++ rh->dictionary_attributes = NULL;
++ rh->dictionary_values = NULL;
++ rh->dictionary_vendors = NULL;
++}
+diff --git a/src/plugins/vbng/lib/env.c b/src/plugins/vbng/lib/env.c
+new file mode 100644
+index 00000000..03dccf91
+--- /dev/null
++++ b/src/plugins/vbng/lib/env.c
+@@ -0,0 +1,147 @@
++/*
++ * $Id: env.c,v 1.6 2007/06/21 18:07:23 cparker Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++/*
++ * Function: rc_new_env
++ *
++ * Purpose: allocate space for a new environment
++ *
++ */
++
++ENV *rc_new_env(int size)
++{
++ ENV *p;
++
++ if (size < 1)
++ return NULL;
++
++ if ((p = malloc(sizeof(*p))) == NULL)
++ return NULL;
++
++ if ((p->env = malloc(size * sizeof(char *))) == NULL)
++ {
++ rc_log(LOG_CRIT, "rc_new_env: out of memory");
++ free(p);
++ return NULL;
++ }
++
++ p->env[0] = NULL;
++
++ p->size = 0;
++ p->maxsize = size;
++
++ return p;
++}
++
++/*
++ * Function: rc_free_env
++ *
++ * Purpose: free the space used by an env structure
++ *
++ */
++
++void rc_free_env(ENV *env)
++{
++ free(env->env);
++ free(env);
++}
++
++/*
++ * Function: rc_add_env
++ *
++ * Purpose: add an environment entry
++ *
++ */
++
++int rc_add_env(ENV *env, char const *name, char const *value)
++{
++ int i;
++ size_t len;
++ char *new_env;
++
++ for (i = 0; env->env[i] != NULL; i++)
++ {
++ if (strncmp(env->env[i], name, MAX(strchr(env->env[i], '=') - env->env[i], (int)strlen(name))) == 0)
++ break;
++ }
++
++ if (env->env[i])
++ {
++ len = strlen(name)+strlen(value)+2;
++ if ((new_env = realloc(env->env[i], len)) == NULL)
++ return -1;
++
++ env->env[i] = new_env;
++
++ snprintf(env->env[i], len, "%s=%s", name, value);
++ } else {
++ if (env->size == (env->maxsize-1)) {
++ rc_log(LOG_CRIT, "rc_add_env: not enough space for environment (increase ENV_SIZE)");
++ return -1;
++ }
++
++ len = strlen(name)+strlen(value)+2;
++ if ((env->env[env->size] = malloc(len)) == NULL) {
++ rc_log(LOG_CRIT, "rc_add_env: out of memory");
++ return -1;
++ }
++
++ snprintf(env->env[env->size], len, "%s=%s", name, value);
++
++ env->size++;
++
++ env->env[env->size] = NULL;
++ }
++
++ return 0;
++}
++
++/*
++ * Function: rc_import_env
++ *
++ * Purpose: imports an array of null-terminated strings
++ *
++ */
++
++int rc_import_env(ENV *env, char const **import)
++{
++ char *es;
++
++ while (*import)
++ {
++ es = strchr(*import, '=');
++
++ if (!es)
++ {
++ import++;
++ continue;
++ }
++
++ /* ok, i grant thats not very clean... */
++ *es = '\0';
++
++ if (rc_add_env(env, *import, es+1) < 0)
++ {
++ *es = '=';
++ return -1;
++ }
++
++ *es = '=';
++
++ import++;
++ }
++
++ return 0;
++}
+diff --git a/src/plugins/vbng/lib/ip_util.c b/src/plugins/vbng/lib/ip_util.c
+new file mode 100644
+index 00000000..d686a59e
+--- /dev/null
++++ b/src/plugins/vbng/lib/ip_util.c
+@@ -0,0 +1,390 @@
++/*
++ * $Id: ip_util.c,v 1.14 2010/03/17 18:57:01 aland Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++#define HOSTBUF_SIZE 1024
++
++#if !defined(SA_LEN)
++#define SA_LEN(sa) \
++ (((sa)->sa_family == AF_INET) ? \
++ sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6))
++#endif
++
++
++static __thread size_t hostbuflen=HOSTBUF_SIZE;
++static __thread char *tmphostbuf=NULL;
++
++/*
++ * Function: rc_gethostbyname
++ *
++ * Purpose: threadsafe replacement for gethostbyname.
++ *
++ * Returns: NULL on failure, hostent pointer on success
++ */
++
++struct hostent *rc_gethostbyname(char const *hostname)
++{
++ struct hostent *hp;
++#ifdef GETHOSTBYNAME_R
++#if defined (GETHOSTBYNAMERSTYLE_SYSV) || defined (GETHOSTBYNAMERSTYLE_GNU)
++ struct hostent hostbuf;
++ int res;
++ int herr;
++
++ if(!tmphostbuf) tmphostbuf = malloc(hostbuflen);
++#endif
++#endif
++
++#ifdef GETHOSTBYNAME_R
++#if defined (GETHOSTBYNAMERSTYLE_GNU)
++ while ((res = gethostbyname_r(hostname, &hostbuf, tmphostbuf, hostbuflen, &hp, &herr)) == ERANGE)
++ {
++ /* Enlarge the buffer */
++ hostbuflen *= 2;
++ tmphostbuf = realloc(tmphostbuf, hostbuflen);
++ }
++ if(res) return NULL;
++#elif defined (GETHOSTBYNAMERSTYLE_SYSV)
++ hp = gethostbyname_r(hostname, &hostbuf, tmphostbuf, hostbuflen, &herr);
++#else
++ hp = gethostbyname(hostname);
++#endif
++#else
++ hp = gethostbyname(hostname);
++#endif
++
++ if (hp == NULL) {
++ return NULL;
++ }
++ return hp;
++}
++
++/*
++ * Function: rc_gethostbyname
++ *
++ * Purpose: threadsafe replacement for gethostbyname.
++ *
++ * Returns: NULL on failure, hostent pointer on success
++ */
++
++struct hostent *rc_gethostbyaddr(char const *addr, size_t length, int format)
++{
++ struct hostent *hp;
++#ifdef GETHOSTBYADDR_R
++#if defined (GETHOSTBYADDRRSTYLE_SYSV) || defined (GETHOSTBYADDRRSTYLE_GNU)
++ struct hostent hostbuf;
++ int res;
++ int herr;
++
++ if(!tmphostbuf) tmphostbuf = malloc(hostbuflen);
++#endif
++#endif
++
++#ifdef GETHOSTBYADDR_R
++#if defined (GETHOSTBYADDRRSTYLE_GNU)
++ while ((res = gethostbyaddr_r(addr, length, format, &hostbuf, tmphostbuf, hostbuflen,
++ &hp, &herr)) == ERANGE)
++ {
++ /* Enlarge the buffer */
++ hostbuflen *= 2;
++ tmphostbuf = realloc(tmphostbuf, hostbuflen);
++ }
++ if(res) return NULL;
++#elif GETHOSTBYADDRSTYLE_SYSV
++ hp = gethostbyaddr_r(addr, length, format, &hostbuf, tmphostbuf, hostbuflen, &herr);
++#else
++ hp = gethostbyaddr((char *)&addr, sizeof(struct in_addr), AF_INET);
++#endif
++#else
++ hp = gethostbyaddr((char *)&addr, sizeof(struct in_addr), AF_INET);
++#endif
++
++ if (hp == NULL) {
++ return NULL;
++ }
++ return hp;
++}
++
++/*
++ * Function: rc_get_ipaddr
++ *
++ * Purpose: return an IP address in host long notation from a host
++ * name or address in dot notation.
++ *
++ * Returns: 0 on failure
++ */
++
++uint32_t rc_get_ipaddr (char const *host)
++{
++ struct hostent *hp;
++
++ if (rc_good_ipaddr (host) == 0)
++ {
++ return ntohl(inet_addr (host));
++ }
++ else if ((hp = rc_gethostbyname(host)) == NULL)
++ {
++ rc_log(LOG_ERR,"rc_get_ipaddr: couldn't resolve hostname: %s", host);
++ return (uint32_t)0;
++ }
++ return ntohl((*(uint32_t *) hp->h_addr));
++}
++
++/*
++ * Function: rc_good_ipaddr
++ *
++ * Purpose: check for valid IP address in standard dot notation.
++ *
++ * Returns: 0 on success, -1 when failure
++ *
++ */
++
++int rc_good_ipaddr (char const *addr)
++{
++ int dot_count;
++ int digit_count;
++
++ if (addr == NULL)
++ return -1;
++
++ dot_count = 0;
++ digit_count = 0;
++ while (*addr != '\0' && *addr != ' ')
++ {
++ if (*addr == '.')
++ {
++ dot_count++;
++ digit_count = 0;
++ }
++ else if (!isdigit (*addr))
++ {
++ dot_count = 5;
++ }
++ else
++ {
++ digit_count++;
++ if (digit_count > 3)
++ {
++ dot_count = 5;
++ }
++ }
++ addr++;
++ }
++ if (dot_count != 3)
++ {
++ return -1;
++ }
++ else
++ {
++ return 0;
++ }
++}
++
++/*
++ * Function: rc_ip_hostname
++ *
++ * Purpose: Return a printable host name (or IP address in dot notation)
++ * for the supplied IP address.
++ *
++ */
++
++char const *rc_ip_hostname (uint32_t h_ipaddr)
++{
++ struct hostent *hp;
++ uint32_t n_ipaddr = htonl (h_ipaddr);
++
++ if ((hp = rc_gethostbyaddr ((char *) &n_ipaddr, sizeof (struct in_addr),
++ AF_INET)) == NULL) {
++ rc_log(LOG_ERR,"rc_ip_hostname: couldn't look up host by addr: %08lX", h_ipaddr);
++ }
++
++ return (hp == NULL) ? "unknown" : hp->h_name;
++}
++
++/*
++ * Function: rc_getport
++ *
++ * Purpose: get the port number for the supplied request type
++ *
++ */
++
++unsigned short rc_getport(int type)
++{
++ struct servent *svp;
++
++ if ((svp = getservbyname ((type==AUTH)?"radius":"radacct", "udp")) == NULL)
++ {
++ return (type==AUTH) ? PW_AUTH_UDP_PORT : PW_ACCT_UDP_PORT;
++ } else {
++ return ntohs ((unsigned short) svp->s_port);
++ }
++}
++
++/*
++ * Function: rc_own_hostname
++ *
++ * Purpose: get the hostname of this machine
++ *
++ * Returns -1 on failure, 0 on success
++ *
++ */
++
++int
++rc_own_hostname(char *hostname, int len)
++{
++#ifdef HAVE_UNAME
++ struct utsname uts;
++#endif
++
++#if defined(HAVE_UNAME)
++ if (uname(&uts) < 0)
++ {
++ rc_log(LOG_ERR,"rc_own_hostname: couldn't get own hostname");
++ return -1;
++ }
++ strncpy(hostname, uts.nodename, len);
++#elif defined(HAVE_GETHOSTNAME)
++ if (gethostname(hostname, len) < 0)
++ {
++ rc_log(LOG_ERR,"rc_own_hostname: couldn't get own hostname");
++ return -1;
++ }
++#elif defined(HAVE_SYSINFO)
++ if (sysinfo(SI_HOSTNAME, hostname, len) < 0)
++ {
++ rc_log(LOG_ERR,"rc_own_hostname: couldn't get own hostname");
++ return -1;
++ }
++#else
++ return -1;
++#endif
++
++ return 0;
++}
++
++/*
++ * Function: rc_own_ipaddress
++ *
++ * Purpose: get the IP address of this host in host order
++ *
++ * Returns: IP address on success, 0 on failure
++ *
++ */
++
++uint32_t rc_own_ipaddress(rc_handle *rh)
++{
++ char hostname[256];
++
++ if (!rh->this_host_ipaddr) {
++ if (rc_conf_str(rh, "bindaddr") == NULL ||
++ strcmp(rc_conf_str(rh, "bindaddr"), "*") == 0) {
++ if (rc_own_hostname(hostname, sizeof(hostname)) < 0)
++ return 0;
++ } else {
++ strncpy(hostname, rc_conf_str(rh, "bindaddr"), sizeof(hostname));
++ hostname[sizeof(hostname) - 1] = '\0';
++ }
++ if ((rh->this_host_ipaddr = rc_get_ipaddr (hostname)) == 0) {
++ rc_log(LOG_ERR, "rc_own_ipaddress: couldn't get own IP address");
++ return 0;
++ }
++ }
++
++ return rh->this_host_ipaddr;
++}
++
++/*
++ * Function: rc_own_bind_ipaddress
++ *
++ * Purpose: get the IP address to be used as a source address
++ * for sending requests in host order
++ *
++ * Returns: IP address
++ *
++ */
++
++uint32_t rc_own_bind_ipaddress(rc_handle *rh)
++{
++ char hostname[256];
++ uint32_t rval;
++
++ if (rh->this_host_bind_ipaddr != NULL)
++ return *rh->this_host_bind_ipaddr;
++
++ rh->this_host_bind_ipaddr = malloc(sizeof(*rh->this_host_bind_ipaddr));
++ if (rh->this_host_bind_ipaddr == NULL)
++ rc_log(LOG_CRIT, "rc_own_bind_ipaddress: out of memory");
++ if (rc_conf_str(rh, "bindaddr") == NULL ||
++ strcmp(rc_conf_str(rh, "bindaddr"), "*") == 0) {
++ rval = INADDR_ANY;
++ } else {
++ strncpy(hostname, rc_conf_str(rh, "bindaddr"), sizeof(hostname));
++ hostname[sizeof(hostname) - 1] = '\0';
++ if ((rval = rc_get_ipaddr (hostname)) == 0) {
++ rc_log(LOG_ERR, "rc_own_ipaddress: couldn't get IP address from bindaddr");
++ rval = INADDR_ANY;
++ }
++ }
++ if (rh->this_host_bind_ipaddr != NULL)
++ *rh->this_host_bind_ipaddr = rval;
++
++ return rval;
++}
++
++/*
++ * Function: rc_get_srcaddr
++ *
++ * Purpose: given remote address find local address which the
++ * system will use as a source address for sending
++ * datagrams to that remote address
++ *
++ * Returns: 0 in success, -1 on failure, address is filled into
++ * the first argument.
++ *
++ */
++int
++rc_get_srcaddr(struct sockaddr *lia, struct sockaddr *ria)
++{
++ int temp_sock;
++ socklen_t namelen;
++
++ temp_sock = socket(ria->sa_family, SOCK_DGRAM, 0);
++ if (temp_sock == -1) {
++ rc_log(LOG_ERR, "rc_get_srcaddr: socket: %s", strerror(errno));
++ return -1;
++ }
++
++ if (connect(temp_sock, ria, SA_LEN(ria)) != 0) {
++ rc_log(LOG_ERR, "rc_get_srcaddr: connect: %s",
++ strerror(errno));
++ close(temp_sock);
++ return -1;
++ }
++
++ namelen = SA_LEN(ria);
++ if (getsockname(temp_sock, lia, &namelen) != 0) {
++ rc_log(LOG_ERR, "rc_get_srcaddr: getsockname: %s",
++ strerror(errno));
++ close(temp_sock);
++ return -1;
++ }
++
++ close(temp_sock);
++ return 0;
++}
+diff --git a/src/plugins/vbng/lib/libfreeradiusclient.a b/src/plugins/vbng/lib/libfreeradiusclient.a
+new file mode 100644
+index 0000000000000000000000000000000000000000..56c91fd880e9d435b62149ded2a0a9067cf8cbd6
+GIT binary patch
+literal 367122
+zcmeFa3w%`7)i-?3Ob7#kOt^><Q3f0^AcO<~5y568!3hNAE+`m6E+i6?m`nnAK`@Cj
+z##m{skG52>SG3yN)+$;rK@jw@7qwN<)@rS`@Ss((D)q+qUwf~0X3x%~(&v4C@ArO}
+z{Y&Po_1|l+z4qGs>~rSK*=vuOUe;J%eQw_gq2!cju$neML!tbMXHL~3EBiW*Gs|&$
+z4gJ^u4d*(J{68?zam@e2k2&sLM~?g7x8qjl%l`d8eZ~1#|7jCnbdKwP=krb){r_h4
+zm;U!EKH~H$y~+G<EH7QvTvJ=oSb4bvdUa*2w5Ecnva&LDXpU9Ov9zJFe*Ff;m6yll
+zm_W;`E6djq+*nywQM$IQp{k~~l6a64wN_1)Ry9_tjJnEorImFpBtwwUWfc`d)~s!)
+zZ;T1oR9RP1+Em%tQrW1gZ)qs2X)G;kYN}aXX8=%ZaH}iLJhafrtEq!F6F}8Qw%A#w
+z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ye
+za>7+S*27=OC~37L@9Mu-amq9H^?`A4cm9C6EfdFY`bqpHB`jX6IJ&!b`3RYAaQ5d1
+z4bJi89fPx99pTu~IJESC6iHeu^@KKH`)Rd#%}TKU5NCUmKUoNLiDm+NoH8{gwknT#
+zA?)Zd5&hQ}PMxK=+xLLquj5`b7$?;_G{}1SK&Q<=s`(+~Civi{Mqw(I|8VnT-f4A0
+zKl88C>jfB+m2DQRQvL1I`fJt-L;azRZ2ip_%<2@#o2w1A#hf&36dP|b<o`h@_&4kL
+z1PsZ_uB?DTuDuT5>F-X=mFHg}Cn}YHLQ|ZB*E!0MvB;Jm^J(i7a;{VRtH3zP$_~pp
+zi$VO5=6~EBgeu5leqPD{X7yj*HH#Ab$M1~wf1_Zq&vFVGrJ*z8W7RnJ>GM_*tCW8O
+zE-Xps#fRjZ`FMOq&X7)ogm_o;yBKIIyIV2irng7)e`gf1{Dj{WqEh{JX#L%wf~Y^-
+z4>LdO72VWc`^d6G^X~)WB<nwT>pR3>K0D4dK~Lg77PhQ?%n>TtA3Z0|-yI*4Z)^W=
+D0lJ|_
+
+literal 0
+HcmV?d00001
+
+diff --git a/src/plugins/vbng/lib/libfreeradiusclient.so b/src/plugins/vbng/lib/libfreeradiusclient.so
+new file mode 100644
+index 0000000000000000000000000000000000000000..2603f0181c7c43542e59d2907d5bf6c4b0730916
+GIT binary patch
+literal 216320
+zcmd4)dw3K@_6Lmjga89XI$YGKr~{4~5H*8DgMwzr1bTF$Q9w{&LkNjP0*T24K|zBv
+zqqO6&S;f_Lbr;>$MOSxO7ZFe)7f3)?3@C`O%4JvSAtD#$vLNLBe5$&W4w&cn{XNh7
+z$2&ZksdK98oKvSxojP^t=JD*ns04>Yu|A!YTNOgfhDc1NnUR^*$xJCqrjnsJ@qM-8
+z7G*oP=A4@de=2d-ucEjFf;_t5FY{{w;@2e-*01Y4iO(>9t$GPSvtEr^ug0ur{q8oK
+zV*NTL86^?F{8LDPpR<155{nkek0^^|SNt*Ek(?I&WLXV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fki<;~t9=1!XL8T@{r
+r-4pPt<+giWTvjt<SJ=k`l0Ai5EB~1H%u92Ah}mC<-<j;N8UOz;XHns_
+
+literal 0
+HcmV?d00001
+
+diff --git a/src/plugins/vbng/lib/log.c b/src/plugins/vbng/lib/log.c
+new file mode 100644
+index 00000000..09b01a2e
+--- /dev/null
++++ b/src/plugins/vbng/lib/log.c
+@@ -0,0 +1,57 @@
++/*
++ * $Id: log.c,v 1.5 2007/06/21 18:07:23 cparker Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++/*
++ * Function: rc_openlog
++ *
++ * Purpose: open log
++ *
++ * Arguments: identification string
++ *
++ * Returns: nothing
++ *
++ */
++
++void rc_openlog(char const *ident)
++{
++#ifndef _MSC_VER /* TODO: Fix me */
++ openlog(ident, LOG_PID, RC_LOG_FACILITY);
++#endif
++}
++
++/*
++ * Function: rc_log
++ *
++ * Purpose: log information
++ *
++ * Arguments: priority (just like syslog), rest like printf
++ *
++ * Returns: nothing
++ *
++ */
++
++void rc_log(int prio, char const *format, ...)
++{
++ char buff[1024];
++ va_list ap;
++
++ va_start(ap,format);
++ vsnprintf(buff, sizeof(buff), format, ap);
++ va_end(ap);
++
++#ifndef _MSC_VER /* TODO: Fix me */
++ syslog(prio, "%s", buff);
++#endif
++}
+diff --git a/src/plugins/vbng/lib/md5.c b/src/plugins/vbng/lib/md5.c
+new file mode 100644
+index 00000000..2344fb9c
+--- /dev/null
++++ b/src/plugins/vbng/lib/md5.c
+@@ -0,0 +1,251 @@
++#include "md5.h"
++
++/* The below was retrieved from
++ * http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/crypto/md5.c?rev=1.1
++ * with the following changes:
++ * #includes commented out.
++ * Support context->count as uint32_t[2] instead of uint64_t
++ * u_int* to uint*
++ */
++
++/*
++ * This code implements the MD5 message-digest algorithm.
++ * The algorithm is due to Ron Rivest. This code was
++ * written by Colin Plumb in 1993, no copyright is claimed.
++ * This code is in the public domain; do with it what you wish.
++ *
++ * Equivalent code is available from RSA Data Security, Inc.
++ * This code has been tested against that, and is equivalent,
++ * except that you don't need to include two pages of legalese
++ * with every copy.
++ *
++ * To compute the message digest of a chunk of bytes, declare an
++ * MD5Context structure, pass it to MD5Init, call MD5Update as
++ * needed on buffers full of bytes, and then call MD5Final, which
++ * will fill a supplied 16-byte array with the digest.
++ */
++
++/*#include <sys/param.h>*/
++/*#include <sys/systm.h>*/
++/*#include <crypto/md5.h>*/
++
++#define PUT_64BIT_LE(cp, value) do { \
++ (cp)[7] = (value)[1] >> 24; \
++ (cp)[6] = (value)[1] >> 16; \
++ (cp)[5] = (value)[1] >> 8; \
++ (cp)[4] = (value)[1]; \
++ (cp)[3] = (value)[0] >> 24; \
++ (cp)[2] = (value)[0] >> 16; \
++ (cp)[1] = (value)[0] >> 8; \
++ (cp)[0] = (value)[0]; } while (0)
++
++#define PUT_32BIT_LE(cp, value) do { \
++ (cp)[3] = (value) >> 24; \
++ (cp)[2] = (value) >> 16; \
++ (cp)[1] = (value) >> 8; \
++ (cp)[0] = (value); } while (0)
++
++static uint8_t PADDING[MD5_BLOCK_LENGTH] = {
++ 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
++};
++
++/*
++ * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
++ * initialization constants.
++ */
++void
++MD5Init(MD5_CTX *ctx)
++{
++ ctx->count[0] = 0;
++ ctx->count[1] = 0;
++ ctx->state[0] = 0x67452301;
++ ctx->state[1] = 0xefcdab89;
++ ctx->state[2] = 0x98badcfe;
++ ctx->state[3] = 0x10325476;
++}
++
++/*
++ * Update context to reflect the concatenation of another buffer full
++ * of bytes.
++ */
++void
++MD5Update(MD5_CTX *ctx, uint8_t const *input, size_t len)
++{
++ size_t have, need;
++
++ /* Check how many bytes we already have and how many more we need. */
++ have = (size_t)((ctx->count[0] >> 3) & (MD5_BLOCK_LENGTH - 1));
++ need = MD5_BLOCK_LENGTH - have;
++
++ /* Update bitcount */
++/* ctx->count += (uint64_t)len << 3;*/
++ if ((ctx->count[0] += ((uint32_t)len << 3)) < (uint32_t)len) {
++ /* Overflowed ctx->count[0] */
++ ctx->count[1]++;
++ }
++ ctx->count[1] += ((uint32_t)len >> 29);
++
++
++
++ if (len >= need) {
++ if (have != 0) {
++ memcpy(ctx->buffer + have, input, need);
++ MD5Transform(ctx->state, ctx->buffer);
++ input += need;
++ len -= need;
++ have = 0;
++ }
++
++ /* Process data in MD5_BLOCK_LENGTH-byte chunks. */
++ while (len >= MD5_BLOCK_LENGTH) {
++ MD5Transform(ctx->state, input);
++ input += MD5_BLOCK_LENGTH;
++ len -= MD5_BLOCK_LENGTH;
++ }
++ }
++
++ /* Handle any remaining bytes of data. */
++ if (len != 0)
++ memcpy(ctx->buffer + have, input, len);
++}
++
++/*
++ * Final wrapup - pad to 64-byte boundary with the bit pattern
++ * 1 0* (64-bit count of bits processed, MSB-first)
++ */
++void
++MD5Final(unsigned char digest[MD5_DIGEST_LENGTH], MD5_CTX *ctx)
++{
++ uint8_t count[8];
++ size_t padlen;
++ int i;
++
++ /* Convert count to 8 bytes in little endian order. */
++ PUT_64BIT_LE(count, ctx->count);
++
++ /* Pad out to 56 mod 64. */
++ padlen = MD5_BLOCK_LENGTH -
++ ((ctx->count[0] >> 3) & (MD5_BLOCK_LENGTH - 1));
++ if (padlen < 1 + 8)
++ padlen += MD5_BLOCK_LENGTH;
++ MD5Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */
++ MD5Update(ctx, count, 8);
++
++ if (digest != NULL) {
++ for (i = 0; i < 4; i++)
++ PUT_32BIT_LE(digest + i * 4, ctx->state[i]);
++ }
++ memset(ctx, 0, sizeof(*ctx)); /* in case it's sensitive */
++}
++
++
++/* The four core functions - F1 is optimized somewhat */
++
++/* #define F1(x, y, z) (x & y | ~x & z) */
++#define F1(x, y, z) (z ^ (x & (y ^ z)))
++#define F2(x, y, z) F1(z, x, y)
++#define F3(x, y, z) (x ^ y ^ z)
++#define F4(x, y, z) (y ^ (x | ~z))
++
++/* This is the central step in the MD5 algorithm. */
++#define MD5STEP(f, w, x, y, z, data, s) \
++ ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
++
++/*
++ * The core of the MD5 algorithm, this alters an existing MD5 hash to
++ * reflect the addition of 16 longwords of new data. MD5Update blocks
++ * the data and converts bytes into longwords for this routine.
++ */
++void
++MD5Transform(uint32_t state[4], uint8_t const block[MD5_BLOCK_LENGTH])
++{
++ uint32_t a, b, c, d, in[MD5_BLOCK_LENGTH / 4];
++
++ for (a = 0; a < MD5_BLOCK_LENGTH / 4; a++) {
++ in[a] = (uint32_t)(
++ (uint32_t)(block[a * 4 + 0]) |
++ (uint32_t)(block[a * 4 + 1]) << 8 |
++ (uint32_t)(block[a * 4 + 2]) << 16 |
++ (uint32_t)(block[a * 4 + 3]) << 24);
++ }
++
++ a = state[0];
++ b = state[1];
++ c = state[2];
++ d = state[3];
++
++ MD5STEP(F1, a, b, c, d, in[ 0] + 0xd76aa478, 7);
++ MD5STEP(F1, d, a, b, c, in[ 1] + 0xe8c7b756, 12);
++ MD5STEP(F1, c, d, a, b, in[ 2] + 0x242070db, 17);
++ MD5STEP(F1, b, c, d, a, in[ 3] + 0xc1bdceee, 22);
++ MD5STEP(F1, a, b, c, d, in[ 4] + 0xf57c0faf, 7);
++ MD5STEP(F1, d, a, b, c, in[ 5] + 0x4787c62a, 12);
++ MD5STEP(F1, c, d, a, b, in[ 6] + 0xa8304613, 17);
++ MD5STEP(F1, b, c, d, a, in[ 7] + 0xfd469501, 22);
++ MD5STEP(F1, a, b, c, d, in[ 8] + 0x698098d8, 7);
++ MD5STEP(F1, d, a, b, c, in[ 9] + 0x8b44f7af, 12);
++ MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17);
++ MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22);
++ MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7);
++ MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12);
++ MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17);
++ MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22);
++
++ MD5STEP(F2, a, b, c, d, in[ 1] + 0xf61e2562, 5);
++ MD5STEP(F2, d, a, b, c, in[ 6] + 0xc040b340, 9);
++ MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14);
++ MD5STEP(F2, b, c, d, a, in[ 0] + 0xe9b6c7aa, 20);
++ MD5STEP(F2, a, b, c, d, in[ 5] + 0xd62f105d, 5);
++ MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9);
++ MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14);
++ MD5STEP(F2, b, c, d, a, in[ 4] + 0xe7d3fbc8, 20);
++ MD5STEP(F2, a, b, c, d, in[ 9] + 0x21e1cde6, 5);
++ MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9);
++ MD5STEP(F2, c, d, a, b, in[ 3] + 0xf4d50d87, 14);
++ MD5STEP(F2, b, c, d, a, in[ 8] + 0x455a14ed, 20);
++ MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5);
++ MD5STEP(F2, d, a, b, c, in[ 2] + 0xfcefa3f8, 9);
++ MD5STEP(F2, c, d, a, b, in[ 7] + 0x676f02d9, 14);
++ MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20);
++
++ MD5STEP(F3, a, b, c, d, in[ 5] + 0xfffa3942, 4);
++ MD5STEP(F3, d, a, b, c, in[ 8] + 0x8771f681, 11);
++ MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16);
++ MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23);
++ MD5STEP(F3, a, b, c, d, in[ 1] + 0xa4beea44, 4);
++ MD5STEP(F3, d, a, b, c, in[ 4] + 0x4bdecfa9, 11);
++ MD5STEP(F3, c, d, a, b, in[ 7] + 0xf6bb4b60, 16);
++ MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23);
++ MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4);
++ MD5STEP(F3, d, a, b, c, in[ 0] + 0xeaa127fa, 11);
++ MD5STEP(F3, c, d, a, b, in[ 3] + 0xd4ef3085, 16);
++ MD5STEP(F3, b, c, d, a, in[ 6] + 0x04881d05, 23);
++ MD5STEP(F3, a, b, c, d, in[ 9] + 0xd9d4d039, 4);
++ MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11);
++ MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16);
++ MD5STEP(F3, b, c, d, a, in[2 ] + 0xc4ac5665, 23);
++
++ MD5STEP(F4, a, b, c, d, in[ 0] + 0xf4292244, 6);
++ MD5STEP(F4, d, a, b, c, in[7 ] + 0x432aff97, 10);
++ MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15);
++ MD5STEP(F4, b, c, d, a, in[5 ] + 0xfc93a039, 21);
++ MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6);
++ MD5STEP(F4, d, a, b, c, in[3 ] + 0x8f0ccc92, 10);
++ MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15);
++ MD5STEP(F4, b, c, d, a, in[1 ] + 0x85845dd1, 21);
++ MD5STEP(F4, a, b, c, d, in[8 ] + 0x6fa87e4f, 6);
++ MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10);
++ MD5STEP(F4, c, d, a, b, in[6 ] + 0xa3014314, 15);
++ MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21);
++ MD5STEP(F4, a, b, c, d, in[4 ] + 0xf7537e82, 6);
++ MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10);
++ MD5STEP(F4, c, d, a, b, in[2 ] + 0x2ad7d2bb, 15);
++ MD5STEP(F4, b, c, d, a, in[9 ] + 0xeb86d391, 21);
++
++ state[0] += a;
++ state[1] += b;
++ state[2] += c;
++ state[3] += d;
++}
+diff --git a/src/plugins/vbng/lib/md5.h b/src/plugins/vbng/lib/md5.h
+new file mode 100644
+index 00000000..fcbaf91f
+--- /dev/null
++++ b/src/plugins/vbng/lib/md5.h
+@@ -0,0 +1,86 @@
++/*
++ * md5.h Structures and prototypes for md5.
++ *
++ * Version: $Id: md5.h,v 1.2 2007/06/21 18:07:24 cparker Exp $
++ * License: BSD, but largely derived from a public domain source.
++ *
++ */
++
++#ifndef _RCRAD_MD5_H
++#define _RCRAD_MD5_H
++
++#include "config.h"
++
++#ifdef HAVE_NETTLE
++
++#include <nettle/md5-compat.h>
++
++#else
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++
++#ifdef HAVE_STDINT_H
++#include <stdint.h>
++#endif
++
++#include <string.h>
++/*
++ * FreeRADIUS Client defines to ensure globally unique MD5 function names,
++ * so that we don't pick up vendor-specific broken MD5 libraries.
++ */
++#define MD5_CTX librad_MD5_CTX
++#define MD5Init librad_MD5Init
++#define MD5Update librad_MD5Update
++#define MD5Final librad_MD5Final
++#define MD5Transform librad_MD5Transform
++
++/* The below was retrieved from
++ * http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/crypto/md5.h?rev=1.1
++ * With the following changes: uint64_t => uint32_t[2]
++ * Commented out #include <sys/cdefs.h>
++ * Commented out the __BEGIN and __END _DECLS, and the __attributes.
++ */
++
++/*
++ * This code implements the MD5 message-digest algorithm.
++ * The algorithm is due to Ron Rivest. This code was
++ * written by Colin Plumb in 1993, no copyright is claimed.
++ * This code is in the public domain; do with it what you wish.
++ *
++ * Equivalent code is available from RSA Data Security, Inc.
++ * This code has been tested against that, and is equivalent,
++ * except that you don't need to include two pages of legalese
++ * with every copy.
++ */
++
++#define MD5_BLOCK_LENGTH 64
++#define MD5_DIGEST_LENGTH 16
++
++typedef struct MD5Context {
++ uint32_t state[4]; /* state */
++ uint32_t count[2]; /* number of bits, mod 2^64 */
++ uint8_t buffer[MD5_BLOCK_LENGTH]; /* input buffer */
++} MD5_CTX;
++
++/* include <sys/cdefs.h> */
++
++/* __BEGIN_DECLS */
++void MD5Init(MD5_CTX *);
++void MD5Update(MD5_CTX *, uint8_t const *, size_t)
++/* __attribute__((__bounded__(__string__,2,3)))*/;
++void MD5Final(uint8_t [MD5_DIGEST_LENGTH], MD5_CTX *)
++/* __attribute__((__bounded__(__minbytes__,1,MD5_DIGEST_LENGTH)))*/;
++void MD5Transform(uint32_t [4], uint8_t const [MD5_BLOCK_LENGTH])
++/* __attribute__((__bounded__(__minbytes__,1,4)))*/
++/* __attribute__((__bounded__(__minbytes__,2,MD5_BLOCK_LENGTH)))*/;
++/* __END_DECLS */
++
++#endif /* HAVE_NETTLE */
++
++#endif /* _RCRAD_MD5_H */
+diff --git a/src/plugins/vbng/lib/options.h b/src/plugins/vbng/lib/options.h
+new file mode 100644
+index 00000000..05b66dfd
+--- /dev/null
++++ b/src/plugins/vbng/lib/options.h
+@@ -0,0 +1,57 @@
++/*
++ * $Id: options.h,v 1.6 2008/03/05 16:35:20 cparker Exp $
++ *
++ * Copyright (C) 1996 Lars Fenneberg
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#define OPTION_LEN 64
++
++/* ids for different option types */
++#define OT_STR (1<<0) /* string */
++#define OT_INT (1<<1) /* integer */
++#define OT_SRV (1<<2) /* server list */
++#define OT_AUO (1<<3) /* authentication order */
++
++#define OT_ANY ((unsigned int)~0) /* used internally */
++
++/* status types */
++#define ST_UNDEF (1<<0) /* option is undefined */
++
++typedef struct _option {
++ char name[OPTION_LEN]; /* name of the option */
++ int type, status; /* type and status */
++ void *val; /* pointer to option value */
++} OPTION;
++
++static OPTION config_options_default[] = {
++/* internally used options */
++{"config_file", OT_STR, ST_UNDEF, NULL},
++/* General options */
++{"auth_order", OT_AUO, ST_UNDEF, NULL},
++{"login_tries", OT_INT, ST_UNDEF, NULL},
++{"login_timeout", OT_INT, ST_UNDEF, NULL},
++{"nologin", OT_STR, ST_UNDEF, NULL},
++{"issue", OT_STR, ST_UNDEF, NULL},
++/* RADIUS specific options */
++{"authserver", OT_SRV, ST_UNDEF, NULL},
++{"acctserver", OT_SRV, ST_UNDEF, NULL},
++{"servers", OT_STR, ST_UNDEF, NULL},
++{"dictionary", OT_STR, ST_UNDEF, NULL},
++{"login_radius", OT_STR, ST_UNDEF, NULL},
++{"seqfile", OT_STR, ST_UNDEF, NULL},
++{"mapfile", OT_STR, ST_UNDEF, NULL},
++{"default_realm", OT_STR, ST_UNDEF, NULL},
++{"radius_timeout", OT_INT, ST_UNDEF, NULL},
++{"radius_retries", OT_INT, ST_UNDEF, NULL},
++{"radius_deadtime", OT_INT, ST_UNDEF, NULL},
++{"bindaddr", OT_STR, ST_UNDEF, NULL},
++/* local options */
++{"login_local", OT_STR, ST_UNDEF, NULL},
++};
++
++#define NUM_OPTIONS ((sizeof(config_options_default))/(sizeof(config_options_default[0])))
+diff --git a/src/plugins/vbng/lib/rc-md5.c b/src/plugins/vbng/lib/rc-md5.c
+new file mode 100644
+index 00000000..be9fbcbd
+--- /dev/null
++++ b/src/plugins/vbng/lib/rc-md5.c
+@@ -0,0 +1,24 @@
++/* MD5 message-digest algorithm */
++
++/* This file is licensed under the BSD License, but is largely derived from
++ * public domain source code
++ */
++
++/*
++ * FORCE MD5 TO USE OUR MD5 HEADER FILE!
++ *
++ * If we don't do this, it might pick up the systems broken MD5.
++ * - Alan DeKok <aland@ox.org>
++ */
++#include "rc-md5.h"
++
++void rc_md5_calc(unsigned char *output, unsigned char const *input,
++ size_t inlen)
++{
++ MD5_CTX context;
++
++ MD5Init(&context);
++ MD5Update(&context, input, inlen);
++ MD5Final(output, &context);
++}
++
+diff --git a/src/plugins/vbng/lib/rc-md5.h b/src/plugins/vbng/lib/rc-md5.h
+new file mode 100644
+index 00000000..a30f16d3
+--- /dev/null
++++ b/src/plugins/vbng/lib/rc-md5.h
+@@ -0,0 +1,27 @@
++/*
++ * md5.h Structures and prototypes for md5.
++ *
++ * Version: $Id: md5.h,v 1.2 2007/06/21 18:07:24 cparker Exp $
++ * License: BSD
++ *
++ */
++
++#ifndef _RC_MD5_H
++#define _RC_MD5_H
++
++#include "config.h"
++
++#ifdef HAVE_NETTLE
++
++#include <nettle/md5-compat.h>
++
++#else
++
++#include "md5.h"
++
++#endif /* HAVE_NETTLE */
++
++void rc_md5_calc(unsigned char *output, unsigned char const *input,
++ size_t inputlen);
++
++#endif /* _RC_MD5_H */
+diff --git a/src/plugins/vbng/lib/sendserver.c b/src/plugins/vbng/lib/sendserver.c
+new file mode 100644
+index 00000000..bfdd9a26
+--- /dev/null
++++ b/src/plugins/vbng/lib/sendserver.c
+@@ -0,0 +1,631 @@
++/*
++ * $Id: sendserver.c,v 1.30 2010/06/15 09:22:52 aland Exp $
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <poll.h>
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++#include <pathnames.h>
++
++#define SA(p) ((struct sockaddr *)(p))
++
++static void rc_random_vector (unsigned char *);
++static int rc_check_reply (AUTH_HDR *, int, char const *, unsigned char const *, unsigned char);
++
++/*
++ * Function: rc_pack_list
++ *
++ * Purpose: Packs an attribute value pair list into a buffer.
++ *
++ * Returns: Number of octets packed.
++ *
++ */
++
++static int rc_pack_list (VALUE_PAIR *vp, char *secret, AUTH_HDR *auth)
++{
++ int length, i, pc, padded_length;
++ int total_length = 0;
++ size_t secretlen;
++ uint32_t lvalue, vendor;
++ unsigned char passbuf[MAX(AUTH_PASS_LEN, CHAP_VALUE_LENGTH)];
++ unsigned char md5buf[256];
++ unsigned char *buf, *vector, *vsa_length_ptr;
++
++ buf = auth->data;
++
++ while (vp != NULL)
++ {
++ vsa_length_ptr = NULL;
++ if (VENDOR(vp->attribute) != 0) {
++ *buf++ = PW_VENDOR_SPECIFIC;
++ vsa_length_ptr = buf;
++ *buf++ = 6;
++ vendor = htonl(VENDOR(vp->attribute));
++ memcpy(buf, &vendor, sizeof(uint32_t));
++ buf += 4;
++ total_length += 6;
++ }
++ *buf++ = (vp->attribute & 0xff);
++
++ switch (vp->attribute)
++ {
++ case PW_USER_PASSWORD:
++
++ /* Encrypt the password */
++
++ /* Chop off password at AUTH_PASS_LEN */
++ length = vp->lvalue;
++ if (length > AUTH_PASS_LEN)
++ length = AUTH_PASS_LEN;
++
++ /* Calculate the padded length */
++ padded_length = (length+(AUTH_VECTOR_LEN-1)) & ~(AUTH_VECTOR_LEN-1);
++
++ /* Record the attribute length */
++ *buf++ = padded_length + 2;
++ if (vsa_length_ptr != NULL) *vsa_length_ptr += padded_length + 2;
++
++ /* Pad the password with zeros */
++ memset ((char *) passbuf, '\0', AUTH_PASS_LEN);
++ memcpy ((char *) passbuf, vp->strvalue, (size_t) length);
++
++ secretlen = strlen (secret);
++ vector = (unsigned char *)auth->vector;
++ for(i = 0; i < padded_length; i += AUTH_VECTOR_LEN)
++ {
++ /* Calculate the MD5 digest*/
++ strcpy ((char *) md5buf, secret);
++ memcpy ((char *) md5buf + secretlen, vector,
++ AUTH_VECTOR_LEN);
++ rc_md5_calc (buf, md5buf, secretlen + AUTH_VECTOR_LEN);
++
++ /* Remeber the start of the digest */
++ vector = buf;
++
++ /* Xor the password into the MD5 digest */
++ for (pc = i; pc < (i + AUTH_VECTOR_LEN); pc++)
++ {
++ *buf++ ^= passbuf[pc];
++ }
++ }
++
++ total_length += padded_length + 2;
++
++ break;
++#if 0
++ case PW_CHAP_PASSWORD:
++
++ *buf++ = CHAP_VALUE_LENGTH + 2;
++ if (vsa_length_ptr != NULL) *vsa_length_ptr += CHAP_VALUE_LENGTH + 2;
++
++ /* Encrypt the Password */
++ length = vp->lvalue;
++ if (length > CHAP_VALUE_LENGTH)
++ {
++ length = CHAP_VALUE_LENGTH;
++ }
++ memset ((char *) passbuf, '\0', CHAP_VALUE_LENGTH);
++ memcpy ((char *) passbuf, vp->strvalue, (size_t) length);
++
++ /* Calculate the MD5 Digest */
++ secretlen = strlen (secret);
++ strcpy ((char *) md5buf, secret);
++ memcpy ((char *) md5buf + secretlen, (char *) auth->vector,
++ AUTH_VECTOR_LEN);
++ rc_md5_calc (buf, md5buf, secretlen + AUTH_VECTOR_LEN);
++
++ /* Xor the password into the MD5 digest */
++ for (i = 0; i < CHAP_VALUE_LENGTH; i++)
++ {
++ *buf++ ^= passbuf[i];
++ }
++ total_length += CHAP_VALUE_LENGTH + 2;
++
++ break;
++#endif
++ default:
++ switch (vp->type)
++ {
++ case PW_TYPE_STRING:
++ length = vp->lvalue;
++ *buf++ = length + 2;
++ if (vsa_length_ptr != NULL) *vsa_length_ptr += length + 2;
++ memcpy (buf, vp->strvalue, (size_t) length);
++ buf += length;
++ total_length += length + 2;
++ break;
++
++ case PW_TYPE_IPV6ADDR:
++ length = 16;
++ if (vsa_length_ptr != NULL) *vsa_length_ptr += length + 2;
++ memcpy (buf, vp->strvalue, (size_t) length);
++ buf += length;
++ total_length += length + 2;
++ break;
++
++ case PW_TYPE_IPV6PREFIX:
++ length = vp->lvalue;
++ if (vsa_length_ptr != NULL) *vsa_length_ptr += length + 2;
++ memcpy (buf, vp->strvalue, (size_t) length);
++ buf += length;
++ total_length += length + 2;
++ break;
++
++ case PW_TYPE_INTEGER:
++ case PW_TYPE_IPADDR:
++ case PW_TYPE_DATE:
++ *buf++ = sizeof (uint32_t) + 2;
++ if (vsa_length_ptr != NULL) *vsa_length_ptr += sizeof(uint32_t) + 2;
++ lvalue = htonl (vp->lvalue);
++ memcpy (buf, (char *) &lvalue, sizeof (uint32_t));
++ buf += sizeof (uint32_t);
++ total_length += sizeof (uint32_t) + 2;
++ break;
++
++ default:
++ break;
++ }
++ break;
++ }
++ vp = vp->next;
++ }
++ return total_length;
++}
++
++/* Function strappend
++ *
++ * Purpose: appends a string to the provided buffer
++ */
++static void strappend(char *dest, unsigned max_size, int *pos, const char *src)
++{
++ unsigned len = strlen(src) + 1;
++
++ if (*pos == -1)
++ return;
++
++ if (len + *pos > max_size) {
++ *pos = -1;
++ return;
++ }
++
++ memcpy(&dest[*pos], src, len);
++ *pos += len-1;
++ return;
++}
++
++/*
++ * Function: rc_send_server
++ *
++ * Purpose: send a request to a RADIUS server and wait for the reply
++ *
++ */
++
++int rc_send_server (rc_handle *rh, SEND_DATA *data, char *msg)
++{
++ int sockfd;
++ struct sockaddr_in sinlocal;
++ struct sockaddr_in sinremote;
++ AUTH_HDR *auth, *recv_auth;
++ uint32_t auth_ipaddr, nas_ipaddr;
++ char *server_name; /* Name of server to query */
++ socklen_t salen;
++ int result = 0;
++ int total_length;
++ int length, pos;
++ int retry_max;
++ size_t secretlen;
++ char secret[MAX_SECRET_LENGTH + 1];
++ unsigned char vector[AUTH_VECTOR_LEN];
++ char recv_buffer[BUFFER_LEN];
++ char send_buffer[BUFFER_LEN];
++ int retries;
++ VALUE_PAIR *vp;
++ struct pollfd pfd;
++ double start_time, timeout;
++
++ server_name = data->server;
++ if (server_name == NULL || server_name[0] == '\0')
++ return ERROR_RC;
++
++ if ((vp = rc_avpair_get(data->send_pairs, PW_SERVICE_TYPE, 0)) && \
++ (vp->lvalue == PW_ADMINISTRATIVE))
++ {
++ strcpy(secret, MGMT_POLL_SECRET);
++ if ((auth_ipaddr = rc_get_ipaddr(server_name)) == 0)
++ return ERROR_RC;
++ }
++ else
++ {
++ if(data->secret != NULL)
++ {
++ strncpy(secret, data->secret, MAX_SECRET_LENGTH);
++ }
++ /*
++ else
++ {
++ */
++ if (rc_find_server (rh, server_name, &auth_ipaddr, secret) != 0)
++ {
++ rc_log(LOG_ERR, "rc_send_server: unable to find server: %s", server_name);
++ return ERROR_RC;
++ }
++ /*}*/
++ }
++
++ DEBUG(LOG_ERR, "DEBUG: rc_send_server: creating socket to: %s", server_name);
++
++ sockfd = socket (AF_INET, SOCK_DGRAM, 0);
++ if (sockfd < 0)
++ {
++ memset (secret, '\0', sizeof (secret));
++ rc_log(LOG_ERR, "rc_send_server: socket: %s", strerror(errno));
++ return ERROR_RC;
++ }
++
++ memset((char *)&sinlocal, '\0', sizeof(sinlocal));
++ sinlocal.sin_family = AF_INET;
++ sinlocal.sin_addr.s_addr = htonl(rc_own_bind_ipaddress(rh));
++ sinlocal.sin_port = htons((unsigned short) 0);
++ if (bind(sockfd, SA(&sinlocal), sizeof(sinlocal)) < 0)
++ {
++ close (sockfd);
++ memset (secret, '\0', sizeof (secret));
++ rc_log(LOG_ERR, "rc_send_server: bind: %s: %s", server_name, strerror(errno));
++ return ERROR_RC;
++ }
++
++ retry_max = data->retries; /* Max. numbers to try for reply */
++ retries = 0; /* Init retry cnt for blocking call */
++
++ memset ((char *)&sinremote, '\0', sizeof(sinremote));
++ sinremote.sin_family = AF_INET;
++ sinremote.sin_addr.s_addr = htonl (auth_ipaddr);
++ sinremote.sin_port = htons ((unsigned short) data->svc_port);
++
++ /*
++ * Fill in NAS-IP-Address (if needed)
++ */
++ if (rc_avpair_get(data->send_pairs, PW_NAS_IP_ADDRESS, 0) == NULL) {
++ if (sinlocal.sin_addr.s_addr == htonl(INADDR_ANY)) {
++ if (rc_get_srcaddr(SA(&sinlocal), SA(&sinremote)) != 0) {
++ close (sockfd);
++ memset (secret, '\0', sizeof (secret));
++ return ERROR_RC;
++ }
++ }
++ nas_ipaddr = ntohl(sinlocal.sin_addr.s_addr);
++ rc_avpair_add(rh, &(data->send_pairs), PW_NAS_IP_ADDRESS,
++ &nas_ipaddr, 0, 0);
++ }
++
++ /* Build a request */
++ auth = (AUTH_HDR *) send_buffer;
++ auth->code = data->code;
++ auth->id = data->seq_nbr;
++
++ if (data->code == PW_ACCOUNTING_REQUEST)
++ {
++ total_length = rc_pack_list(data->send_pairs, secret, auth) + AUTH_HDR_LEN;
++
++ auth->length = htons ((unsigned short) total_length);
++
++ memset((char *) auth->vector, 0, AUTH_VECTOR_LEN);
++ secretlen = strlen (secret);
++ memcpy ((char *) auth + total_length, secret, secretlen);
++ rc_md5_calc (vector, (unsigned char *) auth, total_length + secretlen);
++ memcpy ((char *) auth->vector, (char *) vector, AUTH_VECTOR_LEN);
++ }
++ else
++ {
++ rc_random_vector (vector);
++ memcpy ((char *) auth->vector, (char *) vector, AUTH_VECTOR_LEN);
++
++ total_length = rc_pack_list(data->send_pairs, secret, auth) + AUTH_HDR_LEN;
++
++ auth->length = htons ((unsigned short) total_length);
++ }
++
++ DEBUG(LOG_ERR, "DEBUG: local %s : 0, remote %s : %u\n",
++ inet_ntoa(sinlocal.sin_addr),
++ inet_ntoa(sinremote.sin_addr), data->svc_port);
++
++ for (;;)
++ {
++ sendto (sockfd, (char *) auth, (unsigned int) total_length, (int) 0,
++ SA(&sinremote), sizeof (struct sockaddr_in));
++
++ pfd.fd = sockfd;
++ pfd.events = POLLIN;
++ pfd.revents = 0;
++ start_time = rc_getctime();
++ for (timeout = data->timeout; timeout > 0;
++ timeout -= rc_getctime() - start_time) {
++ result = poll(&pfd, 1, timeout * 1000);
++ if (result != -1 || errno != EINTR)
++ break;
++ }
++ if (result == -1)
++ {
++ rc_log(LOG_ERR, "rc_send_server: poll: %s", strerror(errno));
++ memset (secret, '\0', sizeof (secret));
++ close (sockfd);
++ return ERROR_RC;
++ }
++ if (result == 1 && (pfd.revents & POLLIN) != 0)
++ break;
++
++ /*
++ * Timed out waiting for response. Retry "retry_max" times
++ * before giving up. If retry_max = 0, don't retry at all.
++ */
++ if (retries++ >= retry_max)
++ {
++ rc_log(LOG_ERR,
++ "rc_send_server: no reply from RADIUS server %s:%u, %s",
++ rc_ip_hostname (auth_ipaddr), data->svc_port, inet_ntoa(sinremote.sin_addr));
++ close (sockfd);
++ memset (secret, '\0', sizeof (secret));
++ return TIMEOUT_RC;
++ }
++ }
++ salen = sizeof(sinremote);
++ length = recvfrom (sockfd, (char *) recv_buffer,
++ (int) sizeof (recv_buffer),
++ (int) 0, SA(&sinremote), &salen);
++
++ if (length <= 0)
++ {
++ rc_log(LOG_ERR, "rc_send_server: recvfrom: %s:%d: %s", server_name,\
++ data->svc_port, strerror(errno));
++ close (sockfd);
++ memset (secret, '\0', sizeof (secret));
++ return ERROR_RC;
++ }
++
++ recv_auth = (AUTH_HDR *)recv_buffer;
++
++ if (length < AUTH_HDR_LEN || length < ntohs(recv_auth->length)) {
++ rc_log(LOG_ERR, "rc_send_server: recvfrom: %s:%d: reply is too short",
++ server_name, data->svc_port);
++ close(sockfd);
++ memset(secret, '\0', sizeof(secret));
++ return ERROR_RC;
++ }
++
++ result = rc_check_reply (recv_auth, BUFFER_LEN, secret, vector, data->seq_nbr);
++
++ length = ntohs(recv_auth->length) - AUTH_HDR_LEN;
++ if (length > 0) {
++ data->receive_pairs = rc_avpair_gen(rh, NULL, recv_auth->data,
++ length, 0);
++ } else {
++ data->receive_pairs = NULL;
++ }
++
++ close (sockfd);
++ memset (secret, '\0', sizeof (secret));
++
++ if (result != OK_RC) return result;
++
++ if (msg) {
++ *msg = '\0';
++ pos = 0;
++ vp = data->receive_pairs;
++ while (vp)
++ {
++ if ((vp = rc_avpair_get(vp, PW_REPLY_MESSAGE, 0)))
++ {
++ strappend(msg, PW_MAX_MSG_SIZE, &pos, vp->strvalue);
++ strappend(msg, PW_MAX_MSG_SIZE, &pos, "\n");
++ vp = vp->next;
++ }
++ }
++ }
++
++ if ((recv_auth->code == PW_ACCESS_ACCEPT) ||
++ (recv_auth->code == PW_PASSWORD_ACK) ||
++ (recv_auth->code == PW_ACCOUNTING_RESPONSE))
++ {
++ result = OK_RC;
++ }
++ else if ((recv_auth->code == PW_ACCESS_REJECT) ||
++ (recv_auth->code == PW_PASSWORD_REJECT))
++ {
++ result = REJECT_RC;
++ }
++ else
++ {
++ result = BADRESP_RC;
++ }
++
++ return result;
++}
++
++/*
++ * Function: rc_check_reply
++ *
++ * Purpose: verify items in returned packet.
++ *
++ * Returns: OK_RC -- upon success,
++ * BADRESP_RC -- if anything looks funny.
++ *
++ */
++
++static int rc_check_reply (AUTH_HDR *auth, int bufferlen, char const *secret, unsigned char const *vector, uint8_t seq_nbr)
++{
++ int secretlen;
++ int totallen;
++ unsigned char calc_digest[AUTH_VECTOR_LEN];
++ unsigned char reply_digest[AUTH_VECTOR_LEN];
++#ifdef DIGEST_DEBUG
++ uint8_t *ptr;
++#endif
++
++ totallen = ntohs (auth->length);
++ secretlen = (int)strlen (secret);
++
++ /* Do sanity checks on packet length */
++ if ((totallen < 20) || (totallen > 4096))
++ {
++ rc_log(LOG_ERR, "rc_check_reply: received RADIUS server response with invalid length");
++ return BADRESP_RC;
++ }
++
++ /* Verify buffer space, should never trigger with current buffer size and check above */
++ if ((totallen + secretlen) > bufferlen)
++ {
++ rc_log(LOG_ERR, "rc_check_reply: not enough buffer space to verify RADIUS server response");
++ return BADRESP_RC;
++ }
++
++ /* Verify that id (seq. number) matches what we sent */
++ if (auth->id != seq_nbr)
++ {
++ rc_log(LOG_ERR, "rc_check_reply: received non-matching id in RADIUS server response");
++ return BADRESP_RC;
++ }
++
++ /* Verify the reply digest */
++ memcpy ((char *) reply_digest, (char *) auth->vector, AUTH_VECTOR_LEN);
++ memcpy ((char *) auth->vector, (char *) vector, AUTH_VECTOR_LEN);
++ memcpy ((char *) auth + totallen, secret, secretlen);
++#ifdef DIGEST_DEBUG
++ rc_log(LOG_ERR, "Calculating digest on:");
++ for (ptr = (u_char *)auth; ptr < ((u_char *)auth) + totallen + secretlen; ptr += 32) {
++ char buf[65];
++ int i;
++
++ buf[0] = '\0';
++ for (i = 0; i < 32; i++) {
++ if (ptr + i >= ((u_char *)auth) + totallen + secretlen)
++ break;
++ sprintf(buf + i * 2, "%.2X", ptr[i]);
++ }
++ rc_log(LOG_ERR, " %s", buf);
++ }
++#endif
++ rc_md5_calc (calc_digest, (unsigned char *) auth, totallen + secretlen);
++#ifdef DIGEST_DEBUG
++ rc_log(LOG_ERR, "Calculated digest is:");
++ for (ptr = (u_char *)calc_digest; ptr < ((u_char *)calc_digest) + 16; ptr += 32) {
++ char buf[65];
++ int i;
++
++ buf[0] = '\0';
++ for (i = 0; i < 32; i++) {
++ if (ptr + i >= ((u_char *)calc_digest) + 16)
++ break;
++ sprintf(buf + i * 2, "%.2X", ptr[i]);
++ }
++ rc_log(LOG_ERR, " %s", buf);
++ }
++ rc_log(LOG_ERR, "Reply digest is:");
++ for (ptr = (u_char *)reply_digest; ptr < ((u_char *)reply_digest) + 16; ptr += 32) {
++ char buf[65];
++ int i;
++
++ buf[0] = '\0';
++ for (i = 0; i < 32; i++) {
++ if (ptr + i >= ((u_char *)reply_digest) + 16)
++ break;
++ sprintf(buf + i * 2, "%.2X", ptr[i]);
++ }
++ rc_log(LOG_ERR, " %s", buf);
++ }
++#endif
++
++ if (memcmp ((char *) reply_digest, (char *) calc_digest,
++ AUTH_VECTOR_LEN) != 0)
++ {
++#ifdef RADIUS_116
++ /* the original Livingston radiusd v1.16 seems to have
++ a bug in digest calculation with accounting requests,
++ authentication request are ok. i looked at the code
++ but couldn't find any bugs. any help to get this
++ kludge out are welcome. preferably i want to
++ reproduce the calculation bug here to be compatible
++ to stock Livingston radiusd v1.16. -lf, 03/14/96
++ */
++ if (auth->code == PW_ACCOUNTING_RESPONSE)
++ return OK_RC;
++#endif
++ rc_log(LOG_ERR, "rc_check_reply: received invalid reply digest from RADIUS server");
++ return BADRESP_RC;
++ }
++
++ return OK_RC;
++
++}
++
++/*
++ * Function: rc_random_vector
++ *
++ * Purpose: generates a random vector of AUTH_VECTOR_LEN octets.
++ *
++ * Returns: the vector (call by reference)
++ *
++ */
++
++static void rc_random_vector (unsigned char *vector)
++{
++ int randno;
++ int i;
++#if defined(HAVE_GETENTROPY)
++ if (getentropy(vector, AUTH_VECTOR_LEN) >= 0) {
++ return;
++ } /* else fall through */
++#elif defined(HAVE_DEV_URANDOM)
++ int fd;
++
++/* well, I added this to increase the security for user passwords.
++ we use /dev/urandom here, as /dev/random might block and we don't
++ need that much randomness. BTW, great idea, Ted! -lf, 03/18/95 */
++
++ if ((fd = open(_PATH_DEV_URANDOM, O_RDONLY)) >= 0)
++ {
++ unsigned char *pos;
++ int readcount;
++
++ i = AUTH_VECTOR_LEN;
++ pos = vector;
++ while (i > 0)
++ {
++ readcount = read(fd, (char *)pos, i);
++ if (readcount >= 0) {
++ pos += readcount;
++ i -= readcount;
++ } else {
++ if (errno != EINTR && errno != EAGAIN)
++ goto fallback;
++ }
++ }
++
++ close(fd);
++ return;
++ } /* else fall through */
++#endif
++ fallback:
++ for (i = 0; i < AUTH_VECTOR_LEN;)
++ {
++ randno = random ();
++ memcpy ((char *) vector, (char *) &randno, sizeof (int));
++ vector += sizeof (int);
++ i += sizeof (int);
++ }
++
++ return;
++}
+diff --git a/src/plugins/vbng/lib/util.c b/src/plugins/vbng/lib/util.c
+new file mode 100644
+index 00000000..aa7c057d
+--- /dev/null
++++ b/src/plugins/vbng/lib/util.c
+@@ -0,0 +1,347 @@
++/*
++ * $Id: util.c,v 1.10 2010/02/04 10:31:41 aland Exp $
++ *
++ * Copyright (c) 1998 The NetBSD Foundation, Inc.
++ *
++ * Copyright (C) 1995,1996,1997 Lars Fenneberg
++ *
++ * Copyright 1992 Livingston Enterprises, Inc.
++ *
++ * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
++ * and Merit Network, Inc. All Rights Reserved
++ *
++ * See the file COPYRIGHT for the respective terms and conditions.
++ * If the file is missing contact me at lf@elemental.net
++ * and I'll send you a copy.
++ *
++ */
++
++#include <sys/time.h>
++
++#include <config.h>
++#include <includes.h>
++#include <freeradius-client.h>
++
++#define RC_BUFSIZ 1024
++
++/*
++ * Function: rc_str2tm
++ *
++ * Purpose: Turns printable string into correct tm struct entries.
++ *
++ */
++
++static char const * months[] =
++ {
++ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
++ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
++ };
++
++void rc_str2tm (char const *valstr, struct tm *tm)
++{
++ int i;
++
++ /* Get the month */
++ for (i = 0; i < 12; i++)
++ {
++ if (strncmp (months[i], valstr, 3) == 0)
++ {
++ tm->tm_mon = i;
++ i = 13;
++ }
++ }
++
++ /* Get the Day */
++ tm->tm_mday = atoi (&valstr[4]);
++
++ /* Now the year */
++ tm->tm_year = atoi (&valstr[7]) - 1900;
++}
++
++/*
++ * Function: rc_getifname
++ *
++ * Purpose: get the network interface name associated with this tty
++ *
++ */
++
++char *rc_getifname(rc_handle *rh, char const *tty)
++{
++#if defined(BSD4_4) || defined(linux)
++ int fd;
++
++ if ((fd = open(tty, O_RDWR|O_NDELAY)) < 0) {
++ rc_log(LOG_ERR, "rc_getifname: can't open %s: %s", tty, strerror(errno));
++ return NULL;
++ }
++#endif
++
++#ifdef BSD4_4
++ strcpy(rh->ifname,ttyname(fd));
++ if (strlen(rh->ifname) < 1) {
++ rc_log(LOG_ERR, "rc_getifname: can't get attached interface of %s: %s", tty, strerror(errno));
++ close(fd);
++ return NULL;
++ }
++#elif linux
++ if (ioctl(fd, SIOCGIFNAME, rh->ifname) < 0) {
++ rc_log(LOG_ERR, "rc_getifname: can't ioctl %s: %s", tty, strerror(errno));
++ close(fd);
++ return NULL;
++ }
++#else
++ return NULL;
++#endif
++
++#if defined(BSD4_4) || defined(linux)
++ close(fd);
++ return rh->ifname;
++#endif
++}
++
++/*
++ * Function: rc_getstr
++ *
++ * Purpose: Reads in a string from the user (with or witout echo)
++ *
++ */
++#ifndef _MSC_VER
++char *rc_getstr (rc_handle *rh, char const *prompt, int do_echo)
++{
++ int in, out;
++ char *p;
++ struct termios term_old, term_new;
++ int is_term, flags, old_flags;
++ char c;
++ int flushed = 0;
++ sigset_t newset;
++ sigset_t oldset;
++
++ in = fileno(stdin);
++ out = fileno(stdout);
++
++ (void) sigemptyset (&newset);
++ (void) sigaddset (&newset, SIGINT);
++ (void) sigaddset (&newset, SIGTSTP);
++ (void) sigaddset (&newset, SIGQUIT);
++
++ (void) sigprocmask (SIG_BLOCK, &newset, &oldset);
++
++ if ((is_term = isatty(in)))
++ {
++
++ (void) tcgetattr (in, &term_old);
++ term_new = term_old;
++ if (do_echo)
++ term_new.c_lflag |= ECHO;
++ else
++ term_new.c_lflag &= ~ECHO;
++
++ if (tcsetattr (in, TCSAFLUSH, &term_new) == 0)
++ flushed = 1;
++
++ }
++ else
++ {
++ is_term = 0;
++ if ((flags = fcntl(in, F_GETFL, 0)) >= 0) {
++ old_flags = flags;
++ flags |= O_NONBLOCK;
++
++ fcntl(in, F_SETFL, flags);
++
++ while (read(in, &c, 1) > 0)
++ /* nothing */;
++
++ fcntl(in, F_SETFL, old_flags);
++
++ flushed = 1;
++ }
++ }
++
++ (void)write(out, prompt, strlen(prompt));
++
++ /* well, this looks ugly, but it handles the following end of line
++ markers: \r \r\0 \r\n \n \n\r, at least at a second pass */
++
++ p = rh->buf;
++ for (;;)
++ {
++ if (read(in, &c, 1) <= 0)
++ return NULL;
++
++ if (!flushed && ((c == '\0') || (c == '\r') || (c == '\n'))) {
++ flushed = 1;
++ continue;
++ }
++
++ if ((c == '\r') || (c == '\n'))
++ break;
++
++ flushed = 1;
++
++ if (p < rh->buf + GETSTR_LENGTH)
++ {
++ if (do_echo && !is_term)
++ (void)write(out, &c, 1);
++ *p++ = c;
++ }
++ }
++
++ *p = '\0';
++
++ if (!do_echo || !is_term) (void)write(out, "\r\n", 2);
++
++ if (is_term)
++ tcsetattr (in, TCSAFLUSH, &term_old);
++ else {
++ if ((flags = fcntl(in, F_GETFL, 0)) >= 0) {
++ old_flags = flags;
++ flags |= O_NONBLOCK;
++
++ fcntl(in, F_SETFL, flags);
++
++ while (read(in, &c, 1) > 0)
++ /* nothing */;
++
++ fcntl(in, F_SETFL, old_flags);
++ }
++ }
++
++ (void) sigprocmask (SIG_SETMASK, &oldset, NULL);
++
++ return rh->buf;
++}
++#endif
++void rc_mdelay(int msecs)
++{
++ struct timeval tv;
++
++ tv.tv_sec = (int) msecs / 1000;
++ tv.tv_usec = (msecs % 1000) * 1000;
++
++ select(0, NULL, NULL, NULL, &tv);
++}
++
++/*
++ * Function: rc_mksid
++ *
++ * Purpose: generate a quite unique string
++ *
++ * Remarks: not that unique at all...
++ *
++ */
++
++char *
++rc_mksid (rc_handle *rh)
++{
++ snprintf (rh->buf1, sizeof(rh->buf1), "%08lX%04X", (unsigned long int) time (NULL), (unsigned int) getpid ());
++ return rh->buf1;
++}
++
++/*
++ * Function: rc_new
++ *
++ * Purpose: Initialises new Radius Client handle
++ *
++ */
++
++rc_handle *
++rc_new(void)
++{
++ rc_handle *rh;
++
++ rh = malloc(sizeof(*rh));
++ if (rh == NULL) {
++ rc_log(LOG_CRIT, "rc_new: out of memory");
++ return NULL;
++ }
++ memset(rh, 0, sizeof(*rh));
++ return rh;
++}
++
++/*
++ * Function: rc_destroy
++ *
++ * Purpose: Destroys Radius Client handle reclaiming all memory
++ *
++ */
++
++void
++rc_destroy(rc_handle *rh)
++{
++
++ rc_map2id_free(rh);
++ rc_dict_free(rh);
++ rc_config_free(rh);
++ if (rh->this_host_bind_ipaddr != NULL)
++ free(rh->this_host_bind_ipaddr);
++ free(rh);
++}
++
++/*
++ * Function: rc_fgetln
++ *
++ * Purpose: Get next line from the stream.
++ *
++ */
++
++char *
++rc_fgetln(FILE *fp, size_t *len)
++{
++ static char *buf = NULL;
++ static size_t bufsiz = 0;
++ char *ptr;
++
++ if (buf == NULL) {
++ bufsiz = RC_BUFSIZ;
++ if ((buf = malloc(bufsiz)) == NULL)
++ return NULL;
++ }
++
++ if (fgets(buf, (int)bufsiz, fp) == NULL)
++ return NULL;
++ *len = 0;
++
++ while ((ptr = strchr(&buf[*len], '\n')) == NULL) {
++ size_t nbufsiz = bufsiz + RC_BUFSIZ;
++ char *nbuf = realloc(buf, nbufsiz);
++
++ if (nbuf == NULL) {
++ int oerrno = errno;
++ free(buf);
++ errno = oerrno;
++ buf = NULL;
++ return NULL;
++ } else
++ buf = nbuf;
++
++ *len = bufsiz;
++ if (fgets(&buf[bufsiz], RC_BUFSIZ, fp) == NULL)
++ return buf;
++
++ bufsiz = nbufsiz;
++ }
++
++ *len = (ptr - buf) + 1;
++ return buf;
++}
++
++/*
++ * Function: rc_getctime
++ *
++ * Purpose: Get current time (seconds since epoch) expressed as
++ * double-precision floating point number.
++ *
++ */
++
++double
++rc_getctime(void)
++{
++ struct timeval timev;
++
++ if (gettimeofday(&timev, NULL) == -1)
++ return -1;
++
++ return timev.tv_sec + ((double)timev.tv_usec) / 1000000.0;
++}
+diff --git a/src/plugins/vbng/vbng.api b/src/plugins/vbng/vbng.api
+new file mode 100644
+index 00000000..eba9a10f
+--- /dev/null
++++ b/src/plugins/vbng/vbng.api
+@@ -0,0 +1,50 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++/** \brief vBNG DHCP config add / del request
++ @param client_index - opaque cookie to identify the sender
++ @param context - sender context, to match reply w/ request
++ @param rx_vrf_id - Rx/interface vrf id
++ @param server_vrf_id - server vrf id
++ @param is_add - add the config if non-zero, else delete
++ @param remote_addr[] - DHCP server address
++ @param local_addr[] - Local Address which could reach DHCP server
++*/
++define vbng_dhcp4_config
++{
++ u32 client_index;
++ u32 context;
++ u32 rx_vrf_id;
++ u32 server_vrf_id;
++ u8 is_add;
++ u8 remote_addr[16];
++ u8 local_addr[16];
++};
++
++/** \brief vBNG DHCP config response
++ @param context - sender context, to match reply w/ request
++ @param retval - return code for the request
++*/
++define vbng_dhcp4_config_reply
++{
++ u32 context;
++ i32 retval;
++};
++
++/*
++ * Local Variables:
++ * eval: (c-set-style "gnu")
++ * End:
++ */
+diff --git a/src/plugins/vbng/vbng_aaa.c b/src/plugins/vbng/vbng_aaa.c
+new file mode 100644
+index 00000000..5e8861f7
+--- /dev/null
++++ b/src/plugins/vbng/vbng_aaa.c
+@@ -0,0 +1,71 @@
++/*
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <ctype.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
++
++#include <vbng/include/freeradius-client.h>
++#include <vbng/vbng_aaa.h>
++
++int
++process(void *rh, VALUE_PAIR *send, int nas_port)
++{
++ VALUE_PAIR *received = NULL;
++ char msg[PW_MAX_MSG_SIZE];
++ int retval;
++
++ retval = rc_auth(rh, nas_port, send, &received, msg);
++ if (retval == OK_RC && received != NULL) {
++ rc_avpair_free(received);
++ }
++
++ return retval;
++}
++
++int
++vbng_auth(vbng_dhcp4_main_t *dm, int argc, char **argv)
++{
++ int i, nas_port = dm->config.nas_port;
++ char *rc_conf = (char *)dm->config.config_file;
++ VALUE_PAIR *send, **vp;
++ void *rh;
++
++ if ((rh = rc_read_config(rc_conf)) == NULL) {
++ fprintf(stderr, "error opening radius configuration file\n");
++ return (1);
++ }
++
++ if (rc_read_dictionary(rh, rc_conf_str(rh, "dictionary")) != 0) {
++ fprintf(stderr, "error reading radius dictionary\n");
++ return (2);
++ }
++
++ send = NULL;
++ vp = &send;
++ for (i = 0; i < argc; i++) {
++ if (rc_avpair_parse(rh, argv[i], vp) < 0) {
++ fprintf(stderr, "%s: can't parse AV pair\n", argv[i]);
++ return (3);
++ }
++ vp = &send->next;
++ }
++
++ return process(rh, send, nas_port);
++}
++
+diff --git a/src/plugins/vbng/vbng_aaa.h b/src/plugins/vbng/vbng_aaa.h
+new file mode 100644
+index 00000000..411a7533
+--- /dev/null
++++ b/src/plugins/vbng/vbng_aaa.h
+@@ -0,0 +1,34 @@
++/*
++ * vbng_aaa.h - vBNG FreeRADIUS client commons.
++ *
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++#ifndef _VBNG_AAA_H_
++#define _VBNG_AAA_H_
++
++#include <vbng/vbng_dhcp4.h>
++
++/* Common configuration for RADIUS client */
++#define AAA_DEFAULT_NAS_PORT 5060
++#define AAA_DEFAULT_CONFIG_FILE "/etc/vpp/vbng-aaa.cfg"
++
++#define BUF_LEN 4096
++
++/* String template for the vAAA attributes */
++#define STR_TPL_ATTR_DHCP_AGENT_CIRCUIT_ID "DHCP-Agent-Circuit-Id=%c"
++#define STR_TPL_ATTR_DHCP_AGENT_REMOTE_ID "DHCP-Agent-Remote-Id=%c"
++
++int vbng_auth(vbng_dhcp4_main_t *dm, int argc, char **argv);
++
++#endif /* _VBNG_AAA_H_ */
+diff --git a/src/plugins/vbng/vbng_all_api_h.h b/src/plugins/vbng/vbng_all_api_h.h
+new file mode 100644
+index 00000000..3f744275
+--- /dev/null
++++ b/src/plugins/vbng/vbng_all_api_h.h
+@@ -0,0 +1,18 @@
++/*
++ * vbng_all_api_h.h - skeleton vpp engine plug-in api #include file
++ *
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <vbng/vbng.api.h>
+diff --git a/src/plugins/vbng/vbng_api.c b/src/plugins/vbng/vbng_api.c
+new file mode 100644
+index 00000000..4080f775
+--- /dev/null
++++ b/src/plugins/vbng/vbng_api.c
+@@ -0,0 +1,123 @@
++/*
++ *------------------------------------------------------------------
++ * vbng_api.c - vbng api
++ *
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *------------------------------------------------------------------
++ */
++
++#include <vnet/vnet.h>
++#include <vlibmemory/api.h>
++
++#include <vnet/interface.h>
++#include <vnet/api_errno.h>
++#include <vnet/dhcp/dhcp_proxy.h>
++#include <vnet/dhcp/client.h>
++#include <vnet/fib/fib_table.h>
++
++#include <vbng/vbng_msg_enum.h>
++
++#define vl_typedefs /* define message structures */
++#include <vbng/vbng_all_api_h.h>
++#undef vl_typedefs
++
++#define vl_endianfun /* define message structures */
++#include <vbng/vbng_all_api_h.h>
++#undef vl_endianfun
++
++/* instantiate all the print functions we know about */
++#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
++#define vl_printfun
++#include <vbng/vbng_all_api_h.h>
++#undef vl_printfun
++
++#include <vlibapi/api_helper_macros.h>
++
++#define foreach_vpe_api_msg \
++_(VBNG_DHCP4_CONFIG,vbng_dhcp4_config)
++
++static void vl_api_vbng_dhcp4_config_t_handler
++ (vl_api_vbng_dhcp4_config_t * mp)
++{
++ vl_api_vbng_dhcp4_config_reply_t *rmp;
++ ip46_address_t src, server;
++ int rv = -1;
++
++ ip46_address_reset (&src);
++ ip46_address_reset (&server);
++
++ clib_memcpy (&src.ip4, mp->local_addr, sizeof (src.ip4));
++ clib_memcpy (&server.ip4, mp->remote_addr, sizeof (server.ip4));
++
++ rv = dhcp4_proxy_set_server (&server,
++ &src,
++ (u32) ntohl (mp->rx_vrf_id),
++ (u32) ntohl (mp->server_vrf_id),
++ (int) (mp->is_add == 0));
++
++
++ REPLY_MACRO (VL_API_VBNG_DHCP4_CONFIG_REPLY);
++}
++
++/*
++ * vbng_api_hookup
++ * Add vpe's API message handlers to the table.
++ * vlib has alread mapped shared memory and
++ * added the client registration handlers.
++ * See .../vlib-api/vlibmemory/memclnt_vlib.c:memclnt_process()
++ */
++#define vl_msg_name_crc_list
++#include <vbng/vbng_all_api_h.h>
++#undef vl_msg_name_crc_list
++
++static void
++setup_message_id_table (api_main_t * am)
++{
++#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id);
++ foreach_vl_msg_name_crc_vbng;
++#undef _
++}
++
++static clib_error_t *
++vbng_api_hookup (vlib_main_t * vm)
++{
++ api_main_t *am = &api_main;
++
++#define _(N,n) \
++ vl_msg_api_set_handlers(VL_API_##N, #n, \
++ vl_api_##n##_t_handler, \
++ vl_noop_handler, \
++ vl_api_##n##_t_endian, \
++ vl_api_##n##_t_print, \
++ sizeof(vl_api_##n##_t), 1);
++ foreach_vpe_api_msg;
++#undef _
++
++ /*
++ * Set up the (msg_name, crc, message-id) table
++ */
++ setup_message_id_table (am);
++
++ return 0;
++}
++
++VLIB_API_INIT_FUNCTION (vbng_api_hookup);
++
++/*
++ * fd.io coding-style-patch-verification: ON
++ *
++ * Local Variables:
++ * eval: (c-set-style "gnu")
++ * End:
++ */
+diff --git a/src/plugins/vbng/vbng_dhcp4.c b/src/plugins/vbng/vbng_dhcp4.c
+new file mode 100644
+index 00000000..ed79df42
+--- /dev/null
++++ b/src/plugins/vbng/vbng_dhcp4.c
+@@ -0,0 +1,160 @@
++/*
++ * vbng_dhcp4.c: common dhcp v4 processing
++ *
++ * Copyright (c) 2017 Intel Corp and/or its affiliates and others.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <vnet/fib/fib_table.h>
++#include <vnet/mfib/mfib_table.h>
++
++#include <vbng/vbng_dhcp4.h>
++
++/**
++ * @brief Shard 4/6 instance of DHCP main
++ */
++vbng_dhcp4_main_t vbng_dhcp4_main;
++
++void
++vbng_dhcp4_walk (vbng_dhcp4_walk_fn_t fn,
++ void *ctx)
++{
++ vbng_dhcp4_main_t *vdm = &vbng_dhcp4_main;
++ dhcp_proxy_t * server;
++ u32 server_index, i;
++
++ vec_foreach_index (i, vdm->dhcp_server_index_by_rx_fib_index)
++ {
++ server_index = vdm->dhcp_server_index_by_rx_fib_index[i];
++ if (~0 == server_index)
++ continue;
++
++ server = pool_elt_at_index (vdm->dhcp4_servers, server_index);
++
++ if (!fn(server, ctx))
++ break;
++ }
++}
++
++static u32
++dhcp_proxy_server_find (dhcp_proxy_t *proxy,
++ fib_protocol_t proto,
++ ip46_address_t *addr,
++ u32 server_table_id)
++{
++ dhcp_server_t *server;
++ u32 ii, fib_index;
++
++ vec_foreach_index(ii, proxy->dhcp_servers)
++ {
++ server = &proxy->dhcp_servers[ii];
++ fib_index = fib_table_find(proto, server_table_id);
++
++ if (ip46_address_is_equal(&server->dhcp_server,
++ addr) &&
++ (server->server_fib_index == fib_index))
++ {
++ return (ii);
++ }
++ }
++ return (~0);
++}
++
++int
++vbng_dhcp4_server_del (fib_protocol_t proto,
++ u32 rx_fib_index,
++ ip46_address_t *addr,
++ u32 server_table_id)
++{
++ vbng_dhcp4_main_t *vdm = &vbng_dhcp4_main;
++ dhcp_proxy_t *proxy = 0;
++
++ proxy = vbng_dhcp4_get_server(vdm, rx_fib_index);
++
++ if (NULL != proxy)
++ {
++ dhcp_server_t *server;
++ u32 index;
++
++ index = dhcp_proxy_server_find(proxy, proto, addr, server_table_id);
++
++ if (~0 != index)
++ {
++ server = &proxy->dhcp_servers[index];
++ fib_table_unlock (server->server_fib_index, proto);
++
++ vec_del1(proxy->dhcp_servers, index);
++
++ if (0 == vec_len(proxy->dhcp_servers))
++ {
++ /* no servers left, delete the proxy config */
++ vdm->dhcp_server_index_by_rx_fib_index[rx_fib_index] = ~0;
++ vec_free(proxy->dhcp_servers);
++ pool_put (vdm->dhcp4_servers, proxy);
++ return (1);
++ }
++ }
++ }
++
++ /* the proxy still exists */
++ return (0);
++}
++
++int
++vbng_dhcp4_server_add (fib_protocol_t proto,
++ ip46_address_t *addr,
++ ip46_address_t *src_address,
++ u32 rx_fib_index,
++ u32 server_table_id)
++{
++ vbng_dhcp4_main_t *vdm = &vbng_dhcp4_main;
++ dhcp_proxy_t * proxy = 0;
++ int new = 0;
++
++ proxy = vbng_dhcp4_get_server(vdm, rx_fib_index);
++
++ if (NULL == proxy)
++ {
++ vec_validate_init_empty(vdm->dhcp_server_index_by_rx_fib_index,
++ rx_fib_index,
++ ~0);
++
++ pool_get (vdm->dhcp4_servers, proxy);
++ memset (proxy, 0, sizeof (*proxy));
++ new = 1;
++
++ vdm->dhcp_server_index_by_rx_fib_index[rx_fib_index] =
++ proxy - vdm->dhcp4_servers;
++
++ proxy->dhcp_src_address = *src_address;
++ proxy->rx_fib_index = rx_fib_index;
++ }
++ else
++ {
++ if (~0 != dhcp_proxy_server_find(proxy, proto, addr, server_table_id))
++ {
++ return (new);
++ }
++ }
++
++ dhcp_server_t server = {
++ .dhcp_server = *addr,
++ .server_fib_index = fib_table_find_or_create_and_lock(proto,
++ server_table_id),
++ };
++
++ vec_add1(proxy->dhcp_servers, server);
++
++ return (new);
++}
++
+diff --git a/src/plugins/vbng/vbng_dhcp4.h b/src/plugins/vbng/vbng_dhcp4.h
+new file mode 100644
+index 00000000..2f41575f
+--- /dev/null
++++ b/src/plugins/vbng/vbng_dhcp4.h
+@@ -0,0 +1,139 @@
++/*
++ * vbng_dhcp4.h: DHCP v4 common functions/types
++ *
++ * Copyright (c) 2017 Intel Corp and/or its affiliates and others.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#ifndef _VBNG_DHCP4_H_
++#define _VBNG_DHCP4_H_
++
++#include <vnet/vnet.h>
++#include <vnet/dhcp/dhcp_proxy.h>
++#include <vnet/dhcp/dhcp4_packet.h>
++#include <vnet/ethernet/ethernet.h>
++#include <vnet/ip/ip.h>
++#include <vnet/ip/ip4.h>
++#include <vnet/ip/ip4_packet.h>
++#include <vnet/pg/pg.h>
++#include <vnet/ip/format.h>
++#include <vnet/udp/udp.h>
++
++typedef enum {
++#define vbng_dhcp4_error(n,s) VBNG_DHCP4_ERROR_##n,
++#include <vbng/vbng_dhcp4_err.def>
++#undef vbng_dhcp4_error
++ VBNG_DHCP4_N_ERROR,
++} vbng_dhcp4_error_t;
++
++#define VBNG_AAA_DISABLED 0
++#define VBNG_AAA_ENABLED 1
++
++typedef struct {
++ int is_enabled;
++ u32 nas_port; /* AAA server port */
++ u8 *config_file; /* Radius Client config file path */
++} vbng_aaa_config_t;
++
++/**
++ * @brief Global configuration for the vBNG plugin.
++ */
++typedef struct {
++ /* Pool of DHCP servers */
++ dhcp_proxy_t *dhcp4_servers;
++
++ /* Pool of selected DHCP server. Zero is the default server */
++ u32 * dhcp_server_index_by_rx_fib_index;
++
++ /* to drop pkts in server-to-client direction */
++ u32 error_drop_node_index;
++
++ /* Configuration for the AAA client */
++ vbng_aaa_config_t config;
++
++ /* convenience */
++ vlib_main_t * vlib_main;
++ vnet_main_t * vnet_main;
++} vbng_dhcp4_main_t;
++
++extern vbng_dhcp4_main_t vbng_dhcp4_main;
++
++/**
++ * @brief Add a new DHCP proxy server configuration.
++ * @return 1 is the config is new,
++ * 0 otherwise (implying a modify of an existing)
++ */
++int vbng_dhcp4_server_add(fib_protocol_t proto,
++ ip46_address_t *addr,
++ ip46_address_t *src_address,
++ u32 rx_fib_iindex,
++ u32 server_table_id);
++
++/**
++ * @brief Delete a DHCP proxy config
++ * @return 1 if the proxy is deleted, 0 otherwise
++ */
++int vbng_dhcp4_server_del(fib_protocol_t proto,
++ u32 rx_fib_index,
++ ip46_address_t *addr,
++ u32 server_table_id);
++
++u32
++dhcp_proxy_rx_table_get_table_id (fib_protocol_t proto,
++ u32 fib_index);
++
++/**
++ * @brief Callback function invoked for each DHCP proxy entry
++ * return 0 to break the walk, non-zero otherwise.
++ */
++typedef int (*vbng_dhcp4_walk_fn_t)(dhcp_proxy_t *server,
++ void *ctx);
++
++/**
++ * @brief Walk/Visit each vBNG DHCP server configurations
++ */
++void vbng_dhcp4_walk(vbng_dhcp4_walk_fn_t fn,
++ void *ctx);
++
++/**
++ * @brief Get the DHCP proxy server data for the FIB index
++ */
++static inline dhcp_proxy_t *
++vbng_dhcp4_get_server(vbng_dhcp4_main_t *vm,
++ u32 rx_fib_index)
++{
++ dhcp_proxy_t *s = NULL;
++
++ if (vec_len(vm->dhcp_server_index_by_rx_fib_index) > rx_fib_index &&
++ vm->dhcp_server_index_by_rx_fib_index[rx_fib_index] != ~0)
++ {
++ s = pool_elt_at_index (
++ vm->dhcp4_servers,
++ vm->dhcp_server_index_by_rx_fib_index[rx_fib_index]);
++ }
++
++ return (s);
++}
++
++int vbng_dhcp4_set_server(ip46_address_t *addr,
++ ip46_address_t *src_addr,
++ u32 rx_table_id,
++ u32 server_table_id,
++ int is_del);
++
++#define DHCP_PACKET_OPTION_82 82
++#define DHCP_PACKET_OPTION82_SUB1 1
++#define DHCP_PACKET_OPTION82_SUB2 2
++#define DHCP_PACKET_OPTION82_SUB5 5
++
++#endif /* _VBNG_DHCP4_H_ */
+diff --git a/src/plugins/vbng/vbng_dhcp4_err.def b/src/plugins/vbng/vbng_dhcp4_err.def
+new file mode 100644
+index 00000000..23f2d0d2
+--- /dev/null
++++ b/src/plugins/vbng/vbng_dhcp4_err.def
+@@ -0,0 +1,29 @@
++/*
++ * vbng_dhcp4_err.def: VBNG DHCP4 Errors
++ *
++ * Copyright (c) 2017 Intel Corp and/or its affiliates and others.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++vbng_dhcp4_error (NONE, "no error")
++vbng_dhcp4_error (NO_SERVER, "no dhcp server configured")
++vbng_dhcp4_error (RELAY_TO_SERVER, "DHCP packets relayed to the server")
++vbng_dhcp4_error (RELAY_TO_CLIENT, "DHCP packets relayed to clients")
++vbng_dhcp4_error (NO_INTERFACE_ADDRESS, "DHCP no interface address")
++vbng_dhcp4_error (BAD_YIADDR, "DHCP packets with bad your_ip_address fields")
++vbng_dhcp4_error (BAD_SVR_FIB_OR_ADDRESS, "DHCP packets not from DHCP server or server FIB.")
++vbng_dhcp4_error (PKT_TOO_BIG, "DHCP packets which are too big.")
++vbng_dhcp4_error (AAA_FAILURE, "DHCP packets failed to pass the AAA check.")
++vbng_dhcp4_error (NO_OPTION_82, "DHCP option 82 missing")
++vbng_dhcp4_error (BAD_OPTION_82_ITF, "Bad DHCP option 82 interface value")
++vbng_dhcp4_error (BAD_OPTION_82_ADDR, "Bad DHCP option 82 address value")
+diff --git a/src/plugins/vbng/vbng_dhcp4_node.c b/src/plugins/vbng/vbng_dhcp4_node.c
+new file mode 100644
+index 00000000..205959bf
+--- /dev/null
++++ b/src/plugins/vbng/vbng_dhcp4_node.c
+@@ -0,0 +1,1024 @@
++/*
++ * proxy_node.c: dhcp proxy node processing
++ *
++ * Copyright (c) 2013 Cisco and/or its affiliates and others.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <vlib/vlib.h>
++#include <vnet/pg/pg.h>
++#include <vnet/fib/ip4_fib.h>
++#include <vnet/dhcp/client.h>
++#include <vnet/plugin/plugin.h>
++#include <vpp/app/version.h>
++
++#include <vbng/vbng_dhcp4.h>
++#include <vbng/vbng_aaa.h>
++
++static char * vbng_dhcp4_error_strings[] = {
++#define vbng_dhcp4_error(n,s) s,
++#include <vbng/vbng_dhcp4_err.def>
++#undef vbng_dhcp4_error
++};
++
++#define foreach_vbng_dhcp4_to_server_input_next \
++ _ (DROP, "error-drop") \
++ _ (LOOKUP, "ip4-lookup") \
++ _ (SEND_TO_CLIENT, "vbng-dhcp-to-client")
++
++typedef enum {
++#define _(s,n) VBNG_DHCP4_TO_SERVER_INPUT_NEXT_##s,
++ foreach_vbng_dhcp4_to_server_input_next
++#undef _
++ VBNG_DHCP4_TO_SERVER_INPUT_N_NEXT,
++} vbng_dhcp4_to_server_input_next_t;
++
++typedef struct {
++ /* 0 => to server, 1 => to client */
++ int which;
++ ip4_address_t trace_ip4_address;
++ u32 error;
++ u32 sw_if_index;
++ u32 original_sw_if_index;
++} dhcp_proxy_trace_t;
++
++#define VPP_DHCP_OPTION82_SUB1_SIZE 6
++#define VPP_DHCP_OPTION82_SUB5_SIZE 6
++#define VPP_DHCP_OPTION82_VSS_SIZE 12
++#define VPP_DHCP_OPTION82_SIZE (VPP_DHCP_OPTION82_SUB1_SIZE + \
++ VPP_DHCP_OPTION82_SUB5_SIZE + \
++ VPP_DHCP_OPTION82_VSS_SIZE +3)
++
++static vlib_node_registration_t vbng_dhcp4_to_server_node;
++static vlib_node_registration_t vbng_dhcp4_to_client_node;
++
++static u8 *
++format_dhcp_proxy_trace (u8 * s, va_list * args)
++{
++ CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *);
++ CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *);
++ dhcp_proxy_trace_t * t = va_arg (*args, dhcp_proxy_trace_t *);
++
++ if (t->which == 0)
++ s = format (s, "DHCP proxy: sent to server %U\n",
++ format_ip4_address, &t->trace_ip4_address, t->error);
++ else
++ s = format (s, "DHCP proxy: broadcast to client from %U\n",
++ format_ip4_address, &t->trace_ip4_address);
++
++ if (t->error != (u32)~0)
++ s = format (s, " error: %s\n", vbng_dhcp4_error_strings[t->error]);
++
++ s = format (s, " original_sw_if_index: %d, sw_if_index: %d\n",
++ t->original_sw_if_index, t->sw_if_index);
++
++ return s;
++}
++
++static u8 *
++format_dhcp_proxy_header_with_length (u8 * s, va_list * args)
++{
++ dhcp_header_t * h = va_arg (*args, dhcp_header_t *);
++ u32 max_header_bytes = va_arg (*args, u32);
++ u32 header_bytes;
++
++ header_bytes = sizeof (h[0]);
++ if (max_header_bytes != 0 && header_bytes > max_header_bytes)
++ return format (s, "dhcp header truncated");
++
++ s = format (s, "DHCP Proxy");
++
++ return s;
++}
++
++static uword
++vbng_dhcp_to_server_input (vlib_main_t * vm,
++ vlib_node_runtime_t * node,
++ vlib_frame_t * from_frame)
++{
++ u32 n_left_from, next_index, * from, * to_next;
++ vbng_dhcp4_main_t *dm = &vbng_dhcp4_main;
++ from = vlib_frame_vector_args (from_frame);
++ n_left_from = from_frame->n_vectors;
++ u32 pkts_to_server=0, pkts_to_client=0, pkts_no_server=0;
++ u32 pkts_no_interface_address=0;
++ u32 pkts_too_big=0, pkts_aaa_fail = 0;
++ ip4_main_t * im = &ip4_main;
++
++ next_index = node->cached_next_index;
++
++ while (n_left_from > 0)
++ {
++ u32 n_left_to_next;
++
++ vlib_get_next_frame (vm, node, next_index,
++ to_next, n_left_to_next);
++
++ while (n_left_from > 0 && n_left_to_next > 0)
++ {
++ u32 bi0;
++ vlib_buffer_t * b0;
++ udp_header_t * u0;
++ dhcp_header_t * h0;
++ ip4_header_t * ip0;
++ u32 next0;
++ u32 old0, new0;
++ ip_csum_t sum0;
++ u32 error0 = (u32) ~0;
++ u32 sw_if_index = 0;
++ u32 original_sw_if_index = 0;
++ u8 *end = NULL;
++ u32 fib_index;
++ dhcp_proxy_t *proxy;
++ dhcp_server_t *server;
++ u32 rx_sw_if_index;
++ dhcp_option_t *o;
++ u32 len = 0;
++ vlib_buffer_free_list_t *fl;
++ u8 is_discover = 0;
++
++ bi0 = from[0];
++ from += 1;
++ n_left_from -= 1;
++
++ b0 = vlib_get_buffer (vm, bi0);
++
++ h0 = vlib_buffer_get_current (b0);
++
++ /*
++ * udp_local hands us the DHCP header, need udp hdr,
++ * ip hdr to relay to server
++ */
++ vlib_buffer_advance (b0, -(sizeof(*u0)));
++ u0 = vlib_buffer_get_current (b0);
++
++ /* This blows. Return traffic has src_port = 67, dst_port = 67 */
++ if (u0->src_port == clib_net_to_host_u16(UDP_DST_PORT_dhcp_to_server))
++ {
++ vlib_buffer_advance (b0, sizeof(*u0));
++ next0 = VBNG_DHCP4_TO_SERVER_INPUT_NEXT_SEND_TO_CLIENT;
++ error0 = 0;
++ pkts_to_client++;
++ goto do_enqueue;
++ }
++
++ rx_sw_if_index = vnet_buffer(b0)->sw_if_index[VLIB_RX];
++
++ fib_index = im->fib_index_by_sw_if_index [rx_sw_if_index];
++ proxy = vbng_dhcp4_get_server(dm, fib_index);
++
++ if (PREDICT_FALSE (NULL == proxy))
++ {
++ error0 = VBNG_DHCP4_ERROR_NO_SERVER;
++ next0 = VBNG_DHCP4_TO_SERVER_INPUT_NEXT_DROP;
++ pkts_no_server++;
++ goto do_trace;
++ }
++
++ server = &proxy->dhcp_servers[0];
++ vlib_buffer_advance (b0, -(sizeof(*ip0)));
++ ip0 = vlib_buffer_get_current (b0);
++
++ /* disable UDP checksum */
++ u0->checksum = 0;
++ sum0 = ip0->checksum;
++ old0 = ip0->dst_address.as_u32;
++ new0 = server->dhcp_server.ip4.as_u32;
++ ip0->dst_address.as_u32 = server->dhcp_server.ip4.as_u32;
++ sum0 = ip_csum_update (sum0, old0, new0,
++ ip4_header_t /* structure */,
++ dst_address /* changed member */);
++ ip0->checksum = ip_csum_fold (sum0);
++
++ sum0 = ip0->checksum;
++ old0 = ip0->src_address.as_u32;
++ new0 = proxy->dhcp_src_address.ip4.as_u32;
++ ip0->src_address.as_u32 = new0;
++ sum0 = ip_csum_update (sum0, old0, new0,
++ ip4_header_t /* structure */,
++ src_address /* changed member */);
++ ip0->checksum = ip_csum_fold (sum0);
++
++ /* Send to DHCP server via the configured FIB */
++ vnet_buffer(b0)->sw_if_index[VLIB_TX] =
++ server->server_fib_index;
++
++ h0->gateway_ip_address.as_u32 = proxy->dhcp_src_address.ip4.as_u32;
++ pkts_to_server++;
++
++ o = (dhcp_option_t *) h0->options;
++
++ fib_index = im->fib_index_by_sw_if_index
++ [vnet_buffer(b0)->sw_if_index[VLIB_RX]];
++
++ end = b0->data + b0->current_data + b0->current_length;
++ /* TLVs are not performance-friendly... */
++ while (o->option != 0xFF /* end of options */ && (u8 *)o < end)
++ {
++ if (DHCP_PACKET_OPTION_MSG_TYPE == o->option)
++ {
++ if (DHCP_PACKET_DISCOVER == o->data[0])
++ {
++ is_discover = 1;
++ }
++ }
++
++ if (DHCP_PACKET_OPTION_82 == o->option) {
++ /* For Demo purpose only */
++ if (dm->config.is_enabled) {
++ int i = 0, num_kvs = 0, retval = 0;
++ char *kv_pairs[1];
++ char key_string[32];
++
++ if (DHCP_PACKET_OPTION82_SUB1 == o->data[0]) {
++ sprintf(key_string, STR_TPL_ATTR_DHCP_AGENT_CIRCUIT_ID, o->data[2]);
++ for (i = 1; i < o->data[1]; i++) {
++ sprintf(key_string, "%s%c", key_string, o->data[2 + i]);
++ }
++ }
++
++ if (DHCP_PACKET_OPTION82_SUB2 == o->data[0]) {
++ sprintf(key_string, STR_TPL_ATTR_DHCP_AGENT_REMOTE_ID, o->data[2]);
++ for (i = 1; i < o->data[1]; i++) {
++ sprintf(key_string, "%s%c", key_string, o->data[2 + i]);
++ }
++ }
++
++ kv_pairs[num_kvs] = key_string;
++ num_kvs++;
++
++ retval = vbng_auth(dm, num_kvs, kv_pairs);
++ if (retval) {
++ if (retval == 1 /* TIMEOUT_RC */) {
++ dm->config.is_enabled = VBNG_AAA_DISABLED;
++ }
++ error0 = VBNG_DHCP4_ERROR_AAA_FAILURE;
++ next0 = VBNG_DHCP4_TO_SERVER_INPUT_NEXT_DROP;
++ pkts_aaa_fail++;
++ goto do_trace;
++ }
++ }
++
++ fl = vlib_buffer_get_free_list (vm, b0->free_list_index);
++ if (((u8 *)o - (u8 *)b0->data + (VPP_DHCP_OPTION82_SUB1_SIZE + VPP_DHCP_OPTION82_SUB5_SIZE))
++ > fl->n_data_bytes)
++ {
++ next0 = VBNG_DHCP4_TO_SERVER_INPUT_NEXT_DROP;
++ pkts_too_big++;
++ goto do_trace;
++ }
++
++ /* Begin to appending new sub-options */
++ {
++ vnet_main_t *vnm = vnet_get_main();
++ u16 old_l0, new_l0, orig_len = 0;
++ ip4_address_t _ia0, * ia0 = &_ia0;
++ vnet_sw_interface_t *swif;
++ sw_if_index = 0;
++ original_sw_if_index = 0;
++
++ original_sw_if_index = sw_if_index =
++ vnet_buffer(b0)->sw_if_index[VLIB_RX];
++ swif = vnet_get_sw_interface (vnm, sw_if_index);
++ if (swif->flags & VNET_SW_INTERFACE_FLAG_UNNUMBERED)
++ sw_if_index = swif->unnumbered_sw_if_index;
++
++ /*
++ * Get the first ip4 address on the [client-side]
++ * RX interface, if not unnumbered. otherwise use
++ * the loopback interface's ip address.
++ */
++ ia0 = ip4_interface_first_address(&ip4_main, sw_if_index, 0);
++
++ if (ia0 == 0)
++ {
++ error0 = VBNG_DHCP4_ERROR_NO_INTERFACE_ADDRESS;
++ next0 = VBNG_DHCP4_TO_SERVER_INPUT_NEXT_DROP;
++ pkts_no_interface_address++;
++ goto do_trace;
++ }
++
++ orig_len = o->length;
++ o->data[orig_len + 0] = 1; /* suboption 1, circuit ID (=FIB id) */
++ o->data[orig_len + 1] = 4; /* length of suboption */
++ o->data[orig_len + 2] = (original_sw_if_index >> 24) & 0xFF;
++ o->data[orig_len + 3] = (original_sw_if_index >> 16) & 0xFF;
++ o->data[orig_len + 4] = (original_sw_if_index >> 8) & 0xFF;
++ o->data[orig_len + 5] = (original_sw_if_index >> 0) & 0xFF;
++ o->data[orig_len + 6] = 5; /* suboption 5 (client RX intfc address) */
++ o->data[orig_len + 7] = 4; /* length 4 */
++ o->data[orig_len + 8] = ia0->as_u8[0];
++ o->data[orig_len + 9] = ia0->as_u8[1];
++ o->data[orig_len + 10] = ia0->as_u8[2];
++ o->data[orig_len + 11] = ia0->as_u8[3];
++ o->data[orig_len + 12] = 0xFF;
++ o->length += 12; /* 12 octets appended*/
++
++ len = o->length + 3;
++ b0->current_length += len;
++ /* Fix IP header length and checksum */
++ old_l0 = ip0->length;
++ new_l0 = clib_net_to_host_u16 (old_l0);
++ new_l0 += len;
++ new_l0 = clib_host_to_net_u16 (new_l0);
++ ip0->length = new_l0;
++ sum0 = ip0->checksum;
++ sum0 = ip_csum_update (sum0, old_l0, new_l0, ip4_header_t,
++ length /* changed member */);
++ ip0->checksum = ip_csum_fold (sum0);
++
++ /* Fix UDP length */
++ new_l0 = clib_net_to_host_u16 (u0->length);
++ new_l0 += len;
++ u0->length = clib_host_to_net_u16 (new_l0);
++ }
++ }
++
++ o = (dhcp_option_t *) (((uword) o) + (o->length + 2));
++ }
++
++ next0 = VBNG_DHCP4_TO_SERVER_INPUT_NEXT_LOOKUP;
++
++ /*
++ * If we have multiple servers configured and this is the
++ * client's discover message, then send copies to each of
++ * those servers
++ */
++ if (is_discover && vec_len(proxy->dhcp_servers) > 1)
++ {
++ u32 ii;
++
++ for (ii = 1; ii < vec_len(proxy->dhcp_servers); ii++)
++ {
++ vlib_buffer_t *c0;
++ u32 ci0;
++
++ c0 = vlib_buffer_copy(vm, b0);
++ ci0 = vlib_get_buffer_index(vm, c0);
++ server = &proxy->dhcp_servers[ii];
++
++ ip0 = vlib_buffer_get_current (c0);
++
++ sum0 = ip0->checksum;
++ old0 = ip0->dst_address.as_u32;
++ new0 = server->dhcp_server.ip4.as_u32;
++ ip0->dst_address.as_u32 = server->dhcp_server.ip4.as_u32;
++ sum0 = ip_csum_update (sum0, old0, new0,
++ ip4_header_t /* structure */,
++ dst_address /* changed member */);
++ ip0->checksum = ip_csum_fold (sum0);
++
++ to_next[0] = ci0;
++ to_next += 1;
++ n_left_to_next -= 1;
++
++ vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
++ to_next, n_left_to_next,
++ ci0, next0);
++
++ if (PREDICT_FALSE(b0->flags & VLIB_BUFFER_IS_TRACED))
++ {
++ dhcp_proxy_trace_t *tr;
++
++ tr = vlib_add_trace (vm, node, c0, sizeof (*tr));
++ tr->which = 0; /* to server */
++ tr->error = error0;
++ tr->original_sw_if_index = original_sw_if_index;
++ tr->sw_if_index = sw_if_index;
++ if (next0 == VBNG_DHCP4_TO_SERVER_INPUT_NEXT_LOOKUP)
++ tr->trace_ip4_address.as_u32 = server->dhcp_server.ip4.as_u32;
++ }
++
++ if (PREDICT_FALSE(0 == n_left_to_next))
++ {
++ vlib_put_next_frame (vm, node, next_index,
++ n_left_to_next);
++ vlib_get_next_frame (vm, node, next_index,
++ to_next, n_left_to_next);
++ }
++ }
++ }
++ do_trace:
++ if (PREDICT_FALSE(b0->flags & VLIB_BUFFER_IS_TRACED))
++ {
++ dhcp_proxy_trace_t *tr = vlib_add_trace (vm, node,
++ b0, sizeof (*tr));
++ tr->which = 0; /* to server */
++ tr->error = error0;
++ tr->original_sw_if_index = original_sw_if_index;
++ tr->sw_if_index = sw_if_index;
++ if (next0 == VBNG_DHCP4_TO_SERVER_INPUT_NEXT_LOOKUP)
++ tr->trace_ip4_address.as_u32 =
++ proxy->dhcp_servers[0].dhcp_server.ip4.as_u32;
++ }
++
++ do_enqueue:
++ to_next[0] = bi0;
++ to_next += 1;
++ n_left_to_next -= 1;
++
++ vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
++ to_next, n_left_to_next,
++ bi0, next0);
++ }
++
++ vlib_put_next_frame (vm, node, next_index, n_left_to_next);
++ }
++
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_server_node.index,
++ VBNG_DHCP4_ERROR_RELAY_TO_CLIENT,
++ pkts_to_client);
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_server_node.index,
++ VBNG_DHCP4_ERROR_RELAY_TO_SERVER,
++ pkts_to_server);
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_server_node.index,
++ VBNG_DHCP4_ERROR_NO_SERVER,
++ pkts_no_server);
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_server_node.index,
++ VBNG_DHCP4_ERROR_NO_INTERFACE_ADDRESS,
++ pkts_no_interface_address);
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_server_node.index,
++ VBNG_DHCP4_ERROR_PKT_TOO_BIG,
++ pkts_too_big);
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_server_node.index,
++ VBNG_DHCP4_ERROR_AAA_FAILURE,
++ pkts_aaa_fail);
++ return from_frame->n_vectors;
++}
++
++VLIB_REGISTER_NODE (vbng_dhcp4_to_server_node, static) = {
++ .function = vbng_dhcp_to_server_input,
++ .name = "vbng-dhcp-to-server",
++ /* Takes a vector of packets. */
++ .vector_size = sizeof (u32),
++
++ .n_errors = VBNG_DHCP4_N_ERROR,
++ .error_strings = vbng_dhcp4_error_strings,
++
++ .n_next_nodes = VBNG_DHCP4_TO_SERVER_INPUT_N_NEXT,
++ .next_nodes = {
++#define _(s,n) [VBNG_DHCP4_TO_SERVER_INPUT_NEXT_##s] = n,
++ foreach_vbng_dhcp4_to_server_input_next
++#undef _
++ },
++
++ .format_buffer = format_dhcp_proxy_header_with_length,
++ .format_trace = format_dhcp_proxy_trace,
++};
++
++static uword
++vbng_dhcp_to_client_input (vlib_main_t * vm,
++ vlib_node_runtime_t * node,
++ vlib_frame_t * from_frame)
++{
++ u32 n_left_from, * from;
++ ethernet_main_t *em = ethernet_get_main (vm);
++ vbng_dhcp4_main_t *dm = &vbng_dhcp4_main;
++ vnet_main_t * vnm = vnet_get_main();
++ ip4_main_t * im = &ip4_main;
++
++ from = vlib_frame_vector_args (from_frame);
++ n_left_from = from_frame->n_vectors;
++
++ while (n_left_from > 0)
++ {
++ u32 bi0;
++ vlib_buffer_t * b0;
++ udp_header_t * u0;
++ dhcp_header_t * h0;
++ ip4_header_t * ip0 = 0;
++ ip4_address_t * ia0 = 0;
++ u32 old0, new0;
++ ip_csum_t sum0;
++ ethernet_interface_t *ei0;
++ ethernet_header_t *mac0;
++ vnet_hw_interface_t *hi0;
++ vlib_frame_t *f0;
++ u32 * to_next0;
++ u32 sw_if_index = ~0;
++ vnet_sw_interface_t *si0;
++ u32 error0 = (u32)~0;
++ vnet_sw_interface_t *swif;
++ u32 fib_index;
++ dhcp_proxy_t *proxy;
++ dhcp_server_t *server;
++ u32 original_sw_if_index = (u32) ~0;
++ ip4_address_t relay_addr = {
++ .as_u32 = 0,
++ };
++
++ bi0 = from[0];
++ from += 1;
++ n_left_from -= 1;
++
++ b0 = vlib_get_buffer (vm, bi0);
++ h0 = vlib_buffer_get_current (b0);
++
++ /*
++ * udp_local hands us the DHCP header, need udp hdr,
++ * ip hdr to relay to client
++ */
++ vlib_buffer_advance (b0, -(sizeof(*u0)));
++ u0 = vlib_buffer_get_current (b0);
++
++ vlib_buffer_advance (b0, -(sizeof(*ip0)));
++ ip0 = vlib_buffer_get_current (b0);
++
++ {
++ dhcp_option_t *o = (dhcp_option_t *) h0->options;
++ dhcp_option_t *sub;
++
++ /* Parse through TLVs looking for option 82.
++ The circuit-ID is the FIB number we need
++ to track down the client-facing interface */
++
++ while (o->option != 0xFF /* end of options */ &&
++ (u8 *) o < (b0->data + b0->current_data + b0->current_length))
++ {
++ if (o->option == 82)
++ {
++ sub = (dhcp_option_t *) &o->data[0];
++ while (sub->option != 0xFF /* end of options */ &&
++ (u8 *) sub < (u8 *)(o + o->length)) {
++ /* If this is one of ours, it will have
++ total length 12, circuit-id suboption type,
++ and the sw_if_index */
++ if (sub->option == 1 && sub->length == 4)
++ {
++ sw_if_index = ((sub->data[0] << 24) |
++ (sub->data[1] << 16) |
++ (sub->data[2] << 8) |
++ (sub->data[3]));
++ }
++ else if (sub->option == 5 && sub->length == 4)
++ {
++ relay_addr.as_u8[0] = sub->data[0];
++ relay_addr.as_u8[1] = sub->data[1];
++ relay_addr.as_u8[2] = sub->data[2];
++ relay_addr.as_u8[3] = sub->data[3];
++ }
++ sub = (dhcp_option_t *)
++ (((uword) sub) + (sub->length + 2));
++ }
++
++ }
++ o = (dhcp_option_t *) (((uword) o) + (o->length + 2));
++ }
++ }
++
++ if (sw_if_index == (u32)~0)
++ {
++ error0 = VBNG_DHCP4_ERROR_NO_OPTION_82;
++
++ drop_packet:
++ vlib_node_increment_counter (vm, vbng_dhcp4_to_client_node.index,
++ error0, 1);
++ f0 = vlib_get_frame_to_node (vm, dm->error_drop_node_index);
++ to_next0 = vlib_frame_vector_args (f0);
++ to_next0[0] = bi0;
++ f0->n_vectors = 1;
++ vlib_put_frame_to_node (vm, dm->error_drop_node_index, f0);
++ goto do_trace;
++ }
++
++ if (relay_addr.as_u32 == 0)
++ {
++ error0 = VBNG_DHCP4_ERROR_BAD_OPTION_82_ADDR;
++ goto drop_packet;
++ }
++
++ if (sw_if_index >= vec_len (im->fib_index_by_sw_if_index))
++ {
++ error0 = VBNG_DHCP4_ERROR_BAD_OPTION_82_ITF;
++ goto drop_packet;
++ }
++
++ fib_index = im->fib_index_by_sw_if_index [sw_if_index];
++ proxy = vbng_dhcp4_get_server(dm, fib_index);
++
++ if (PREDICT_FALSE (NULL == proxy))
++ {
++ error0 = VBNG_DHCP4_ERROR_NO_SERVER;
++ goto drop_packet;
++ }
++
++ vec_foreach(server, proxy->dhcp_servers)
++ {
++ if (ip0->src_address.as_u32 == server->dhcp_server.ip4.as_u32)
++ {
++ goto server_found;
++ }
++ }
++
++ error0 = VBNG_DHCP4_ERROR_BAD_SVR_FIB_OR_ADDRESS;
++ goto drop_packet;
++
++ server_found:
++ vnet_buffer (b0)->sw_if_index[VLIB_TX] = sw_if_index;
++
++ swif = vnet_get_sw_interface (vnm, sw_if_index);
++ original_sw_if_index = sw_if_index;
++ if (swif->flags & VNET_SW_INTERFACE_FLAG_UNNUMBERED)
++ sw_if_index = swif->unnumbered_sw_if_index;
++
++ ia0 = ip4_interface_first_address (&ip4_main, sw_if_index, 0);
++ if (ia0 == 0)
++ {
++ error0 = VBNG_DHCP4_ERROR_NO_INTERFACE_ADDRESS;
++ goto drop_packet;
++ }
++
++ if (relay_addr.as_u32 != ia0->as_u32)
++ {
++ error0 = VBNG_DHCP4_ERROR_BAD_YIADDR;
++ goto drop_packet;
++ }
++
++ u0->checksum = 0;
++ u0->dst_port = clib_net_to_host_u16 (UDP_DST_PORT_dhcp_to_client);
++ sum0 = ip0->checksum;
++ old0 = ip0->dst_address.as_u32;
++ new0 = 0xFFFFFFFF;
++ ip0->dst_address.as_u32 = new0;
++ sum0 = ip_csum_update (sum0, old0, new0,
++ ip4_header_t /* structure */,
++ dst_address /* offset of changed member */);
++ ip0->checksum = ip_csum_fold (sum0);
++
++ sum0 = ip0->checksum;
++ old0 = ip0->src_address.as_u32;
++ new0 = ia0->as_u32;
++ ip0->src_address.as_u32 = new0;
++ sum0 = ip_csum_update (sum0, old0, new0,
++ ip4_header_t /* structure */,
++ src_address /* offset of changed member */);
++ ip0->checksum = ip_csum_fold (sum0);
++
++ vlib_buffer_advance (b0, -(sizeof(ethernet_header_t)));
++ si0 = vnet_get_sw_interface (vnm, original_sw_if_index);
++ if (si0->type == VNET_SW_INTERFACE_TYPE_SUB)
++ vlib_buffer_advance (b0, -4 /* space for VLAN tag */);
++
++ mac0 = vlib_buffer_get_current (b0);
++
++ hi0 = vnet_get_sup_hw_interface (vnm, original_sw_if_index);
++ ei0 = pool_elt_at_index (em->interfaces, hi0->hw_instance);
++ clib_memcpy (mac0->src_address, ei0->address, sizeof (ei0->address));
++ memset (mac0->dst_address, 0xff, sizeof (mac0->dst_address));
++ mac0->type = (si0->type == VNET_SW_INTERFACE_TYPE_SUB) ?
++ clib_net_to_host_u16(0x8100) : clib_net_to_host_u16 (0x0800);
++
++ if (si0->type == VNET_SW_INTERFACE_TYPE_SUB)
++ {
++ u32 * vlan_tag = (u32 *)(mac0+1);
++ u32 tmp;
++ tmp = (si0->sub.id << 16) | 0x0800;
++ *vlan_tag = clib_host_to_net_u32 (tmp);
++ }
++
++ /* $$$ This needs to be rewritten, for sure */
++ f0 = vlib_get_frame_to_node (vm, hi0->output_node_index);
++ to_next0 = vlib_frame_vector_args (f0);
++ to_next0[0] = bi0;
++ f0->n_vectors = 1;
++ vlib_put_frame_to_node (vm, hi0->output_node_index, f0);
++
++ do_trace:
++ if (PREDICT_FALSE(b0->flags & VLIB_BUFFER_IS_TRACED))
++ {
++ dhcp_proxy_trace_t *tr = vlib_add_trace (vm, node,
++ b0, sizeof (*tr));
++ tr->which = 1; /* to client */
++ tr->trace_ip4_address.as_u32 = ia0 ? ia0->as_u32 : 0;
++ tr->error = error0;
++ tr->original_sw_if_index = original_sw_if_index;
++ tr->sw_if_index = sw_if_index;
++ }
++ }
++ return from_frame->n_vectors;
++}
++
++VLIB_REGISTER_NODE (vbng_dhcp4_to_client_node, static) = {
++ .function = vbng_dhcp_to_client_input,
++ .name = "vbng-dhcp-to-client",
++ /* Takes a vector of packets. */
++ .vector_size = sizeof (u32),
++
++ .n_errors = VBNG_DHCP4_N_ERROR,
++ .error_strings = vbng_dhcp4_error_strings,
++ .format_buffer = format_dhcp_proxy_header_with_length,
++ .format_trace = format_dhcp_proxy_trace,
++};
++
++static clib_error_t *
++vbng_dhcp4_proxy_init (vlib_main_t * vm)
++{
++ vbng_dhcp4_main_t *dm = &vbng_dhcp4_main;
++ vlib_node_t * error_drop_node;
++
++ error_drop_node = vlib_get_node_by_name (vm, (u8 *) "error-drop");
++ dm->error_drop_node_index = error_drop_node->index;
++
++ udp_register_dst_port (vm, UDP_DST_PORT_dhcp_to_client,
++ vbng_dhcp4_to_client_node.index, 1 /* is_ip4 */);
++
++ udp_register_dst_port (vm, UDP_DST_PORT_dhcp_to_server,
++ vbng_dhcp4_to_server_node.index, 1 /* is_ip4 */);
++
++ dm->vlib_main = vm;
++ dm->vnet_main = vnet_get_main();
++
++ return 0;
++}
++
++/* *INDENT-OFF* */
++VLIB_INIT_FUNCTION (vbng_dhcp4_proxy_init);
++/* *INDENT-ON* */
++
++int
++vbng_dhcp4_set_server (ip46_address_t *addr,
++ ip46_address_t *src_addr,
++ u32 rx_table_id,
++ u32 server_table_id,
++ int is_del)
++{
++ u32 rx_fib_index = 0;
++ int rc = 0;
++
++ const fib_prefix_t all_1s =
++ {
++ .fp_len = 32,
++ .fp_addr.ip4.as_u32 = 0xffffffff,
++ .fp_proto = FIB_PROTOCOL_IP4,
++ };
++
++ if (ip46_address_is_zero(addr))
++ return VNET_API_ERROR_INVALID_DST_ADDRESS;
++
++ if (ip46_address_is_zero(src_addr))
++ return VNET_API_ERROR_INVALID_SRC_ADDRESS;
++
++ rx_fib_index = fib_table_find_or_create_and_lock(FIB_PROTOCOL_IP4,
++ rx_table_id);
++
++ if (is_del)
++ {
++ if (vbng_dhcp4_server_del (FIB_PROTOCOL_IP4, rx_fib_index,
++ addr, server_table_id))
++ {
++ fib_table_entry_special_remove(rx_fib_index,
++ &all_1s,
++ FIB_SOURCE_DHCP);
++ fib_table_unlock (rx_fib_index, FIB_PROTOCOL_IP4);
++ }
++ }
++ else
++ {
++ if (vbng_dhcp4_server_add (FIB_PROTOCOL_IP4,
++ addr, src_addr,
++ rx_fib_index, server_table_id))
++ {
++ fib_table_entry_special_add(rx_fib_index,
++ &all_1s,
++ FIB_SOURCE_DHCP,
++ FIB_ENTRY_FLAG_LOCAL);
++ fib_table_lock (rx_fib_index, FIB_PROTOCOL_IP4);
++ }
++ }
++ fib_table_unlock (rx_fib_index, FIB_PROTOCOL_IP4);
++
++ return (rc);
++}
++
++static clib_error_t *
++dhcp4_proxy_set_command_fn (vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ ip46_address_t server_addr, src_addr;
++ u32 server_table_id = 0, rx_table_id = 0;
++ int is_del = 0;
++ int set_src = 0, set_server = 0;
++
++ memset(&server_addr, 0, sizeof(server_addr));
++ memset(&src_addr, 0, sizeof(src_addr));
++
++ while (unformat_check_input(input) != UNFORMAT_END_OF_INPUT)
++ {
++ if (unformat (input, "remote %U",
++ unformat_ip4_address, &server_addr.ip4))
++ set_server = 1;
++ else if (unformat (input, "server-fib-id %d", &server_table_id))
++ ;
++ else if (unformat (input, "rx-fib-id %d", &rx_table_id))
++ ;
++ else if (unformat(input, "local %U",
++ unformat_ip4_address, &src_addr.ip4))
++ set_src = 1;
++ else if (unformat (input, "delete") ||
++ unformat (input, "del"))
++ is_del = 1;
++ else
++ break;
++ }
++
++ if (is_del || (set_server && set_src))
++ {
++ int rv;
++
++ rv = vbng_dhcp4_set_server (&server_addr, &src_addr, rx_table_id,
++ server_table_id, is_del);
++ switch (rv)
++ {
++ case 0:
++ return 0;
++
++ case VNET_API_ERROR_INVALID_DST_ADDRESS:
++ return clib_error_return (0, "Invalid remote address");
++
++ case VNET_API_ERROR_INVALID_SRC_ADDRESS:
++ return clib_error_return (0, "Invalid local address");
++
++ case VNET_API_ERROR_NO_SUCH_ENTRY:
++ return clib_error_return
++ (0, "Fib id %d: no per-fib DHCP server configured", rx_table_id);
++
++ default:
++ return clib_error_return (0, "BUG: rv %d", rv);
++ }
++ }
++ else
++ return clib_error_return (0, "parse error`%U'",
++ format_unformat_error, input);
++}
++
++VLIB_CLI_COMMAND (vbng_dhcp4_set_command, static) = {
++ .path = "set vbng dhcp4",
++ .short_help = "set vbng dhcp4 [del] remote <ip-addr> local <ip-addr> [server-fib-id <n>] [rx-fib-id <n>]",
++ .function = dhcp4_proxy_set_command_fn,
++};
++
++static u8 *
++format_dhcp4_proxy_server (u8 * s, va_list * args)
++{
++ dhcp_proxy_t *proxy = va_arg (*args, dhcp_proxy_t *);
++ ip4_fib_t * rx_fib, * server_fib;
++ dhcp_server_t *server;
++
++ if (proxy == 0)
++ {
++ s = format (s, "%=14s%=16s%s", "RX FIB", "Src Address",
++ "Servers FIB,Address");
++ return s;
++ }
++
++ rx_fib = ip4_fib_get(proxy->rx_fib_index);
++
++ s = format (s, "%=14u%=16U",
++ rx_fib->table_id,
++ format_ip46_address, &proxy->dhcp_src_address, IP46_TYPE_ANY);
++
++ vec_foreach(server, proxy->dhcp_servers)
++ {
++ server_fib = ip4_fib_get(server->server_fib_index);
++ s = format (s, "%u,%U ",
++ server_fib->table_id,
++ format_ip46_address, &server->dhcp_server, IP46_TYPE_ANY);
++ }
++ return s;
++}
++
++static int
++dhcp4_proxy_show_walk (dhcp_proxy_t *server,
++ void *ctx)
++{
++ vlib_main_t * vm = ctx;
++
++ vlib_cli_output (vm, "%U", format_dhcp4_proxy_server, server);
++
++ return (1);
++}
++
++static clib_error_t *
++vbng_dhcp4_show_command_fn (vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ vlib_cli_output (vm, "%U", format_dhcp4_proxy_server, NULL /* header line */);
++
++ vbng_dhcp4_walk(dhcp4_proxy_show_walk, vm);
++
++ return (NULL);
++}
++
++VLIB_CLI_COMMAND (vbng_dhcp4_show_command, static) = {
++ .path = "show vbng dhcp4",
++ .short_help = "Display vbng DHCP4 configuration info",
++ .function = vbng_dhcp4_show_command_fn,
++};
++
++static clib_error_t *
++vbng_aaa_set_command_fn (vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ vbng_dhcp4_main_t *dm = &vbng_dhcp4_main;
++ u8 *config_file = NULL;
++ u32 nas_port = 0;
++ int set_config = 0, is_del = 0;
++
++ while (unformat_check_input(input) != UNFORMAT_END_OF_INPUT) {
++ if (unformat (input, "nas-port %d", &nas_port))
++ ;
++ else if (unformat (input, "config %v", &config_file))
++ set_config = 1;
++ else if (unformat (input, "delete") ||
++ unformat (input, "del"))
++ is_del = 1;
++ else
++ break;
++ }
++
++ if (!is_del && set_config) {
++ if (dm->config.is_enabled == VBNG_AAA_ENABLED) {
++ return 0;
++ }
++
++ if (nas_port) {
++ dm->config.nas_port = nas_port;
++ } else {
++ dm->config.nas_port = AAA_DEFAULT_NAS_PORT;
++ }
++ dm->config.config_file = config_file;
++ dm->config.is_enabled = VBNG_AAA_ENABLED;
++ } else if (is_del) {
++ if (dm->config.is_enabled == VBNG_AAA_DISABLED) {
++ return 0;
++ }
++
++ vec_free (dm->config.config_file);
++ dm->config.config_file = format(0, "%s", AAA_DEFAULT_CONFIG_FILE);
++ dm->config.nas_port = AAA_DEFAULT_NAS_PORT;
++ dm->config.is_enabled = VBNG_AAA_DISABLED;
++ } else {
++ return clib_error_return (0, "parse error`%U'",
++ format_unformat_error, input);
++ }
++
++ return 0;
++}
++
++VLIB_CLI_COMMAND (vbng_aaa_set_command, static) = {
++ .path = "set vbng aaa",
++ .short_help = "set vbng aaa [del] config <file> [nas-port <n>]",
++ .function = vbng_aaa_set_command_fn,
++};
++
++static u8 *
++format_vbng_aaa_config(u8 *s, va_list *args)
++{
++ vbng_dhcp4_main_t *dm = &vbng_dhcp4_main;
++
++ s = format(s, "%=8s %=8s %s\n", "Enabled",
++ "NAS Port", "Config File");
++
++ s = format(s, "%=8s %=8d %v\n",
++ dm->config.is_enabled ? "True" : "False",
++ dm->config.nas_port,
++ dm->config.config_file);
++
++ return s;
++}
++
++static clib_error_t *
++vbng_aaa_show_command_fn (vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ vlib_cli_output (vm, "%U", format_vbng_aaa_config, NULL);
++
++ return (NULL);
++}
++
++VLIB_CLI_COMMAND (vbng_aaa_show_command, static) = {
++ .path = "show vbng aaa",
++ .short_help = "Display vbng AAA configuration info",
++ .function = vbng_aaa_show_command_fn,
++};
++
++/* *INDENT-OFF* */
++VLIB_PLUGIN_REGISTER () = {
++ .version = VPP_BUILD_VER,
++ .description = "DHCP V4 Proxy With Radius Client",
++};
++/* *INDENT-ON* */
+diff --git a/src/plugins/vbng/vbng_msg_enum.h b/src/plugins/vbng/vbng_msg_enum.h
+new file mode 100644
+index 00000000..1dc1357f
+--- /dev/null
++++ b/src/plugins/vbng/vbng_msg_enum.h
+@@ -0,0 +1,31 @@
++/*
++ * vbng_msg_enum.h - vpp engine plug-in message enumeration
++ *
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++#ifndef _VBNG_MSG_ENUM_H_
++#define _VBNG_MSG_ENUM_H_
++
++#include <vppinfra/byte_order.h>
++
++#define vl_msg_id(n,h) n,
++typedef enum
++{
++#include <vbng/vbng_all_api_h.h>
++ /* We'll want to know how many messages IDs we need... */
++ VL_MSG_FIRST_AVAILABLE,
++} vl_msg_id_t;
++#undef vl_msg_id
++
++#endif /* _VBNG_MSG_ENUM_H_ */
+diff --git a/src/vnet.am b/src/vnet.am
+index 9e099f33..7c107f0f 100644
+--- a/src/vnet.am
++++ b/src/vnet.am
+@@ -682,31 +682,31 @@ endif
+ ########################################
+ # DHCP client
+ ########################################
+-libvnet_la_SOURCES += \
+- vnet/dhcp/client.c \
+- vnet/dhcp/client.h \
+- vnet/dhcp/dhcp_api.c
+-
+-nobase_include_HEADERS += \
+- vnet/dhcp/client.h \
+- vnet/dhcp/dhcp.api.h
+-
+-API_FILES += vnet/dhcp/dhcp.api
++#libvnet_la_SOURCES += \
++# vnet/dhcp/client.c \
++# vnet/dhcp/client.h \
++# vnet/dhcp/dhcp_api.c
++#
++#nobase_include_HEADERS += \
++# vnet/dhcp/client.h \
++# vnet/dhcp/dhcp.api.h
++#
++#API_FILES += vnet/dhcp/dhcp.api
+
+ ########################################
+ # DHCP proxy
+ ########################################
+-libvnet_la_SOURCES += \
+- vnet/dhcp/dhcp6_proxy_node.c \
+- vnet/dhcp/dhcp4_proxy_node.c \
+- vnet/dhcp/dhcp_proxy.c
+-
+-nobase_include_HEADERS += \
+- vnet/dhcp/dhcp4_packet.h \
+- vnet/dhcp/dhcp6_packet.h \
+- vnet/dhcp/dhcp_proxy.h \
+- vnet/dhcp/dhcp6_proxy_error.def \
+- vnet/dhcp/dhcp4_proxy_error.def
++#libvnet_la_SOURCES += \
++# vnet/dhcp/dhcp6_proxy_node.c \
++# vnet/dhcp/dhcp4_proxy_node.c \
++# vnet/dhcp/dhcp_proxy.c
++#
++#nobase_include_HEADERS += \
++# vnet/dhcp/dhcp4_packet.h \
++# vnet/dhcp/dhcp6_packet.h \
++# vnet/dhcp/dhcp_proxy.h \
++# vnet/dhcp/dhcp6_proxy_error.def \
++# vnet/dhcp/dhcp4_proxy_error.def
+
+ ########################################
+ # ipv6 segment routing
+diff --git a/src/vpp-api/java/Makefile.am b/src/vpp-api/java/Makefile.am
+index f18e0c24..cadaa8d9 100644
+--- a/src/vpp-api/java/Makefile.am
++++ b/src/vpp-api/java/Makefile.am
+@@ -149,6 +149,26 @@ jvpp-snat/io_fd_vpp_jvpp_snat_JVppSnatImpl.h: $(jvpp_registry_ok) $(jvpp_snat_js
+ endif
+
+ #
++# VBNG Plugin
++#
++if ENABLE_VBNG_PLUGIN
++noinst_LTLIBRARIES += libjvpp_vbng.la
++libjvpp_vbng_la_SOURCES = jvpp-vbng/jvpp_vbng.c
++libjvpp_vbng_la_CPPFLAGS = -Ijvpp-vbng
++libjvpp_vbng_la_LIBADD = $(JVPP_LIBS)
++libjvpp_vbng_la_DEPENDENCIES = libjvpp_common.la
++
++BUILT_SOURCES += jvpp-vbng/io_fd_vpp_jvpp_vbng_JVppVbngImpl.h
++JAR_FILES += jvpp-vbng-$(PACKAGE_VERSION).jar
++CLEANDIRS += jvpp-vbng/target
++
++jvpp_vbng_json_files = @top_builddir@/plugins/vbng/vbng.api.json
++
++jvpp-vbng/io_fd_vpp_jvpp_vbng_JVppVbngImpl.h: $(jvpp_registry_ok) $(jvpp_vbng_json_files)
++ $(call japigen,vbng,JVppVbngImpl)
++endif
++
++#
+ # iOAM Trace Plugin
+ #
+ if ENABLE_IOAM_PLUGIN
+diff --git a/src/vpp-api/java/jvpp-vbng/jvpp_vbng.c b/src/vpp-api/java/jvpp-vbng/jvpp_vbng.c
+new file mode 100644
+index 00000000..b722a500
+--- /dev/null
++++ b/src/vpp-api/java/jvpp-vbng/jvpp_vbng.c
+@@ -0,0 +1,108 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <vnet/vnet.h>
++
++#include <vbng/vbng_msg_enum.h>
++#define vl_typedefs /* define message structures */
++#include <vbng/vbng_all_api_h.h>
++#undef vl_typedefs
++
++#include <vnet/api_errno.h>
++#include <vlibapi/api.h>
++#include <vlibmemory/api.h>
++
++#if VPPJNI_DEBUG == 1
++ #define DEBUG_LOG(...) clib_warning(__VA_ARGS__)
++#else
++ #define DEBUG_LOG(...)
++#endif
++
++#include <jvpp-common/jvpp_common.h>
++
++#include "jvpp-vbng/io_fd_vpp_jvpp_vbng_JVppVbngImpl.h"
++#include "jvpp_vbng.h"
++#include "jvpp-vbng/jvpp_vbng_gen.h"
++
++/*
++ * Class: io_fd_vpp_jvpp_vbng_JVppVbngImpl
++ * Method: init0
++ * Signature: (JI)V
++ */
++JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_vbng_JVppVbngImpl_init0
++ (JNIEnv *env, jclass clazz, jobject callback, jlong queue_address, jint my_client_index) {
++ vbng_main_t * plugin_main = &vbng_main;
++ clib_warning ("Java_io_fd_vpp_jvpp_vbng_JVppVbngImpl_init0");
++
++ plugin_main->my_client_index = my_client_index;
++ plugin_main->vl_input_queue = (unix_shared_memory_queue_t *)queue_address;
++
++ plugin_main->callbackObject = (*env)->NewGlobalRef(env, callback);
++ plugin_main->callbackClass = (jclass)(*env)->NewGlobalRef(env, (*env)->GetObjectClass(env, callback));
++
++ // verify API has not changed since jar generation
++ #define _(N) \
++ get_message_id(env, #N);
++ foreach_supported_api_message;
++ #undef _
++
++ #define _(N,n) \
++ vl_msg_api_set_handlers(get_message_id(env, #N), #n, \
++ vl_api_##n##_t_handler, \
++ vl_noop_handler, \
++ vl_noop_handler, \
++ vl_noop_handler, \
++ sizeof(vl_api_##n##_t), 1);
++ foreach_api_reply_handler;
++ #undef _
++}
++
++JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_vbng_JVppVbngImpl_close0
++(JNIEnv *env, jclass clazz) {
++ vbng_main_t * plugin_main = &vbng_main;
++
++ // cleanup:
++ (*env)->DeleteGlobalRef(env, plugin_main->callbackClass);
++ (*env)->DeleteGlobalRef(env, plugin_main->callbackObject);
++
++ plugin_main->callbackClass = NULL;
++ plugin_main->callbackObject = NULL;
++}
++
++/* Attach thread to JVM and cache class references when initiating JVPP VES */
++jint JNI_OnLoad(JavaVM *vm, void *reserved) {
++ JNIEnv* env;
++
++ if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_8) != JNI_OK) {
++ return JNI_EVERSION;
++ }
++
++ if (cache_class_references(env) != 0) {
++ clib_warning ("Failed to cache class references\n");
++ return JNI_ERR;
++ }
++
++ return JNI_VERSION_1_8;
++}
++
++/* Clean up cached references when disposing JVPP VES */
++void JNI_OnUnload(JavaVM *vm, void *reserved) {
++ JNIEnv* env;
++ if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_8) != JNI_OK) {
++ return;
++ }
++ delete_class_references(env);
++}
+diff --git a/src/vpp-api/java/jvpp-vbng/jvpp_vbng.h b/src/vpp-api/java/jvpp-vbng/jvpp_vbng.h
+new file mode 100644
+index 00000000..62b4cda5
+--- /dev/null
++++ b/src/vpp-api/java/jvpp-vbng/jvpp_vbng.h
+@@ -0,0 +1,42 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++#ifndef __included_jvpp_vbng_h__
++#define __included_jvpp_vbng_h__
++
++#include <vnet/vnet.h>
++#include <vnet/ip/ip.h>
++#include <vnet/api_errno.h>
++#include <vlibapi/api.h>
++#include <vlibmemory/api.h>
++#include <jni.h>
++
++/* Global state for JVPP-VES */
++typedef struct {
++ /* Pointer to shared memory queue */
++ unix_shared_memory_queue_t * vl_input_queue;
++
++ /* VPP api client index */
++ u32 my_client_index;
++
++ /* Callback object and class references enabling asynchronous Java calls */
++ jobject callbackObject;
++ jclass callbackClass;
++
++} vbng_main_t;
++
++vbng_main_t vbng_main __attribute__((aligned (64)));
++
++#endif /* __included_jvpp_vbng_h__ */
+--
+2.12.2.windows.2
+
diff --git a/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch b/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch
new file mode 100644
index 00000000..8c2e31b7
--- /dev/null
+++ b/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch
@@ -0,0 +1,1079 @@
+From 9a00b1af18dfe4c2df185299b8bd2db7f5d061c0 Mon Sep 17 00:00:00 2001
+From: Johnson Li <johnson.li@intel.com>
+Date: Fri, 8 Sep 2017 17:35:16 +0800
+Subject: [PATCH] Add VES agent configuration for vG-MUX
+
+Signed-off-by: Johnson Li <johnson.li@intel.com>
+
+diff --git a/pom.xml b/pom.xml
+index 538a5d98..581bedfc 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -44,13 +44,14 @@
+ <module>nat</module>
+ <module>lisp</module>
+ <module>release-notes</module>
+- <module>vpp-integration</module>
+ <module>acl</module>
+ <module>dhcp</module>
++ <module>ves</module>
+ <module>samples</module>
+ <module>vpp-classifier</module>
+ <module>l3</module>
+ <module>vpp-management</module>
++ <module>vpp-integration</module>
+ <module>it</module>
+ </modules>
+ </project>
+\ No newline at end of file
+diff --git a/ves/asciidoc/Readme.adoc b/ves/asciidoc/Readme.adoc
+new file mode 100644
+index 00000000..682e7555
+--- /dev/null
++++ b/ves/asciidoc/Readme.adoc
+@@ -0,0 +1,3 @@
++= ves-agent
++
++Overview of ves-agent
+diff --git a/ves/pom.xml b/ves/pom.xml
+new file mode 100644
+index 00000000..1ded0109
+--- /dev/null
++++ b/ves/pom.xml
+@@ -0,0 +1,56 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!--
++ Copyright (c) 2017 Cisco and/or its affiliates.
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at:
++
++ http://www.apache.org/licenses/LICENSE-2.0
++
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++
++ <parent>
++ <groupId>io.fd.hc2vpp.common</groupId>
++ <artifactId>hc2vpp-parent</artifactId>
++ <version>1.17.04.1-SNAPSHOT</version>
++ <relativePath>../common/hc2vpp-parent</relativePath>
++ </parent>
++
++ <groupId>io.fd.hc2vpp.ves</groupId>
++ <artifactId>ves-agent</artifactId>
++ <version>1.17.04.1-SNAPSHOT</version>
++ <name>ves-agent</name>
++ <packaging>pom</packaging>
++ <modelVersion>4.0.0</modelVersion>
++ <description>Agent for VNF Event Stream plugin</description>
++
++ <modules>
++ <module>ves-api</module>
++ <module>ves-impl</module>
++ </modules>
++
++ <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
++ <build>
++ <plugins>
++ <plugin>
++ <groupId>org.apache.maven.plugins</groupId>
++ <artifactId>maven-deploy-plugin</artifactId>
++ <configuration>
++ <skip>true</skip>
++ </configuration>
++ </plugin>
++ <plugin>
++ <groupId>org.apache.maven.plugins</groupId>
++ <artifactId>maven-install-plugin</artifactId>
++ <configuration>
++ <skip>true</skip>
++ </configuration>
++ </plugin>
++ </plugins>
++ </build>
++</project>
+diff --git a/ves/ves-api/asciidoc/Readme.adoc b/ves/ves-api/asciidoc/Readme.adoc
+new file mode 100644
+index 00000000..b561268c
+--- /dev/null
++++ b/ves/ves-api/asciidoc/Readme.adoc
+@@ -0,0 +1,3 @@
++= vesagent-api
++
++Overview of vesagent-api
+\ No newline at end of file
+diff --git a/ves/ves-api/pom.xml b/ves/ves-api/pom.xml
+new file mode 100644
+index 00000000..78bf47b9
+--- /dev/null
++++ b/ves/ves-api/pom.xml
+@@ -0,0 +1,52 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!--
++ Copyright (c) 2017 Cisco and/or its affiliates.
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at:
++
++ http://www.apache.org/licenses/LICENSE-2.0
++
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++ <parent>
++ <groupId>io.fd.hc2vpp.common</groupId>
++ <artifactId>api-parent</artifactId>
++ <version>1.17.04.1-SNAPSHOT</version>
++ <relativePath>../../common/api-parent</relativePath>
++ </parent>
++
++ <modelVersion>4.0.0</modelVersion>
++ <groupId>io.fd.hc2vpp.ves</groupId>
++ <artifactId>ves-api</artifactId>
++ <name>ves-api</name>
++ <version>1.17.04.1-SNAPSHOT</version>
++ <packaging>bundle</packaging>
++
++ <dependencies>
++ <dependency>
++ <groupId>org.opendaylight.mdsal.model</groupId>
++ <artifactId>iana-if-type-2014-05-08</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>org.opendaylight.mdsal.model</groupId>
++ <artifactId>ietf-yang-types-20130715</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>org.opendaylight.mdsal.model</groupId>
++ <artifactId>ietf-interfaces</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>org.opendaylight.mdsal.model</groupId>
++ <artifactId>ietf-inet-types-2013-07-15</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>org.opendaylight.mdsal.model</groupId>
++ <artifactId>yang-ext</artifactId>
++ </dependency>
++ </dependencies>
++</project>
+diff --git a/ves/ves-api/src/main/yang/vesagent.yang b/ves/ves-api/src/main/yang/vesagent.yang
+new file mode 100644
+index 00000000..a3c79797
+--- /dev/null
++++ b/ves/ves-api/src/main/yang/vesagent.yang
+@@ -0,0 +1,71 @@
++module vesagent {
++
++ yang-version 1;
++ namespace "urn:opendaylight:params:xml:ns:yang:vpp:vesagent";
++ prefix "vesagent";
++
++ description
++ "This YANG module defines the generic configuration and
++ operational data for VES Agent in VPP";
++
++ revision "2017-08-01" {
++ description
++ "Initial revision of VES Agent model";
++ }
++
++ import ietf-inet-types {
++ prefix inet;
++ }
++
++ grouping vesagent-attributes {
++ container config {
++ description
++ "VNF Event Stream Agent configuration";
++
++ leaf server-addr {
++ type inet:ipv4-address;
++ description
++ "VES Collector's IP address.";
++ }
++
++ leaf server-port {
++ type uint32;
++ description
++ "VES Collector's Server Port.";
++ }
++
++ leaf read-interval {
++ type uint32;
++ description
++ "Seconds of time period for each loop.";
++ }
++
++ leaf is-add {
++ type uint32;
++ description
++ "0-Delete VES agent, NonZero-Start VES agent.";
++ }
++ }
++
++ container mode {
++ description
++ "VNF Event Stream Agent Working Mode.";
++
++ leaf base-packet-loss {
++ type uint32;
++ description
++ "Base packet Loss for Demo Mode";
++ }
++
++ leaf working-mode {
++ type string;
++ description
++ "VES Working Mode, Demo Or Real Only.";
++ }
++ }
++ }
++
++ container vesagent {
++ uses vesagent-attributes;
++ }
++}
+diff --git a/ves/ves-impl/asciidoc/Readme.adoc b/ves/ves-impl/asciidoc/Readme.adoc
+new file mode 100644
+index 00000000..e07fb05f
+--- /dev/null
++++ b/ves/ves-impl/asciidoc/Readme.adoc
+@@ -0,0 +1,3 @@
++= vesagent-impl
++
++Overview of vesagent-impl
+\ No newline at end of file
+diff --git a/ves/ves-impl/pom.xml b/ves/ves-impl/pom.xml
+new file mode 100644
+index 00000000..5ed2c1b4
+--- /dev/null
++++ b/ves/ves-impl/pom.xml
+@@ -0,0 +1,157 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!--
++ Copyright (c) 2017 Cisco and/or its affiliates.
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at:
++
++ http://www.apache.org/licenses/LICENSE-2.0
++
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
++ <parent>
++ <groupId>io.fd.hc2vpp.common</groupId>
++ <artifactId>vpp-impl-parent</artifactId>
++ <version>1.17.04.1-SNAPSHOT</version>
++ <relativePath>../../vpp-common/vpp-impl-parent</relativePath>
++ </parent>
++
++ <modelVersion>4.0.0</modelVersion>
++ <groupId>io.fd.hc2vpp.ves</groupId>
++ <artifactId>ves-impl</artifactId>
++ <name>${project.artifactId}</name>
++ <version>1.17.04.1-SNAPSHOT</version>
++ <packaging>bundle</packaging>
++
++ <properties>
++ <honeycomb.infra.version>1.17.04.1-SNAPSHOT</honeycomb.infra.version>
++ <hc2vpp.common.version>1.17.04.1-SNAPSHOT</hc2vpp.common.version>
++ </properties>
++
++ <dependencies>
++ <dependency>
++ <groupId>${project.groupId}</groupId>
++ <artifactId>ves-api</artifactId>
++ <version>${project.version}</version>
++ </dependency>
++
++ <!--VPP common-->
++ <dependency>
++ <groupId>io.fd.hc2vpp.common</groupId>
++ <artifactId>vpp-translate-utils</artifactId>
++ </dependency>
++
++ <!-- JVPP -->
++ <dependency>
++ <groupId>io.fd.vpp</groupId>
++ <artifactId>jvpp-registry</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>io.fd.vpp</groupId>
++ <artifactId>jvpp-ves</artifactId>
++ <version>17.04.2-SNAPSHOT</version>
++ </dependency>
++
++ <!-- Honeycomb infrastructure-->
++ <dependency>
++ <groupId>io.fd.honeycomb</groupId>
++ <artifactId>minimal-distribution</artifactId>
++ <version>${honeycomb.infra.version}</version>
++ </dependency>
++
++ <dependency>
++ <groupId>io.fd.honeycomb</groupId>
++ <artifactId>translate-api</artifactId>
++ <version>${honeycomb.infra.version}</version>
++ </dependency>
++
++ <dependency>
++ <groupId>io.fd.honeycomb</groupId>
++ <artifactId>translate-spi</artifactId>
++ <version>${honeycomb.infra.version}</version>
++ </dependency>
++
++ <dependency>
++ <groupId>io.fd.honeycomb</groupId>
++ <artifactId>cfg-init</artifactId>
++ <version>${honeycomb.infra.version}</version>
++ </dependency>
++
++ <!-- Translation -->
++ <dependency>
++ <groupId>io.fd.hc2vpp.common</groupId>
++ <artifactId>vpp-translate-utils</artifactId>
++ </dependency>
++
++ <!-- DI -->
++ <dependency>
++ <groupId>com.google.inject</groupId>
++ <artifactId>guice</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>net.jmob</groupId>
++ <artifactId>guice.conf</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>com.google.inject.extensions</groupId>
++ <artifactId>guice-multibindings</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>io.fd.honeycomb</groupId>
++ <artifactId>translate-impl</artifactId>
++ <version>1.17.04.1-SNAPSHOT</version>
++ </dependency>
++
++
++ <!-- Testing dependencies-->
++ <dependency>
++ <groupId>com.google.inject</groupId>
++ <artifactId>guice</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>net.jmob</groupId>
++ <artifactId>guice.conf</artifactId>
++ </dependency>
++ <dependency>
++ <groupId>com.google.inject.extensions</groupId>
++ <artifactId>guice-multibindings</artifactId>
++ </dependency>
++
++ <dependency>
++ <groupId>junit</groupId>
++ <artifactId>junit</artifactId>
++ <scope>test</scope>
++ </dependency>
++ <dependency>
++ <groupId>io.fd.hc2vpp.common</groupId>
++ <artifactId>vpp-translate-test</artifactId>
++ <version>${hc2vpp.common.version}</version>
++ <scope>test</scope>
++ </dependency>
++ <dependency>
++ <groupId>org.mockito</groupId>
++ <artifactId>mockito-core</artifactId>
++ <scope>test</scope>
++ </dependency>
++ <dependency>
++ <groupId>com.google.inject.extensions</groupId>
++ <artifactId>guice-testlib</artifactId>
++ <scope>test</scope>
++ </dependency>
++ <dependency>
++ <groupId>org.hamcrest</groupId>
++ <artifactId>hamcrest-all</artifactId>
++ <scope>test</scope>
++ </dependency>
++ <dependency>
++ <groupId>io.fd.honeycomb.infra</groupId>
++ <artifactId>test-tools</artifactId>
++ <version>${project.version}</version>
++ <scope>test</scope>
++ </dependency>
++ </dependencies>
++</project>
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/VesModule.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/VesModule.java
+new file mode 100644
+index 00000000..0cd60068
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/VesModule.java
+@@ -0,0 +1,67 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves;
++
++import com.google.common.annotations.VisibleForTesting;
++import com.google.inject.AbstractModule;
++import com.google.inject.Provider;
++import com.google.inject.Singleton;
++import com.google.inject.multibindings.Multibinder;
++import io.fd.hc2vpp.ves.jvpp.JVppVesProvider;
++import io.fd.hc2vpp.ves.read.VesReaderFactory;
++import io.fd.hc2vpp.ves.write.VesWriterFactory;
++import io.fd.honeycomb.translate.read.ReaderFactory;
++import io.fd.honeycomb.translate.write.WriterFactory;
++import io.fd.vpp.jvpp.ves.future.FutureJVppVesFacade;
++import org.slf4j.Logger;
++import org.slf4j.LoggerFactory;
++
++/**
++ * VesModule class instantiating ves plugin components.
++ */
++public final class VesModule extends AbstractModule {
++
++ private static final Logger LOG = LoggerFactory.getLogger(VesModule.class);
++ private final Class<? extends Provider<FutureJVppVesFacade>> jvppVesProviderClass;
++
++ public VesModule() {
++ this(JVppVesProvider.class);
++ }
++
++ @VisibleForTesting
++ VesModule(Class<? extends Provider<FutureJVppVesFacade>> jvppVesProvider) {
++ this.jvppVesProviderClass = jvppVesProvider;
++ }
++
++ @Override
++ protected void configure() {
++ LOG.info("Installing VES Agent module");
++
++ // Bind to Plugin's JVPP
++ bind(FutureJVppVesFacade.class).toProvider(jvppVesProviderClass).in(Singleton.class);
++
++ LOG.info("Injecting writers factories");
++ final Multibinder<WriterFactory> writerFactoryBinder = Multibinder.newSetBinder(binder(), WriterFactory.class);
++ writerFactoryBinder.addBinding().to(VesWriterFactory.class);
++
++ LOG.info("Injecting readers factories");
++ final Multibinder<ReaderFactory> readerFactoryBinder = Multibinder.newSetBinder(binder(), ReaderFactory.class);
++ readerFactoryBinder.addBinding().to(VesReaderFactory.class);
++
++ LOG.info("Module VES Agent successfully configured");
++ }
++}
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/jvpp/JVppVesProvider.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/jvpp/JVppVesProvider.java
+new file mode 100644
+index 00000000..8afed84e
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/jvpp/JVppVesProvider.java
+@@ -0,0 +1,59 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves.jvpp;
++
++import com.google.inject.Inject;
++import io.fd.honeycomb.infra.distro.ProviderTrait;
++import io.fd.vpp.jvpp.JVppRegistry;
++import io.fd.vpp.jvpp.ves.JVppVesImpl;
++import io.fd.vpp.jvpp.ves.future.FutureJVppVesFacade;
++import java.io.IOException;
++import org.slf4j.Logger;
++import org.slf4j.LoggerFactory;
++
++/**
++ * Provides future API for jvpp-ves plugin. Must be a singleton due to shutdown hook usage.
++ * Registers shutdown hook to free plugin's resources on shutdown.
++ */
++public final class JVppVesProvider extends ProviderTrait<FutureJVppVesFacade> {
++
++ private static final Logger LOG = LoggerFactory.getLogger(JVppVesProvider.class);
++
++ @Inject
++ private JVppRegistry registry;
++
++ @Override
++ protected FutureJVppVesFacade create() {
++ try {
++ final JVppVesImpl jvppVes = new JVppVesImpl();
++ Runtime.getRuntime().addShutdownHook(new Thread() {
++ @Override
++ public void run() {
++ LOG.info("Unloading jvpp-ves plugin");
++ jvppVes.close();
++ LOG.info("Successfully unloaded jvpp-ves plugin");
++ }
++ });
++
++ LOG.info("Successfully loaded jvpp-ves plugin");
++ return new FutureJVppVesFacade(registry, jvppVes);
++ } catch (IOException e) {
++ throw new IllegalStateException("Unable to open VPP management connection", e);
++ }
++ }
++}
++
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/read/VesReaderFactory.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/read/VesReaderFactory.java
+new file mode 100644
+index 00000000..bef652fd
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/read/VesReaderFactory.java
+@@ -0,0 +1,50 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves.read;
++
++import com.google.inject.Inject;
++import io.fd.honeycomb.translate.read.ReaderFactory;
++import io.fd.honeycomb.translate.read.registry.ModifiableReaderRegistryBuilder;
++import io.fd.vpp.jvpp.core.future.FutureJVppCore;
++import javax.annotation.Nonnull;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.Vesagent;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.VesagentBuilder;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Config;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.ConfigBuilder;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Mode;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.ModeBuilder;
++import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
++
++/**
++ * Factory producing writers for VES Agent plugin's data.
++ */
++public final class VesReaderFactory implements ReaderFactory {
++
++ private static final InstanceIdentifier<Vesagent> VESAGENT_ID = InstanceIdentifier.create(Vesagent.class);
++ private static final InstanceIdentifier<Config> CONFIG_ID = InstanceIdentifier.create(Config.class);
++ private static final InstanceIdentifier<Mode> MODE_ID = InstanceIdentifier.create(Mode.class);
++
++ @Inject
++ private FutureJVppCore vppApi;
++
++ @Override
++ public void init(@Nonnull final ModifiableReaderRegistryBuilder registry) {
++ registry.addStructuralReader(VESAGENT_ID, VesagentBuilder.class);
++ registry.addStructuralReader(CONFIG_ID, ConfigBuilder.class);
++ registry.addStructuralReader(MODE_ID, ModeBuilder.class);
++ }
++}
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesConfigCustomizer.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesConfigCustomizer.java
+new file mode 100644
+index 00000000..e06afa73
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesConfigCustomizer.java
+@@ -0,0 +1,127 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves.write;
++
++import static com.google.common.base.Preconditions.checkArgument;
++
++import io.fd.hc2vpp.common.translate.util.ByteDataTranslator;
++import io.fd.hc2vpp.common.translate.util.FutureJVppCustomizer;
++import io.fd.hc2vpp.common.translate.util.Ipv4Translator;
++import io.fd.hc2vpp.common.translate.util.Ipv6Translator;
++import io.fd.hc2vpp.common.translate.util.JvppReplyConsumer;
++import io.fd.honeycomb.translate.spi.write.WriterCustomizer;
++import io.fd.honeycomb.translate.write.WriteContext;
++import io.fd.honeycomb.translate.write.WriteFailedException;
++import io.fd.vpp.jvpp.core.future.FutureJVppCore;
++//import io.fd.vpp.jvpp.ves.future.FutureJVppVes;
++import io.fd.vpp.jvpp.ves.dto.VesAgentConfig;
++import io.fd.vpp.jvpp.ves.future.FutureJVppVesFacade;
++import javax.annotation.Nonnull;
++//import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.Vesagent;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Config;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.ConfigBuilder;
++import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
++import org.slf4j.Logger;
++import org.slf4j.LoggerFactory;
++
++final class VesConfigCustomizer extends FutureJVppCustomizer implements WriterCustomizer<Config>,
++ JvppReplyConsumer, ByteDataTranslator, Ipv6Translator, Ipv4Translator {
++ private static final Logger LOG = LoggerFactory.getLogger(VesConfigCustomizer.class);
++
++ private final FutureJVppVesFacade jvppVes;
++
++ VesConfigCustomizer(final FutureJVppCore vppApi, final FutureJVppVesFacade jvppVes) {
++ super(vppApi);
++ this.jvppVes = jvppVes;
++ }
++
++ @Override
++ public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<Config> iid, @Nonnull final Config dataAfter,
++ @Nonnull final WriteContext writeContext) throws WriteFailedException {
++ ConfigBuilder configBuilder = new ConfigBuilder();
++ InstanceIdentifier<Config> id = iid;
++
++ LOG.debug("Writing VES Agent Config {} dataAfter={}", id, dataAfter);
++ checkArgument(dataAfter.getServerAddr() != null && dataAfter.getServerAddr().getValue() != null
++ && dataAfter.getServerPort() != 0, "VES Server Address and Port need to be configured");
++
++ configBuilder.setServerAddr(dataAfter.getServerAddr())
++ .setServerPort(dataAfter.getServerPort())
++ .setReadInterval(dataAfter.getReadInterval())
++ .setIsAdd(1L);
++
++ setVesAgentConfig(id, configBuilder.build());
++ }
++
++ @Override
++ public void updateCurrentAttributes(@Nonnull final InstanceIdentifier<Config> iid, @Nonnull final Config dataBefore,
++ @Nonnull final Config dataAfter, @Nonnull final WriteContext writeContext)
++ throws WriteFailedException {
++ ConfigBuilder configBuilder = new ConfigBuilder();
++ InstanceIdentifier<Config> id = iid;
++
++ checkArgument(dataBefore.getServerAddr() != null && dataBefore.getServerAddr().getValue() != null
++ && dataBefore.getServerPort() != 0, "VES Server Address and Port need to be configured");
++ checkArgument(dataAfter.getServerAddr() != null && dataAfter.getServerAddr().getValue() != null
++ && dataAfter.getServerPort() != 0, "VES Server Address and Port need to be configured");
++
++ // remove old configuration:
++ configBuilder.setServerAddr(dataBefore.getServerAddr())
++ .setServerPort(dataBefore.getServerPort())
++ .setReadInterval(dataBefore.getReadInterval())
++ .setIsAdd(0L);
++ setVesAgentConfig(id, configBuilder.build());
++
++ // and add new one:
++ configBuilder.setServerAddr(dataAfter.getServerAddr())
++ .setServerPort(dataAfter.getServerPort())
++ .setReadInterval(dataAfter.getReadInterval())
++ .setIsAdd(1L);
++ setVesAgentConfig(id, configBuilder.build());
++ }
++
++ @Override
++ public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<Config> iid, @Nonnull final Config dataBefore,
++ @Nonnull final WriteContext writeContext) throws WriteFailedException {
++ ConfigBuilder configBuilder = new ConfigBuilder();
++ InstanceIdentifier<Config> id = iid;
++ LOG.debug("Removing VES Agent {} dataBefore={}", id, dataBefore);
++
++ checkArgument(dataBefore.getServerAddr() != null && dataBefore.getServerAddr().getValue() != null
++ && dataBefore.getServerPort() != 0, "VES Server Address and Port need to be dataBeforeured");
++
++ configBuilder.setServerAddr(dataBefore.getServerAddr())
++ .setServerPort(dataBefore.getServerPort())
++ .setReadInterval(dataBefore.getReadInterval())
++ .setIsAdd(0L);
++
++ setVesAgentConfig(id, configBuilder.build());
++ }
++
++ private void setVesAgentConfig(final InstanceIdentifier<Config> id, final Config config)
++ throws WriteFailedException {
++ final VesAgentConfig request = new VesAgentConfig();
++
++ request.serverPort = config.getServerPort().byteValue();
++ request.readInterval = config.getReadInterval().byteValue();
++ request.isAdd = config.getIsAdd().byteValue();
++ request.serverAddr = ipv4AddressNoZoneToArray(config.getServerAddr().getValue());
++
++ LOG.debug("VES agent config change id={} request={}", id, request);
++ getReplyForWrite(jvppVes.vesAgentConfig(request).toCompletableFuture(), id);
++ }
++}
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesModeCustomizer.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesModeCustomizer.java
+new file mode 100644
+index 00000000..8b6d5a9a
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesModeCustomizer.java
+@@ -0,0 +1,97 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves.write;
++
++import static com.google.common.base.Preconditions.checkArgument;
++
++import io.fd.hc2vpp.common.translate.util.ByteDataTranslator;
++import io.fd.hc2vpp.common.translate.util.FutureJVppCustomizer;
++import io.fd.hc2vpp.common.translate.util.Ipv4Translator;
++import io.fd.hc2vpp.common.translate.util.Ipv6Translator;
++import io.fd.hc2vpp.common.translate.util.JvppReplyConsumer;
++import io.fd.honeycomb.translate.spi.write.WriterCustomizer;
++import io.fd.honeycomb.translate.write.WriteContext;
++import io.fd.honeycomb.translate.write.WriteFailedException;
++import io.fd.vpp.jvpp.core.future.FutureJVppCore;
++//import io.fd.vpp.jvpp.ves.future.FutureJVppVes;
++import io.fd.vpp.jvpp.ves.dto.VesAgentMode;
++import io.fd.vpp.jvpp.ves.future.FutureJVppVesFacade;
++import javax.annotation.Nonnull;
++//import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.Vesagent;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Mode;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.ModeBuilder;
++import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
++import org.slf4j.Logger;
++import org.slf4j.LoggerFactory;
++
++final class VesModeCustomizer extends FutureJVppCustomizer implements WriterCustomizer<Mode>,
++ JvppReplyConsumer, ByteDataTranslator, Ipv6Translator, Ipv4Translator {
++ private static final Logger LOG = LoggerFactory.getLogger(VesModeCustomizer.class);
++
++ private final FutureJVppVesFacade jvppVes;
++
++ VesModeCustomizer(final FutureJVppCore vppApi, final FutureJVppVesFacade jvppVes) {
++ super(vppApi);
++ this.jvppVes = jvppVes;
++ }
++
++ @Override
++ public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<Mode> iid, @Nonnull final Mode dataAfter,
++ @Nonnull final WriteContext writeContext) throws WriteFailedException {
++ LOG.debug("Writing VES Agent Working Mode {} dataAfter={}", iid, dataAfter);
++
++ checkArgument(dataAfter.getWorkingMode() != null && dataAfter.getBasePacketLoss() <= 100,
++ "VES Agent Working Mode need to be correctly configured.");
++
++ setVesAgentMode(iid, dataAfter);
++ }
++
++ @Override
++ public void updateCurrentAttributes(@Nonnull final InstanceIdentifier<Mode> iid, @Nonnull final Mode dataBefore,
++ @Nonnull final Mode dataAfter, @Nonnull final WriteContext writeContext)
++ throws WriteFailedException {
++ LOG.debug("Writing VES Agent Working Mode {} {}-->{}", iid, dataBefore, dataAfter);
++
++ checkArgument(dataAfter.getWorkingMode() != null && dataAfter.getBasePacketLoss() <= 100,
++ "VES Agent Working Mode need to be correctly configured.");
++
++ setVesAgentMode(iid, dataAfter);
++ }
++
++ @Override
++ public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<Mode> iid, @Nonnull final Mode dataBefore,
++ @Nonnull final WriteContext writeContext) throws WriteFailedException {
++ ModeBuilder modeBuilder = new ModeBuilder();
++ LOG.debug("Restoring VES Mode {} dataBefore={} to default.", iid, dataBefore);
++
++ modeBuilder.setWorkingMode("Real")
++ .setBasePacketLoss(0L);
++
++ setVesAgentMode(iid, modeBuilder.build());
++ }
++
++ private void setVesAgentMode(final InstanceIdentifier<Mode> id, final Mode mode)
++ throws WriteFailedException {
++ final VesAgentMode request = new VesAgentMode();
++
++ request.pktLossRate = mode.getBasePacketLoss().byteValue();
++ request.workMode = mode.getWorkingMode().getBytes();
++
++ LOG.debug("VES agent working mode change id={} request={}", id, request);
++ getReplyForWrite(jvppVes.vesAgentMode(request).toCompletableFuture(), id);
++ }
++}
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesWriterFactory.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesWriterFactory.java
+new file mode 100644
+index 00000000..581f0460
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesWriterFactory.java
+@@ -0,0 +1,54 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves.write;
++
++import com.google.common.collect.ImmutableSet;
++import com.google.inject.Inject;
++import io.fd.honeycomb.translate.impl.write.GenericWriter;
++import io.fd.honeycomb.translate.write.WriterFactory;
++import io.fd.honeycomb.translate.write.registry.ModifiableWriterRegistryBuilder;
++import io.fd.vpp.jvpp.core.future.FutureJVppCore;
++import io.fd.vpp.jvpp.ves.future.FutureJVppVesFacade;
++import javax.annotation.Nonnull;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.Vesagent;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Config;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Mode;
++import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
++
++/**
++ * Factory producing writers for VES Agent plugin's data.
++ */
++public final class VesWriterFactory implements WriterFactory {
++
++ private static final InstanceIdentifier<Vesagent> VESAGENT_ID = InstanceIdentifier.create(Vesagent.class);
++
++ @Inject
++ private FutureJVppCore vppApi;
++
++ @Inject
++ protected FutureJVppVesFacade futureVesFacade;
++
++ @Override
++ public void init(@Nonnull final ModifiableWriterRegistryBuilder registry) {
++ registry.add(new GenericWriter<>(VESAGENT_ID,
++ new VesagentCustomizer(vppApi, futureVesFacade)));
++ registry.add(new GenericWriter<>(VESAGENT_ID.child(Config.class),
++ new VesConfigCustomizer(vppApi, futureVesFacade)));
++ registry.add(new GenericWriter<>(VESAGENT_ID.child(Mode.class),
++ new VesModeCustomizer(vppApi, futureVesFacade)));
++ }
++}
+diff --git a/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesagentCustomizer.java b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesagentCustomizer.java
+new file mode 100644
+index 00000000..62e46cdb
+--- /dev/null
++++ b/ves/ves-impl/src/main/java/io/fd/hc2vpp/ves/write/VesagentCustomizer.java
+@@ -0,0 +1,131 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++package io.fd.hc2vpp.ves.write;
++
++import static com.google.common.base.Preconditions.checkArgument;
++
++import io.fd.hc2vpp.common.translate.util.ByteDataTranslator;
++import io.fd.hc2vpp.common.translate.util.FutureJVppCustomizer;
++import io.fd.hc2vpp.common.translate.util.Ipv4Translator;
++import io.fd.hc2vpp.common.translate.util.Ipv6Translator;
++import io.fd.hc2vpp.common.translate.util.JvppReplyConsumer;
++import io.fd.honeycomb.translate.spi.write.WriterCustomizer;
++import io.fd.honeycomb.translate.write.WriteContext;
++import io.fd.honeycomb.translate.write.WriteFailedException;
++import io.fd.vpp.jvpp.core.future.FutureJVppCore;
++//import io.fd.vpp.jvpp.ves.future.FutureJVppVes;
++import io.fd.vpp.jvpp.ves.dto.VesAgentConfig;
++import io.fd.vpp.jvpp.ves.future.FutureJVppVesFacade;
++import javax.annotation.Nonnull;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.Vesagent;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.Config;
++import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.vesagent.rev170801.vesagent.attributes.ConfigBuilder;
++import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
++import org.slf4j.Logger;
++import org.slf4j.LoggerFactory;
++
++final class VesagentCustomizer extends FutureJVppCustomizer implements WriterCustomizer<Vesagent>,
++ JvppReplyConsumer, ByteDataTranslator, Ipv6Translator, Ipv4Translator {
++ private static final Logger LOG = LoggerFactory.getLogger(VesagentCustomizer.class);
++
++ private final FutureJVppVesFacade jvppVes;
++
++ VesagentCustomizer(final FutureJVppCore vppApi, final FutureJVppVesFacade jvppVes) {
++ super(vppApi);
++ this.jvppVes = jvppVes;
++ }
++
++ @Override
++ public void writeCurrentAttributes(@Nonnull final InstanceIdentifier<Vesagent> iid, @Nonnull final Vesagent dataAfter,
++ @Nonnull final WriteContext writeContext) throws WriteFailedException {
++ Config config = dataAfter.getConfig();
++ ConfigBuilder configBuilder = new ConfigBuilder();
++ InstanceIdentifier<Config> id = iid.child(Config.class);
++
++ LOG.debug("Writing VES Agent Config {} dataAfter={}", id, config);
++ checkArgument(config.getServerAddr() != null && config.getServerAddr().getValue() != null
++ && config.getServerPort() != 0, "VES Server Address and Port need to be configured");
++
++ configBuilder.setServerAddr(config.getServerAddr())
++ .setServerPort(config.getServerPort())
++ .setReadInterval(config.getReadInterval())
++ .setIsAdd(1L);
++
++ setVesAgentConfig(id, configBuilder.build());
++ }
++
++ @Override
++ public void updateCurrentAttributes(@Nonnull final InstanceIdentifier<Vesagent> iid, @Nonnull final Vesagent dataBefore,
++ @Nonnull final Vesagent dataAfter, @Nonnull final WriteContext writeContext)
++ throws WriteFailedException {
++ Config configBefore = dataBefore.getConfig();
++ Config configAfter = dataAfter.getConfig();
++ ConfigBuilder configBuilder = new ConfigBuilder();
++ InstanceIdentifier<Config> id = iid.child(Config.class);
++
++ checkArgument(configBefore.getServerAddr() != null && configBefore.getServerAddr().getValue() != null
++ && configBefore.getServerPort() != 0, "VES Server Address and Port need to be configured");
++ checkArgument(configAfter.getServerAddr() != null && configAfter.getServerAddr().getValue() != null
++ && configAfter.getServerPort() != 0, "VES Server Address and Port need to be configured");
++
++ // remove old configuration:
++ configBuilder.setServerAddr(configBefore.getServerAddr())
++ .setServerPort(configBefore.getServerPort())
++ .setReadInterval(configBefore.getReadInterval())
++ .setIsAdd(0L);
++ setVesAgentConfig(id, configBuilder.build());
++
++ // and add new one:
++ configBuilder.setServerAddr(configAfter.getServerAddr())
++ .setServerPort(configAfter.getServerPort())
++ .setReadInterval(configAfter.getReadInterval())
++ .setIsAdd(1L);
++ setVesAgentConfig(id, configBuilder.build());
++ }
++
++ @Override
++ public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<Vesagent> iid, @Nonnull final Vesagent dataBefore,
++ @Nonnull final WriteContext writeContext) throws WriteFailedException {
++ Config config = dataBefore.getConfig();
++ InstanceIdentifier<Config> id = iid.child(Config.class);
++ LOG.debug("Removing VES Agent {} dataBefore={}", id, config);
++
++ checkArgument(config.getServerAddr() != null && config.getServerAddr().getValue() != null
++ && config.getServerPort() != 0, "VES Server Address and Port need to be configured");
++
++ ConfigBuilder configBuilder = new ConfigBuilder();
++ configBuilder.setServerAddr(config.getServerAddr())
++ .setServerPort(config.getServerPort())
++ .setReadInterval(config.getReadInterval())
++ .setIsAdd(0L);
++
++ setVesAgentConfig(id, configBuilder.build());
++ }
++
++ private void setVesAgentConfig(final InstanceIdentifier<Config> id, final Config config)
++ throws WriteFailedException {
++ final VesAgentConfig request = new VesAgentConfig();
++
++ request.serverPort = config.getServerPort().byteValue();
++ request.readInterval = config.getReadInterval().byteValue();
++ request.isAdd = config.getIsAdd().byteValue();
++ request.serverAddr = ipv4AddressNoZoneToArray(config.getServerAddr().getValue());
++
++ LOG.debug("VES agent config change id={} request={}", id, request);
++ getReplyForWrite(jvppVes.vesAgentConfig(request).toCompletableFuture(), id);
++ }
++}
+diff --git a/vpp-integration/minimal-distribution/pom.xml b/vpp-integration/minimal-distribution/pom.xml
+index e126114a..ca0e5b24 100644
+--- a/vpp-integration/minimal-distribution/pom.xml
++++ b/vpp-integration/minimal-distribution/pom.xml
+@@ -40,6 +40,7 @@
+ <routing.version>1.17.04.1-SNAPSHOT</routing.version>
+ <acl.version>1.17.04.1-SNAPSHOT</acl.version>
+ <dhcp.version>1.17.04.1-SNAPSHOT</dhcp.version>
++ <vesagent.version>1.17.04.1-SNAPSHOT</vesagent.version>
+ <vpp.classifier.version>1.17.04.1-SNAPSHOT</vpp.classifier.version>
+ <l3-impl.version>1.17.04.1-SNAPSHOT</l3-impl.version>
+ <vpp-management-impl.version>1.17.04.1-SNAPSHOT</vpp-management-impl.version>
+@@ -63,6 +64,7 @@
+ io.fd.hc2vpp.routing.RoutingModule,
+ io.fd.hc2vpp.acl.AclModule,
+ io.fd.hc2vpp.dhcp.DhcpModule,
++ io.fd.hc2vpp.ves.VesModule,
+ io.fd.hc2vpp.policer.PolicerModule,
+ // io.fd.hc2vpp.vppnsh.impl.VppNshModule,
+ <!-- Nsh module by default disabled, because it needs vpp-nsh plugin, which is not part of vpp codebase.-->
+@@ -151,6 +153,11 @@
+ <version>${dhcp.version}</version>
+ </dependency>
+ <dependency>
++ <groupId>io.fd.hc2vpp.ves</groupId>
++ <artifactId>ves-impl</artifactId>
++ <version>${vesagent.version}</version>
++ </dependency>
++ <dependency>
+ <groupId>io.fd.hc2vpp.management</groupId>
+ <artifactId>vpp-management-impl</artifactId>
+ <version>${vpp-management-impl.version}</version>
+--
+2.12.2.windows.2
+
diff --git a/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch b/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
new file mode 100644
index 00000000..edfb6a3b
--- /dev/null
+++ b/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch
@@ -0,0 +1,7299 @@
+From 3d16acbb7942682864fd9b8ca9ca15e4147325f1 Mon Sep 17 00:00:00 2001
+From: Johnson Li <johnson.li@intel.com>
+Date: Fri, 22 Sep 2017 08:58:40 +0800
+Subject: [PATCH] Add VES Agent to report statistics
+
+Change Log:
+v2: Use VES 5.x as agent library
+v1: Add VES agent to report statistics
+
+Signed-off-by: Johnson Li <johnson.li@intel.com>
+
+diff --git a/src/configure.ac b/src/configure.ac
+index fb2ead6d..ea641525 100644
+--- a/src/configure.ac
++++ b/src/configure.ac
+@@ -154,6 +154,7 @@ PLUGIN_ENABLED(lb)
+ PLUGIN_ENABLED(memif)
+ PLUGIN_ENABLED(sixrd)
+ PLUGIN_ENABLED(snat)
++PLUGIN_ENABLED(ves)
+
+ ###############################################################################
+ # Dependency checks
+diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
+index 623892e7..84513755 100644
+--- a/src/plugins/Makefile.am
++++ b/src/plugins/Makefile.am
+@@ -69,6 +69,10 @@ if ENABLE_SNAT_PLUGIN
+ include snat.am
+ endif
+
++if ENABLE_VES_PLUGIN
++include ves.am
++endif
++
+ include ../suffix-rules.mk
+
+ # Remove *.la files
+diff --git a/src/plugins/ves.am b/src/plugins/ves.am
+new file mode 100644
+index 00000000..10f2194b
+--- /dev/null
++++ b/src/plugins/ves.am
+@@ -0,0 +1,35 @@
++# Copyright (c) <current-year> <your-organization>
++# Licensed under the Apache License, Version 2.0 (the "License");
++# you may not use this file except in compliance with the License.
++# You may obtain a copy of the License at:
++#
++# http://www.apache.org/licenses/LICENSE-2.0
++#
++# Unless required by applicable law or agreed to in writing, software
++# distributed under the License is distributed on an "AS IS" BASIS,
++# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++# See the License for the specific language governing permissions and
++# limitations under the License.
++
++vppplugins_LTLIBRARIES += ves_plugin.la
++
++LIBS_DIR=$(CURDIR)/ves/libs
++ves_plugin_la_LDFLAGS = $(AM_LDFLAGS) -L$(LIBS_DIR)
++ves_plugin_la_LDFLAGS += -Wl,--whole-archive -level -Wl,--no-whole-archive
++ves_plugin_la_LDFLAGS += -Wl,-lpthread,-lcurl
++
++ves_plugin_la_SOURCES = ves/ves_node.c \
++ ves/ves_api.c
++
++BUILT_SOURCES += \
++ ves/ves.api.h \
++ ves/ves.api.json
++
++API_FILES += ves/ves.api
++
++nobase_apiinclude_HEADERS += \
++ ves/ves_all_api_h.h \
++ ves/ves_msg_enum.h \
++ ves/ves.api.h
++
++# vi:syntax=automake
+diff --git a/src/plugins/ves/include/double_list.h b/src/plugins/ves/include/double_list.h
+new file mode 100644
+index 00000000..5cf7e1af
+--- /dev/null
++++ b/src/plugins/ves/include/double_list.h
+@@ -0,0 +1,57 @@
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++
++/**************************************************************************//**
++ * @file
++ * A simple double-linked list.
++ *
++ * @note No thread protection so you will need to use appropriate
++ * synchronization if use spans multiple threads.
++ *
++ ****************************************************************************/
++
++#ifndef DOUBLE_LIST_INCLUDED
++#define DOUBLE_LIST_INCLUDED
++
++typedef struct dlist_item
++{
++ struct dlist_item * previous;
++ struct dlist_item * next;
++ void * item;
++} DLIST_ITEM;
++
++/**************************************************************************//**
++ * Double-linked list structure
++ *****************************************************************************/
++typedef struct dlist
++{
++ DLIST_ITEM * head;
++ DLIST_ITEM * tail;
++} DLIST;
++
++
++void dlist_initialize(DLIST * list);
++void * dlist_pop_last(DLIST * list);
++void dlist_push_first(DLIST * list, void * item);
++void dlist_push_last(DLIST * list, void * item);
++DLIST_ITEM * dlist_get_first(DLIST * list);
++DLIST_ITEM * dlist_get_last(DLIST * list);
++DLIST_ITEM * dlist_get_next(DLIST_ITEM * item);
++int dlist_is_empty(DLIST * list);
++int dlist_count(DLIST * list);
++
++#endif
+diff --git a/src/plugins/ves/include/evel.h b/src/plugins/ves/include/evel.h
+new file mode 100644
+index 00000000..6aceec30
+--- /dev/null
++++ b/src/plugins/ves/include/evel.h
+@@ -0,0 +1,4494 @@
++#ifndef EVEL_INCLUDED
++#define EVEL_INCLUDED
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++
++/**************************************************************************//**
++ * @file
++ * Header for EVEL library
++ *
++ * This file implements the EVEL library which is intended to provide a
++ * simple wrapper around the complexity of AT&T's Vendor Event Listener API so
++ * that VNFs can use it without worrying about details of the API transport.
++ *
++ * Zero return value is success (::EVEL_SUCCESS), non-zero is failure and will
++ * be one of ::EVEL_ERR_CODES.
++ *****************************************************************************/
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++#include <stdbool.h>
++#include <stdio.h>
++#include <stdarg.h>
++#include <time.h>
++
++#include "jsmn.h"
++#include "double_list.h"
++#include "hashtable.h"
++
++/*****************************************************************************/
++/* Supported API version. */
++/*****************************************************************************/
++#define EVEL_API_MAJOR_VERSION 5
++#define EVEL_API_MINOR_VERSION 0
++
++/**************************************************************************//**
++ * Error codes
++ *
++ * Error codes for EVEL low level interface
++ *****************************************************************************/
++typedef enum {
++ EVEL_SUCCESS, /** The operation was successful. */
++ EVEL_ERR_GEN_FAIL, /** Non-specific failure. */
++ EVEL_CURL_LIBRARY_FAIL, /** A cURL library operation failed. */
++ EVEL_PTHREAD_LIBRARY_FAIL, /** A Posix threads operation failed. */
++ EVEL_OUT_OF_MEMORY, /** A memory allocation failure occurred. */
++ EVEL_EVENT_BUFFER_FULL, /** Too many events in the ring-buffer. */
++ EVEL_EVENT_HANDLER_INACTIVE, /** Attempt to raise event when inactive. */
++ EVEL_NO_METADATA, /** Failed to retrieve OpenStack metadata. */
++ EVEL_BAD_METADATA, /** OpenStack metadata invalid format. */
++ EVEL_BAD_JSON_FORMAT, /** JSON failed to parse correctly. */
++ EVEL_JSON_KEY_NOT_FOUND, /** Failed to find the specified JSON key. */
++ EVEL_MAX_ERROR_CODES /** Maximum number of valid error codes. */
++} EVEL_ERR_CODES;
++
++/**************************************************************************//**
++ * Logging levels
++ *
++ * Variable levels of verbosity in the logging functions.
++ *****************************************************************************/
++typedef enum {
++ EVEL_LOG_MIN = 0,
++ EVEL_LOG_SPAMMY = 30,
++ EVEL_LOG_DEBUG = 40,
++ EVEL_LOG_INFO = 50,
++ EVEL_LOG_ERROR = 60,
++ EVEL_LOG_MAX = 101
++} EVEL_LOG_LEVELS;
++
++/*****************************************************************************/
++/* Maximum string lengths. */
++/*****************************************************************************/
++#define EVEL_MAX_STRING_LEN 4096
++#define EVEL_MAX_JSON_BODY 16000
++#define EVEL_MAX_ERROR_STRING_LEN 255
++#define EVEL_MAX_URL_LEN 511
++
++/**************************************************************************//**
++ * This value represents there being no restriction on the reporting interval.
++ *****************************************************************************/
++static const int EVEL_MEASUREMENT_INTERVAL_UKNOWN = 0;
++
++/**************************************************************************//**
++ * How many events can be backed-up before we start dropping events on the
++ * floor.
++ *
++ * @note This value should be tuned in accordance with expected burstiness of
++ * the event load and the expected response time of the ECOMP event
++ * listener so that the probability of the buffer filling is suitably
++ * low.
++ *****************************************************************************/
++static const int EVEL_EVENT_BUFFER_DEPTH = 100;
++
++/*****************************************************************************/
++/* How many different IP Types-of-Service are supported. */
++/*****************************************************************************/
++#define EVEL_TOS_SUPPORTED 256
++
++/**************************************************************************//**
++ * Event domains for the various events we support.
++ * JSON equivalent field: domain
++ *****************************************************************************/
++typedef enum {
++ EVEL_DOMAIN_INTERNAL, /** Internal event, not for external routing. */
++ EVEL_DOMAIN_HEARTBEAT, /** A Heartbeat event (event header only). */
++ EVEL_DOMAIN_FAULT, /** A Fault event. */
++ EVEL_DOMAIN_MEASUREMENT, /** A Measurement for VF Scaling event. */
++ EVEL_DOMAIN_MOBILE_FLOW, /** A Mobile Flow event. */
++ EVEL_DOMAIN_REPORT, /** A Measurement for VF Reporting event. */
++ EVEL_DOMAIN_HEARTBEAT_FIELD,/** A Heartbeat field event. */
++ EVEL_DOMAIN_SIPSIGNALING, /** A Signaling event. */
++ EVEL_DOMAIN_STATE_CHANGE, /** A State Change event. */
++ EVEL_DOMAIN_SYSLOG, /** A Syslog event. */
++ EVEL_DOMAIN_OTHER, /** Another event. */
++ EVEL_DOMAIN_THRESHOLD_CROSS, /** A Threshold Crossing Event */
++ EVEL_DOMAIN_VOICE_QUALITY, /** A Voice Quality Event */
++ EVEL_MAX_DOMAINS /** Maximum number of recognized Event types. */
++} EVEL_EVENT_DOMAINS;
++
++/**************************************************************************//**
++ * Event priorities.
++ * JSON equivalent field: priority
++ *****************************************************************************/
++typedef enum {
++ EVEL_PRIORITY_HIGH,
++ EVEL_PRIORITY_MEDIUM,
++ EVEL_PRIORITY_NORMAL,
++ EVEL_PRIORITY_LOW,
++ EVEL_MAX_PRIORITIES
++} EVEL_EVENT_PRIORITIES;
++
++/**************************************************************************//**
++ * Fault / Threshold severities.
++ * JSON equivalent field: eventSeverity
++ *****************************************************************************/
++typedef enum {
++ EVEL_SEVERITY_CRITICAL,
++ EVEL_SEVERITY_MAJOR,
++ EVEL_SEVERITY_MINOR,
++ EVEL_SEVERITY_WARNING,
++ EVEL_SEVERITY_NORMAL,
++ EVEL_MAX_SEVERITIES
++} EVEL_SEVERITIES;
++
++/**************************************************************************//**
++ * Fault source types.
++ * JSON equivalent field: eventSourceType
++ *****************************************************************************/
++typedef enum {
++ EVEL_SOURCE_OTHER,
++ EVEL_SOURCE_ROUTER,
++ EVEL_SOURCE_SWITCH,
++ EVEL_SOURCE_HOST,
++ EVEL_SOURCE_CARD,
++ EVEL_SOURCE_PORT,
++ EVEL_SOURCE_SLOT_THRESHOLD,
++ EVEL_SOURCE_PORT_THRESHOLD,
++ EVEL_SOURCE_VIRTUAL_MACHINE,
++ EVEL_SOURCE_VIRTUAL_NETWORK_FUNCTION,
++ /***************************************************************************/
++ /* START OF VENDOR-SPECIFIC VALUES */
++ /* */
++ /* Vendor-specific values should be added here, and handled appropriately */
++ /* in evel_event.c. */
++ /***************************************************************************/
++
++ /***************************************************************************/
++ /* END OF VENDOR-SPECIFIC VALUES */
++ /***************************************************************************/
++ EVEL_MAX_SOURCE_TYPES
++} EVEL_SOURCE_TYPES;
++
++/**************************************************************************//**
++ * Fault VNF Status.
++ * JSON equivalent field: vfStatus
++ *****************************************************************************/
++typedef enum {
++ EVEL_VF_STATUS_ACTIVE,
++ EVEL_VF_STATUS_IDLE,
++ EVEL_VF_STATUS_PREP_TERMINATE,
++ EVEL_VF_STATUS_READY_TERMINATE,
++ EVEL_VF_STATUS_REQ_TERMINATE,
++ EVEL_MAX_VF_STATUSES
++} EVEL_VF_STATUSES;
++
++/**************************************************************************//**
++ * Counter criticalities.
++ * JSON equivalent field: criticality
++ *****************************************************************************/
++typedef enum {
++ EVEL_COUNTER_CRITICALITY_CRIT,
++ EVEL_COUNTER_CRITICALITY_MAJ,
++ EVEL_MAX_COUNTER_CRITICALITIES
++} EVEL_COUNTER_CRITICALITIES;
++
++/**************************************************************************//**
++ * Alert actions.
++ * JSON equivalent field: alertAction
++ *****************************************************************************/
++typedef enum {
++ EVEL_ALERT_ACTION_CLEAR,
++ EVEL_ALERT_ACTION_CONT,
++ EVEL_ALERT_ACTION_SET,
++ EVEL_MAX_ALERT_ACTIONS
++} EVEL_ALERT_ACTIONS;
++
++/**************************************************************************//**
++ * Alert types.
++ * JSON equivalent field: alertType
++ *****************************************************************************/
++typedef enum {
++ EVEL_ALERT_TYPE_CARD,
++ EVEL_ALERT_TYPE_ELEMENT,
++ EVEL_ALERT_TYPE_INTERFACE,
++ EVEL_ALERT_TYPE_SERVICE,
++ EVEL_MAX_ALERT_TYPES
++} EVEL_ALERT_TYPES;
++
++/**************************************************************************//**
++ * Alert types.
++ * JSON equivalent fields: newState, oldState
++ *****************************************************************************/
++typedef enum {
++ EVEL_ENTITY_STATE_IN_SERVICE,
++ EVEL_ENTITY_STATE_MAINTENANCE,
++ EVEL_ENTITY_STATE_OUT_OF_SERVICE,
++ EVEL_MAX_ENTITY_STATES
++} EVEL_ENTITY_STATE;
++
++/**************************************************************************//**
++ * Syslog facilities.
++ * JSON equivalent field: syslogFacility
++ *****************************************************************************/
++typedef enum {
++ EVEL_SYSLOG_FACILITY_KERNEL,
++ EVEL_SYSLOG_FACILITY_USER,
++ EVEL_SYSLOG_FACILITY_MAIL,
++ EVEL_SYSLOG_FACILITY_SYSTEM_DAEMON,
++ EVEL_SYSLOG_FACILITY_SECURITY_AUTH,
++ EVEL_SYSLOG_FACILITY_INTERNAL,
++ EVEL_SYSLOG_FACILITY_LINE_PRINTER,
++ EVEL_SYSLOG_FACILITY_NETWORK_NEWS,
++ EVEL_SYSLOG_FACILITY_UUCP,
++ EVEL_SYSLOG_FACILITY_CLOCK_DAEMON,
++ EVEL_SYSLOG_FACILITY_SECURITY_AUTH2,
++ EVEL_SYSLOG_FACILITY_FTP_DAEMON,
++ EVEL_SYSLOG_FACILITY_NTP,
++ EVEL_SYSLOG_FACILITY_LOG_AUDIT,
++ EVEL_SYSLOG_FACILITY_LOG_ALERT,
++ EVEL_SYSLOG_FACILITY_CLOCK_DAEMON2,
++ EVEL_SYSLOG_FACILITY_LOCAL0,
++ EVEL_SYSLOG_FACILITY_LOCAL1,
++ EVEL_SYSLOG_FACILITY_LOCAL2,
++ EVEL_SYSLOG_FACILITY_LOCAL3,
++ EVEL_SYSLOG_FACILITY_LOCAL4,
++ EVEL_SYSLOG_FACILITY_LOCAL5,
++ EVEL_SYSLOG_FACILITY_LOCAL6,
++ EVEL_SYSLOG_FACILITY_LOCAL7,
++ EVEL_MAX_SYSLOG_FACILITIES
++} EVEL_SYSLOG_FACILITIES;
++
++/**************************************************************************//**
++ * TCP flags.
++ * JSON equivalent fields: tcpFlagCountList, tcpFlagList
++ *****************************************************************************/
++typedef enum {
++ EVEL_TCP_NS,
++ EVEL_TCP_CWR,
++ EVEL_TCP_ECE,
++ EVEL_TCP_URG,
++ EVEL_TCP_ACK,
++ EVEL_TCP_PSH,
++ EVEL_TCP_RST,
++ EVEL_TCP_SYN,
++ EVEL_TCP_FIN,
++ EVEL_MAX_TCP_FLAGS
++} EVEL_TCP_FLAGS;
++
++/**************************************************************************//**
++ * Mobile QCI Classes of Service.
++ * JSON equivalent fields: mobileQciCosCountList, mobileQciCosList
++ *****************************************************************************/
++typedef enum {
++
++ /***************************************************************************/
++ /* UMTS Classes of Service. */
++ /***************************************************************************/
++ EVEL_QCI_COS_UMTS_CONVERSATIONAL,
++ EVEL_QCI_COS_UMTS_STREAMING,
++ EVEL_QCI_COS_UMTS_INTERACTIVE,
++ EVEL_QCI_COS_UMTS_BACKGROUND,
++
++ /***************************************************************************/
++ /* LTE Classes of Service. */
++ /***************************************************************************/
++ EVEL_QCI_COS_LTE_1,
++ EVEL_QCI_COS_LTE_2,
++ EVEL_QCI_COS_LTE_3,
++ EVEL_QCI_COS_LTE_4,
++ EVEL_QCI_COS_LTE_65,
++ EVEL_QCI_COS_LTE_66,
++ EVEL_QCI_COS_LTE_5,
++ EVEL_QCI_COS_LTE_6,
++ EVEL_QCI_COS_LTE_7,
++ EVEL_QCI_COS_LTE_8,
++ EVEL_QCI_COS_LTE_9,
++ EVEL_QCI_COS_LTE_69,
++ EVEL_QCI_COS_LTE_70,
++ EVEL_MAX_QCI_COS_TYPES
++} EVEL_QCI_COS_TYPES;
++
++/**************************************************************************//**
++ * Service Event endpoint description
++ * JSON equivalent field: endpointDesc
++ *****************************************************************************/
++typedef enum {
++ EVEL_SERVICE_ENDPOINT_CALLEE,
++ EVEL_SERVICE_ENDPOINT_CALLER,
++ EVEL_MAX_SERVICE_ENDPOINT_DESC
++} EVEL_SERVICE_ENDPOINT_DESC;
++
++/**************************************************************************//**
++ * Boolean type for EVEL library.
++ *****************************************************************************/
++typedef enum {
++ EVEL_FALSE,
++ EVEL_TRUE
++} EVEL_BOOLEAN;
++
++/**************************************************************************//**
++ * Optional parameter holder for double.
++ *****************************************************************************/
++typedef struct evel_option_double
++{
++ double value;
++ EVEL_BOOLEAN is_set;
++} EVEL_OPTION_DOUBLE;
++
++/**************************************************************************//**
++ * Optional parameter holder for string.
++ *****************************************************************************/
++typedef struct evel_option_string
++{
++ char * value;
++ EVEL_BOOLEAN is_set;
++} EVEL_OPTION_STRING;
++
++/**************************************************************************//**
++ * Optional parameter holder for int.
++ *****************************************************************************/
++typedef struct evel_option_int
++{
++ int value;
++ EVEL_BOOLEAN is_set;
++} EVEL_OPTION_INT;
++
++/**************************************************************************//**
++ * Optional parameter holder for unsigned long long.
++ *****************************************************************************/
++typedef struct evel_option_ull
++{
++ unsigned long long value;
++ EVEL_BOOLEAN is_set;
++} EVEL_OPTION_ULL;
++
++/**************************************************************************//**
++ * Optional parameter holder for time_t.
++ *****************************************************************************/
++typedef struct evel_option_time
++{
++ time_t value;
++ EVEL_BOOLEAN is_set;
++} EVEL_OPTION_TIME;
++
++/**************************************************************************//**
++ * enrichment fields for internal VES Event Listener service use only,
++ * not supplied by event sources
++ *****************************************************************************/
++typedef struct internal_header_fields
++{
++ void *object;
++ EVEL_BOOLEAN is_set;
++} EVEL_OPTION_INTHEADER_FIELDS;
++
++/*****************************************************************************/
++/* Supported Common Event Header version. */
++/*****************************************************************************/
++#define EVEL_HEADER_MAJOR_VERSION 1
++#define EVEL_HEADER_MINOR_VERSION 2
++
++/**************************************************************************//**
++ * Event header.
++ * JSON equivalent field: commonEventHeader
++ *****************************************************************************/
++typedef struct event_header {
++ /***************************************************************************/
++ /* Version */
++ /***************************************************************************/
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ EVEL_EVENT_DOMAINS event_domain;
++ char * event_id;
++ char * event_name;
++ char * source_name;
++ char * reporting_entity_name;
++ EVEL_EVENT_PRIORITIES priority;
++ unsigned long long start_epoch_microsec;
++ unsigned long long last_epoch_microsec;
++ int sequence;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_STRING event_type;
++ EVEL_OPTION_STRING source_id;
++ EVEL_OPTION_STRING reporting_entity_id;
++ EVEL_OPTION_INTHEADER_FIELDS internal_field;
++ EVEL_OPTION_STRING nfcnaming_code;
++ EVEL_OPTION_STRING nfnaming_code;
++
++} EVENT_HEADER;
++
++/*****************************************************************************/
++/* Supported Fault version. */
++/*****************************************************************************/
++#define EVEL_FAULT_MAJOR_VERSION 2
++#define EVEL_FAULT_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * Fault.
++ * JSON equivalent field: faultFields
++ *****************************************************************************/
++typedef struct event_fault {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ EVEL_SEVERITIES event_severity;
++ EVEL_SOURCE_TYPES event_source_type;
++ char * alarm_condition;
++ char * specific_problem;
++ EVEL_VF_STATUSES vf_status;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_STRING category;
++ EVEL_OPTION_STRING alarm_interface_a;
++ DLIST additional_info;
++
++} EVENT_FAULT;
++
++/**************************************************************************//**
++ * Fault Additional Info.
++ * JSON equivalent field: alarmAdditionalInformation
++ *****************************************************************************/
++typedef struct fault_additional_info {
++ char * name;
++ char * value;
++} FAULT_ADDL_INFO;
++
++
++/**************************************************************************//**
++ * optional field block for fields specific to heartbeat events
++ *****************************************************************************/
++typedef struct event_heartbeat_fields
++{
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ double heartbeat_version;
++ int heartbeat_interval;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ DLIST additional_info;
++
++} EVENT_HEARTBEAT_FIELD;
++
++/**************************************************************************//**
++ * tuple which provides the name of a key along with its value and
++ * relative order
++ *****************************************************************************/
++typedef struct internal_key
++{
++ char *keyname;
++ EVEL_OPTION_INT keyorder;
++ EVEL_OPTION_STRING keyvalue;
++} EVEL_INTERNAL_KEY;
++
++/**************************************************************************//**
++ * meta-information about an instance of a jsonObject along with
++ * the actual object instance
++ *****************************************************************************/
++typedef struct json_object_instance
++{
++
++ char *jsonstring;
++ unsigned long long objinst_epoch_microsec;
++ DLIST object_keys; /*EVEL_INTERNAL_KEY list */
++
++} EVEL_JSON_OBJECT_INSTANCE;
++#define MAX_JSON_TOKENS 128
++/**************************************************************************//**
++ * Create a new json object instance.
++ *
++ * @note The mandatory fields on the Other must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * Other has immutable properties.
++ * @param yourjson json string.
++ * @returns pointer to the newly manufactured ::EVEL_JSON_OBJECT_INSTANCE.
++ * not used (i.e. posted) it must be released using ::evel_free_jsonobjectinstance.
++ * @retval NULL Failed to create the json object instance.
++ *****************************************************************************/
++EVEL_JSON_OBJECT_INSTANCE * evel_new_jsonobjinstance(const char *const yourjson);
++/**************************************************************************//**
++ * Free an json object instance.
++ *
++ * Free off the json object instance supplied.
++ * Will free all the contained allocated memory.
++ *
++ *****************************************************************************/
++void evel_free_jsonobjinst(EVEL_JSON_OBJECT_INSTANCE * objinst);
++
++/**************************************************************************//**
++ * enrichment fields for internal VES Event Listener service use only,
++ * not supplied by event sources
++ *****************************************************************************/
++typedef struct json_object
++{
++
++ char *object_name;
++ EVEL_OPTION_STRING objectschema;
++ EVEL_OPTION_STRING objectschemaurl;
++ EVEL_OPTION_STRING nfsubscribedobjname;
++ EVEL_OPTION_STRING nfsubscriptionid;
++ DLIST jsonobjectinstances; /* EVEL_JSON_OBJECT_INSTANCE list */
++
++} EVEL_JSON_OBJECT;
++
++/**************************************************************************//**
++ * Create a new json object.
++ *
++ * @note The mandatory fields on the Other must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * Other has immutable properties.
++ * @param name name of the object.
++ * @returns pointer to the newly manufactured ::EVEL_JSON_OBJECT.
++ * not used (i.e. posted) it must be released using ::evel_free_jsonobject.
++ * @retval NULL Failed to create the json object.
++ *****************************************************************************/
++EVEL_JSON_OBJECT * evel_new_jsonobject(const char *const name);
++/**************************************************************************//**
++ * Free an json object.
++ *
++ * Free off the json object instance supplied.
++ * Will free all the contained allocated memory.
++ *
++ *****************************************************************************/
++void evel_free_jsonobject(EVEL_JSON_OBJECT * jsobj);
++/*****************************************************************************/
++/* Supported Measurement version. */
++/*****************************************************************************/
++#define EVEL_MEASUREMENT_MAJOR_VERSION 2
++#define EVEL_MEASUREMENT_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * Errors.
++ * JSON equivalent field: errors
++ *****************************************************************************/
++typedef struct measurement_errors {
++ int receive_discards;
++ int receive_errors;
++ int transmit_discards;
++ int transmit_errors;
++} MEASUREMENT_ERRORS;
++
++/**************************************************************************//**
++ * Measurement.
++ * JSON equivalent field: measurementsForVfScalingFields
++ *****************************************************************************/
++typedef struct event_measurement {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ double measurement_interval;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ DLIST additional_info;
++ DLIST additional_measurements;
++ DLIST additional_objects;
++ DLIST codec_usage;
++ EVEL_OPTION_INT concurrent_sessions;
++ EVEL_OPTION_INT configured_entities;
++ DLIST cpu_usage;
++ DLIST disk_usage;
++ MEASUREMENT_ERRORS * errors;
++ DLIST feature_usage;
++ DLIST filesystem_usage;
++ DLIST latency_distribution;
++ EVEL_OPTION_DOUBLE mean_request_latency;
++ DLIST mem_usage;
++ EVEL_OPTION_INT media_ports_in_use;
++ EVEL_OPTION_INT request_rate;
++ EVEL_OPTION_INT vnfc_scaling_metric;
++ DLIST vnic_usage;
++
++} EVENT_MEASUREMENT;
++
++/**************************************************************************//**
++ * CPU Usage.
++ * JSON equivalent field: cpuUsage
++ *****************************************************************************/
++typedef struct measurement_cpu_use {
++ char * id;
++ double usage;
++ EVEL_OPTION_DOUBLE idle;
++ EVEL_OPTION_DOUBLE intrpt;
++ EVEL_OPTION_DOUBLE nice;
++ EVEL_OPTION_DOUBLE softirq;
++ EVEL_OPTION_DOUBLE steal;
++ EVEL_OPTION_DOUBLE sys;
++ EVEL_OPTION_DOUBLE user;
++ EVEL_OPTION_DOUBLE wait;
++} MEASUREMENT_CPU_USE;
++
++
++/**************************************************************************//**
++ * Disk Usage.
++ * JSON equivalent field: diskUsage
++ *****************************************************************************/
++typedef struct measurement_disk_use {
++ char * id;
++ EVEL_OPTION_DOUBLE iotimeavg;
++ EVEL_OPTION_DOUBLE iotimelast;
++ EVEL_OPTION_DOUBLE iotimemax;
++ EVEL_OPTION_DOUBLE iotimemin;
++ EVEL_OPTION_DOUBLE mergereadavg;
++ EVEL_OPTION_DOUBLE mergereadlast;
++ EVEL_OPTION_DOUBLE mergereadmax;
++ EVEL_OPTION_DOUBLE mergereadmin;
++ EVEL_OPTION_DOUBLE mergewriteavg;
++ EVEL_OPTION_DOUBLE mergewritelast;
++ EVEL_OPTION_DOUBLE mergewritemax;
++ EVEL_OPTION_DOUBLE mergewritemin;
++ EVEL_OPTION_DOUBLE octetsreadavg;
++ EVEL_OPTION_DOUBLE octetsreadlast;
++ EVEL_OPTION_DOUBLE octetsreadmax;
++ EVEL_OPTION_DOUBLE octetsreadmin;
++ EVEL_OPTION_DOUBLE octetswriteavg;
++ EVEL_OPTION_DOUBLE octetswritelast;
++ EVEL_OPTION_DOUBLE octetswritemax;
++ EVEL_OPTION_DOUBLE octetswritemin;
++ EVEL_OPTION_DOUBLE opsreadavg;
++ EVEL_OPTION_DOUBLE opsreadlast;
++ EVEL_OPTION_DOUBLE opsreadmax;
++ EVEL_OPTION_DOUBLE opsreadmin;
++ EVEL_OPTION_DOUBLE opswriteavg;
++ EVEL_OPTION_DOUBLE opswritelast;
++ EVEL_OPTION_DOUBLE opswritemax;
++ EVEL_OPTION_DOUBLE opswritemin;
++ EVEL_OPTION_DOUBLE pendingopsavg;
++ EVEL_OPTION_DOUBLE pendingopslast;
++ EVEL_OPTION_DOUBLE pendingopsmax;
++ EVEL_OPTION_DOUBLE pendingopsmin;
++ EVEL_OPTION_DOUBLE timereadavg;
++ EVEL_OPTION_DOUBLE timereadlast;
++ EVEL_OPTION_DOUBLE timereadmax;
++ EVEL_OPTION_DOUBLE timereadmin;
++ EVEL_OPTION_DOUBLE timewriteavg;
++ EVEL_OPTION_DOUBLE timewritelast;
++ EVEL_OPTION_DOUBLE timewritemax;
++ EVEL_OPTION_DOUBLE timewritemin;
++
++} MEASUREMENT_DISK_USE;
++
++/**************************************************************************//**
++ * Add an additional Disk usage value name/value pair to the Measurement.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param id ASCIIZ string with the CPU's identifier.
++ * @param usage Disk utilization.
++ *****************************************************************************/
++MEASUREMENT_DISK_USE * evel_measurement_new_disk_use_add(EVENT_MEASUREMENT * measurement, char * id);
++
++/**************************************************************************//**
++ * Filesystem Usage.
++ * JSON equivalent field: filesystemUsage
++ *****************************************************************************/
++typedef struct measurement_fsys_use {
++ char * filesystem_name;
++ double block_configured;
++ int block_iops;
++ double block_used;
++ double ephemeral_configured;
++ int ephemeral_iops;
++ double ephemeral_used;
++} MEASUREMENT_FSYS_USE;
++
++/**************************************************************************//**
++ * Memory Usage.
++ * JSON equivalent field: memoryUsage
++ *****************************************************************************/
++typedef struct measurement_mem_use {
++ char * id;
++ char * vmid;
++ double membuffsz;
++ EVEL_OPTION_DOUBLE memcache;
++ EVEL_OPTION_DOUBLE memconfig;
++ EVEL_OPTION_DOUBLE memfree;
++ EVEL_OPTION_DOUBLE slabrecl;
++ EVEL_OPTION_DOUBLE slabunrecl;
++ EVEL_OPTION_DOUBLE memused;
++} MEASUREMENT_MEM_USE;
++
++/**************************************************************************//**
++ * Add an additional Memory usage value name/value pair to the Measurement.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param id ASCIIZ string with the Memory identifier.
++ * @param vmidentifier ASCIIZ string with the VM's identifier.
++ * @param membuffsz Memory Size.
++ *
++ * @return Returns pointer to memory use structure in measurements
++ *****************************************************************************/
++MEASUREMENT_MEM_USE * evel_measurement_new_mem_use_add(EVENT_MEASUREMENT * measurement,
++ char * id, char *vmidentifier, double membuffsz);
++
++/**************************************************************************//**
++ * Set kilobytes of memory used for cache
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mem_use Pointer to the Memory Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_mem_use_memcache_set(MEASUREMENT_MEM_USE * const mem_use,
++ const double val);
++/**************************************************************************//**
++ * Set kilobytes of memory configured in the virtual machine on which the VNFC reporting
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mem_use Pointer to the Memory Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_mem_use_memconfig_set(MEASUREMENT_MEM_USE * const mem_use,
++ const double val);
++/**************************************************************************//**
++ * Set kilobytes of physical RAM left unused by the system
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mem_use Pointer to the Memory Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_mem_use_memfree_set(MEASUREMENT_MEM_USE * const mem_use,
++ const double val);
++/**************************************************************************//**
++ * Set the part of the slab that can be reclaimed such as caches measured in kilobytes
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mem_use Pointer to the Memory Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_mem_use_slab_reclaimed_set(MEASUREMENT_MEM_USE * const mem_use,
++ const double val);
++/**************************************************************************//**
++ * Set the part of the slab that cannot be reclaimed such as caches measured in kilobytes
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mem_use Pointer to the Memory Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_mem_use_slab_unreclaimable_set(MEASUREMENT_MEM_USE * const mem_use,
++ const double val);
++/**************************************************************************//**
++ * Set the total memory minus the sum of free, buffered, cached and slab memory in kilobytes
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mem_use Pointer to the Memory Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_mem_use_usedup_set(MEASUREMENT_MEM_USE * const mem_use,
++ const double val);
++/**************************************************************************//**
++ * Latency Bucket.
++ * JSON equivalent field: latencyBucketMeasure
++ *****************************************************************************/
++typedef struct measurement_latency_bucket {
++ int count;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_DOUBLE high_end;
++ EVEL_OPTION_DOUBLE low_end;
++
++} MEASUREMENT_LATENCY_BUCKET;
++
++/**************************************************************************//**
++ * Virtual NIC usage.
++ * JSON equivalent field: vNicUsage
++ *****************************************************************************/
++typedef struct measurement_vnic_performance {
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ /*Cumulative count of broadcast packets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_bcast_packets_acc;
++ /*Count of broadcast packets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_bcast_packets_delta;
++ /*Cumulative count of discarded packets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_discarded_packets_acc;
++ /*Count of discarded packets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_discarded_packets_delta;
++ /*Cumulative count of error packets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_error_packets_acc;
++ /*Count of error packets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_error_packets_delta;
++ /*Cumulative count of multicast packets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_mcast_packets_acc;
++ /*Count of mcast packets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_mcast_packets_delta;
++ /*Cumulative count of octets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_octets_acc;
++ /*Count of octets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_octets_delta;
++ /*Cumulative count of all packets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_total_packets_acc;
++ /*Count of all packets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_total_packets_delta;
++ /*Cumulative count of unicast packets received as read at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_ucast_packets_acc;
++ /*Count of unicast packets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE recvd_ucast_packets_delta;
++ /*Cumulative count of transmitted broadcast packets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_bcast_packets_acc;
++ /*Count of transmitted broadcast packets within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_bcast_packets_delta;
++ /*Cumulative count of transmit discarded packets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_discarded_packets_acc;
++ /*Count of transmit discarded packets within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_discarded_packets_delta;
++ /*Cumulative count of transmit error packets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_error_packets_acc;
++ /*Count of transmit error packets within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_error_packets_delta;
++ /*Cumulative count of transmit multicast packets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_mcast_packets_acc;
++ /*Count of transmit multicast packets within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_mcast_packets_delta;
++ /*Cumulative count of transmit octets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_octets_acc;
++ /*Count of transmit octets received within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_octets_delta;
++ /*Cumulative count of all transmit packets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_total_packets_acc;
++ /*Count of transmit packets within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_total_packets_delta;
++ /*Cumulative count of all transmit unicast packets at the end of
++ the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_ucast_packets_acc;
++ /*Count of transmit unicast packets within the measurement interval*/
++ EVEL_OPTION_DOUBLE tx_ucast_packets_delta;
++ /* Indicates whether vNicPerformance values are likely inaccurate
++ due to counter overflow or other condtions*/
++ char *valuesaresuspect;
++ char *vnic_id;
++
++} MEASUREMENT_VNIC_PERFORMANCE;
++
++/**************************************************************************//**
++ * Codec Usage.
++ * JSON equivalent field: codecsInUse
++ *****************************************************************************/
++typedef struct measurement_codec_use {
++ char * codec_id;
++ int number_in_use;
++} MEASUREMENT_CODEC_USE;
++
++/**************************************************************************//**
++ * Feature Usage.
++ * JSON equivalent field: featuresInUse
++ *****************************************************************************/
++typedef struct measurement_feature_use {
++ char * feature_id;
++ int feature_utilization;
++} MEASUREMENT_FEATURE_USE;
++
++/**************************************************************************//**
++ * Measurement Group.
++ * JSON equivalent field: additionalMeasurements
++ *****************************************************************************/
++typedef struct measurement_group {
++ char * name;
++ DLIST measurements;
++} MEASUREMENT_GROUP;
++
++/**************************************************************************//**
++ * Custom Defined Measurement.
++ * JSON equivalent field: measurements
++ *****************************************************************************/
++typedef struct custom_measurement {
++ char * name;
++ char * value;
++} CUSTOM_MEASUREMENT;
++
++/*****************************************************************************/
++/* Supported Report version. */
++/*****************************************************************************/
++#define EVEL_REPORT_MAJOR_VERSION 1
++#define EVEL_REPORT_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * Report.
++ * JSON equivalent field: measurementsForVfReportingFields
++ *
++ * @note This is an experimental event type and is not currently a formal part
++ * of AT&T's specification.
++ *****************************************************************************/
++typedef struct event_report {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ double measurement_interval;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ DLIST feature_usage;
++ DLIST measurement_groups;
++
++} EVENT_REPORT;
++
++/**************************************************************************//**
++ * Mobile GTP Per Flow Metrics.
++ * JSON equivalent field: gtpPerFlowMetrics
++ *****************************************************************************/
++typedef struct mobile_gtp_per_flow_metrics {
++ double avg_bit_error_rate;
++ double avg_packet_delay_variation;
++ int avg_packet_latency;
++ int avg_receive_throughput;
++ int avg_transmit_throughput;
++ int flow_activation_epoch;
++ int flow_activation_microsec;
++ int flow_deactivation_epoch;
++ int flow_deactivation_microsec;
++ time_t flow_deactivation_time;
++ char * flow_status;
++ int max_packet_delay_variation;
++ int num_activation_failures;
++ int num_bit_errors;
++ int num_bytes_received;
++ int num_bytes_transmitted;
++ int num_dropped_packets;
++ int num_l7_bytes_received;
++ int num_l7_bytes_transmitted;
++ int num_lost_packets;
++ int num_out_of_order_packets;
++ int num_packet_errors;
++ int num_packets_received_excl_retrans;
++ int num_packets_received_incl_retrans;
++ int num_packets_transmitted_incl_retrans;
++ int num_retries;
++ int num_timeouts;
++ int num_tunneled_l7_bytes_received;
++ int round_trip_time;
++ int time_to_first_byte;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_INT ip_tos_counts[EVEL_TOS_SUPPORTED];
++ EVEL_OPTION_INT tcp_flag_counts[EVEL_MAX_TCP_FLAGS];
++ EVEL_OPTION_INT qci_cos_counts[EVEL_MAX_QCI_COS_TYPES];
++ EVEL_OPTION_INT dur_connection_failed_status;
++ EVEL_OPTION_INT dur_tunnel_failed_status;
++ EVEL_OPTION_STRING flow_activated_by;
++ EVEL_OPTION_TIME flow_activation_time;
++ EVEL_OPTION_STRING flow_deactivated_by;
++ EVEL_OPTION_STRING gtp_connection_status;
++ EVEL_OPTION_STRING gtp_tunnel_status;
++ EVEL_OPTION_INT large_packet_rtt;
++ EVEL_OPTION_DOUBLE large_packet_threshold;
++ EVEL_OPTION_INT max_receive_bit_rate;
++ EVEL_OPTION_INT max_transmit_bit_rate;
++ EVEL_OPTION_INT num_gtp_echo_failures;
++ EVEL_OPTION_INT num_gtp_tunnel_errors;
++ EVEL_OPTION_INT num_http_errors;
++
++} MOBILE_GTP_PER_FLOW_METRICS;
++
++/*****************************************************************************/
++/* Supported Mobile Flow version. */
++/*****************************************************************************/
++#define EVEL_MOBILE_FLOW_MAJOR_VERSION 1
++#define EVEL_MOBILE_FLOW_MINOR_VERSION 2
++
++/**************************************************************************//**
++ * Mobile Flow.
++ * JSON equivalent field: mobileFlow
++ *****************************************************************************/
++typedef struct event_mobile_flow {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ char * flow_direction;
++ MOBILE_GTP_PER_FLOW_METRICS * gtp_per_flow_metrics;
++ char * ip_protocol_type;
++ char * ip_version;
++ char * other_endpoint_ip_address;
++ int other_endpoint_port;
++ char * reporting_endpoint_ip_addr;
++ int reporting_endpoint_port;
++ DLIST additional_info; /* JSON: additionalFields */
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_STRING application_type;
++ EVEL_OPTION_STRING app_protocol_type;
++ EVEL_OPTION_STRING app_protocol_version;
++ EVEL_OPTION_STRING cid;
++ EVEL_OPTION_STRING connection_type;
++ EVEL_OPTION_STRING ecgi;
++ EVEL_OPTION_STRING gtp_protocol_type;
++ EVEL_OPTION_STRING gtp_version;
++ EVEL_OPTION_STRING http_header;
++ EVEL_OPTION_STRING imei;
++ EVEL_OPTION_STRING imsi;
++ EVEL_OPTION_STRING lac;
++ EVEL_OPTION_STRING mcc;
++ EVEL_OPTION_STRING mnc;
++ EVEL_OPTION_STRING msisdn;
++ EVEL_OPTION_STRING other_functional_role;
++ EVEL_OPTION_STRING rac;
++ EVEL_OPTION_STRING radio_access_technology;
++ EVEL_OPTION_STRING sac;
++ EVEL_OPTION_INT sampling_algorithm;
++ EVEL_OPTION_STRING tac;
++ EVEL_OPTION_STRING tunnel_id;
++ EVEL_OPTION_STRING vlan_id;
++
++} EVENT_MOBILE_FLOW;
++
++/*****************************************************************************/
++/* Supported Other field version. */
++/*****************************************************************************/
++#define EVEL_OTHER_EVENT_MAJOR_VERSION 1
++#define EVEL_OTHER_EVENT_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * Other.
++ * JSON equivalent field: otherFields
++ *****************************************************************************/
++typedef struct event_other {
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ HASHTABLE_T *namedarrays; /* HASHTABLE_T */
++ DLIST jsonobjects; /* DLIST of EVEL_JSON_OBJECT */
++ DLIST namedvalues;
++} EVENT_OTHER;
++
++/**************************************************************************//**
++ * Other Field.
++ * JSON equivalent field: otherFields
++ *****************************************************************************/
++typedef struct other_field {
++ char * name;
++ char * value;
++} OTHER_FIELD;
++
++
++/*****************************************************************************/
++/* Supported Service Events version. */
++/*****************************************************************************/
++#define EVEL_HEARTBEAT_FIELD_MAJOR_VERSION 1
++#define EVEL_HEARTBEAT_FIELD_MINOR_VERSION 1
++
++
++/*****************************************************************************/
++/* Supported Signaling version. */
++/*****************************************************************************/
++#define EVEL_SIGNALING_MAJOR_VERSION 2
++#define EVEL_SIGNALING_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * Vendor VNF Name fields.
++ * JSON equivalent field: vendorVnfNameFields
++ *****************************************************************************/
++typedef struct vendor_vnfname_field {
++ char * vendorname;
++ EVEL_OPTION_STRING vfmodule;
++ EVEL_OPTION_STRING vnfname;
++} VENDOR_VNFNAME_FIELD;
++
++/**************************************************************************//**
++ * Signaling.
++ * JSON equivalent field: signalingFields
++ *****************************************************************************/
++typedef struct event_signaling {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ VENDOR_VNFNAME_FIELD vnfname_field;
++ EVEL_OPTION_STRING correlator; /* JSON: correlator */
++ EVEL_OPTION_STRING local_ip_address; /* JSON: localIpAddress */
++ EVEL_OPTION_STRING local_port; /* JSON: localPort */
++ EVEL_OPTION_STRING remote_ip_address; /* JSON: remoteIpAddress */
++ EVEL_OPTION_STRING remote_port; /* JSON: remotePort */
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_STRING compressed_sip; /* JSON: compressedSip */
++ EVEL_OPTION_STRING summary_sip; /* JSON: summarySip */
++ DLIST additional_info;
++
++} EVENT_SIGNALING;
++
++/**************************************************************************//**
++ * Sgnaling Additional Field.
++ * JSON equivalent field: additionalFields
++ *****************************************************************************/
++typedef struct signaling_additional_field {
++ char * name;
++ char * value;
++} SIGNALING_ADDL_FIELD;
++
++/*****************************************************************************/
++/* Supported State Change version. */
++/*****************************************************************************/
++#define EVEL_STATE_CHANGE_MAJOR_VERSION 1
++#define EVEL_STATE_CHANGE_MINOR_VERSION 2
++
++/**************************************************************************//**
++ * State Change.
++ * JSON equivalent field: stateChangeFields
++ *****************************************************************************/
++typedef struct event_state_change {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ EVEL_ENTITY_STATE new_state;
++ EVEL_ENTITY_STATE old_state;
++ char * state_interface;
++ double version;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ DLIST additional_fields;
++
++} EVENT_STATE_CHANGE;
++
++/**************************************************************************//**
++ * State Change Additional Field.
++ * JSON equivalent field: additionalFields
++ *****************************************************************************/
++typedef struct state_change_additional_field {
++ char * name;
++ char * value;
++} STATE_CHANGE_ADDL_FIELD;
++
++/*****************************************************************************/
++/* Supported Syslog version. */
++/*****************************************************************************/
++#define EVEL_SYSLOG_MAJOR_VERSION 1
++#define EVEL_SYSLOG_MINOR_VERSION 2
++
++/**************************************************************************//**
++ * Syslog.
++ * JSON equivalent field: syslogFields
++ *****************************************************************************/
++typedef struct event_syslog {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ EVEL_SOURCE_TYPES event_source_type;
++ char * syslog_msg;
++ char * syslog_tag;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_STRING additional_filters;
++ EVEL_OPTION_STRING event_source_host;
++ EVEL_OPTION_INT syslog_facility;
++ EVEL_OPTION_INT syslog_priority;
++ EVEL_OPTION_STRING syslog_proc;
++ EVEL_OPTION_INT syslog_proc_id;
++ EVEL_OPTION_STRING syslog_s_data;
++ EVEL_OPTION_STRING syslog_sdid;
++ EVEL_OPTION_STRING syslog_severity;
++ double syslog_fver;
++ EVEL_OPTION_INT syslog_ver;
++
++} EVENT_SYSLOG;
++
++/**************************************************************************//**
++ * Copyright.
++ * JSON equivalent object: attCopyrightNotice
++ *****************************************************************************/
++typedef struct copyright {
++ char * useAndRedistribution;
++ char * condition1;
++ char * condition2;
++ char * condition3;
++ char * condition4;
++ char * disclaimerLine1;
++ char * disclaimerLine2;
++ char * disclaimerLine3;
++ char * disclaimerLine4;
++} COPYRIGHT;
++
++/**************************************************************************//**
++ * Library initialization.
++ *
++ * Initialize the EVEL library.
++ *
++ * @note This function initializes the cURL library. Applications making use
++ * of libcurl may need to pull the initialization out of here. Note
++ * also that this function is not threadsafe as a result - refer to
++ * libcurl's API documentation for relevant warnings.
++ *
++ * @sa Matching Term function.
++ *
++ * @param fqdn The API's FQDN or IP address.
++ * @param port The API's port.
++ * @param path The optional path (may be NULL).
++ * @param topic The optional topic part of the URL (may be NULL).
++ * @param secure Whether to use HTTPS (0=HTTP, 1=HTTPS).
++ * @param username Username for Basic Authentication of requests.
++ * @param password Password for Basic Authentication of requests.
++ * @param source_type The kind of node we represent.
++ * @param role The role this node undertakes.
++ * @param verbosity 0 for normal operation, positive values for chattier
++ * logs.
++ *
++ * @returns Status code
++ * @retval EVEL_SUCCESS On success
++ * @retval ::EVEL_ERR_CODES On failure.
++ *****************************************************************************/
++EVEL_ERR_CODES evel_initialize(const char * const fqdn,
++ int port,
++ const char * const path,
++ const char * const topic,
++ int secure,
++ const char * const username,
++ const char * const password,
++ EVEL_SOURCE_TYPES source_type,
++ const char * const role,
++ int verbosity
++ );
++
++/**************************************************************************//**
++ * Clean up the EVEL library.
++ *
++ * @note that at present don't expect Init/Term cycling not to leak memory!
++ *
++ * @returns Status code
++ * @retval EVEL_SUCCESS On success
++ * @retval "One of ::EVEL_ERR_CODES" On failure.
++ *****************************************************************************/
++EVEL_ERR_CODES evel_terminate(void);
++
++EVEL_ERR_CODES evel_post_event(EVENT_HEADER * event);
++const char * evel_error_string(void);
++
++
++/**************************************************************************//**
++ * Free an event.
++ *
++ * Free off the event supplied. Will free all the contained allocated memory.
++ *
++ * @note It is safe to free a NULL pointer.
++ *****************************************************************************/
++void evel_free_event(void * event);
++
++/**************************************************************************//**
++ * Encode the event as a JSON event object according to AT&T's schema.
++ *
++ * @param json Pointer to where to store the JSON encoded data.
++ * @param max_size Size of storage available in json_body.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ * @returns Number of bytes actually written.
++ *****************************************************************************/
++int evel_json_encode_event(char * json,
++ int max_size,
++ EVENT_HEADER * event);
++
++/**************************************************************************//**
++ * Initialize an event instance id.
++ *
++ * @param vfield Pointer to the event vnfname field being initialized.
++ * @param vendor_id The vendor id to encode in the event instance id.
++ * @param event_id The event id to encode in the event instance id.
++ *****************************************************************************/
++void evel_init_vendor_field(VENDOR_VNFNAME_FIELD * const vfield,
++ const char * const vendor_name);
++
++/**************************************************************************//**
++ * Set the Vendor module property of the Vendor.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vfield Pointer to the Vendor field.
++ * @param module_name The module name to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_vendor_field_module_set(VENDOR_VNFNAME_FIELD * const vfield,
++ const char * const module_name);
++/**************************************************************************//**
++ * Set the Vendor module property of the Vendor.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vfield Pointer to the Vendor field.
++ * @param module_name The module name to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_vendor_field_vnfname_set(VENDOR_VNFNAME_FIELD * const vfield,
++ const char * const vnfname);
++/**************************************************************************//**
++ * Free an event instance id.
++ *
++ * @param vfield Pointer to the event vnfname_field being freed.
++ *****************************************************************************/
++void evel_free_event_vendor_field(VENDOR_VNFNAME_FIELD * const vfield);
++
++/**************************************************************************//**
++ * Callback function to provide returned data.
++ *
++ * Copy data into the supplied buffer, write_callback::ptr, checking size
++ * limits.
++ *
++ * @returns Number of bytes placed into write_callback::ptr. 0 for EOF.
++ *****************************************************************************/
++size_t evel_write_callback(void *contents,
++ size_t size,
++ size_t nmemb,
++ void *userp);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* HEARTBEAT - (includes common header, too) */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new heartbeat event.
++ *
++ * @note that the heartbeat is just a "naked" commonEventHeader!
++ *
++ * @returns pointer to the newly manufactured ::EVENT_HEADER. If the event is
++ * not used it must be released using ::evel_free_event
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_HEADER * evel_new_heartbeat(void);
++
++/**************************************************************************//**
++ * Create a new heartbeat event of given name and type.
++ *
++ * @note that the heartbeat is just a "naked" commonEventHeader!
++ *
++ * @param event_name Unique Event Name confirming Domain AsdcModel Description
++ * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc
++ *
++ * @returns pointer to the newly manufactured ::EVENT_HEADER. If the event is
++ * not used it must be released using ::evel_free_event
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_HEADER * evel_new_heartbeat_nameid(const char* ev_name, const char *ev_id);
++
++
++/**************************************************************************//**
++ * Free an event header.
++ *
++ * Free off the event header supplied. Will free all the contained allocated
++ * memory.
++ *
++ * @note It does not free the header itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_header(EVENT_HEADER * const event);
++
++/**************************************************************************//**
++ * Initialize a newly created event header.
++ *
++ * @param header Pointer to the header being initialized.
++ *****************************************************************************/
++void evel_init_header(EVENT_HEADER * const header,const char *const eventname);
++
++/**************************************************************************//**
++ * Set the Event Type property of the event header.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_header_type_set(EVENT_HEADER * const header,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the Start Epoch property of the event header.
++ *
++ * @note The Start Epoch defaults to the time of event creation.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param start_epoch_microsec
++ * The start epoch to set, in microseconds.
++ *****************************************************************************/
++void evel_start_epoch_set(EVENT_HEADER * const header,
++ const unsigned long long start_epoch_microsec);
++
++/**************************************************************************//**
++ * Set the Last Epoch property of the event header.
++ *
++ * @note The Last Epoch defaults to the time of event creation.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param last_epoch_microsec
++ * The last epoch to set, in microseconds.
++ *****************************************************************************/
++void evel_last_epoch_set(EVENT_HEADER * const header,
++ const unsigned long long last_epoch_microsec);
++
++/**************************************************************************//**
++ * Set the Reporting Entity Name property of the event header.
++ *
++ * @note The Reporting Entity Name defaults to the OpenStack VM Name.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param entity_name The entity name to set.
++ *****************************************************************************/
++void evel_reporting_entity_name_set(EVENT_HEADER * const header,
++ const char * const entity_name);
++
++/**************************************************************************//**
++ * Set the Reporting Entity Id property of the event header.
++ *
++ * @note The Reporting Entity Id defaults to the OpenStack VM UUID.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param entity_id The entity id to set.
++ *****************************************************************************/
++void evel_reporting_entity_id_set(EVENT_HEADER * const header,
++ const char * const entity_id);
++
++/**************************************************************************//**
++ * Set the NFC Naming code property of the event header.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param nfcnamingcode String
++ *****************************************************************************/
++void evel_nfcnamingcode_set(EVENT_HEADER * const header,
++ const char * const nfcnam);
++/**************************************************************************//**
++ * Set the NF Naming code property of the event header.
++ *
++ * @param header Pointer to the ::EVENT_HEADER.
++ * @param nfnamingcode String
++ *****************************************************************************/
++void evel_nfnamingcode_set(EVENT_HEADER * const header,
++ const char * const nfnam);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* FAULT */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new fault event.
++ *
++ * @note The mandatory fields on the Fault must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * Fault has immutable properties.
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param condition The condition indicated by the Fault.
++ * @param specific_problem The specific problem triggering the fault.
++ * @param priority The priority of the event.
++ * @param severity The severity of the Fault.
++ * @param ev_source_type Source of Alarm event
++ * @param version fault version
++ * @param status status of Virtual Function
++ * @returns pointer to the newly manufactured ::EVENT_FAULT. If the event is
++ * not used (i.e. posted) it must be released using ::evel_free_fault.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_FAULT * evel_new_fault(const char* ev_name, const char *ev_id,
++ const char * const condition,
++ const char * const specific_problem,
++ EVEL_EVENT_PRIORITIES priority,
++ EVEL_SEVERITIES severity,
++ EVEL_SOURCE_TYPES ev_source_type,
++ EVEL_VF_STATUSES status);
++
++/**************************************************************************//**
++ * Free a Fault.
++ *
++ * Free off the Fault supplied. Will free all the contained allocated memory.
++ *
++ * @note It does not free the Fault itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_fault(EVENT_FAULT * event);
++
++/**************************************************************************//**
++ * Set the Fault Category property of the Fault.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param fault Pointer to the fault.
++ * @param category Category : license, link, routing, security, signaling.
++ * ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_fault_category_set(EVENT_FAULT * fault,
++ const char * const category);
++
++/**************************************************************************//**
++ * Set the Alarm Interface A property of the Fault.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param fault Pointer to the fault.
++ * @param interface The Alarm Interface A to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_fault_interface_set(EVENT_FAULT * fault,
++ const char * const interface);
++
++/**************************************************************************//**
++ * Add an additional value name/value pair to the Fault.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param fault Pointer to the fault.
++ * @param name ASCIIZ string with the attribute's name.
++ * @param value ASCIIZ string with the attribute's value.
++ *****************************************************************************/
++void evel_fault_addl_info_add(EVENT_FAULT * fault, char * name, char * value);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Fault.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param fault Pointer to the fault.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_fault_type_set(EVENT_FAULT * fault, const char * const type);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* MEASUREMENT */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new Measurement event.
++ *
++ * @note The mandatory fields on the Measurement must be supplied to this
++ * factory function and are immutable once set. Optional fields have
++ * explicit setter functions, but again values may only be set once so
++ * that the Measurement has immutable properties.
++ *
++ * @param measurement_interval
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ *
++ * @returns pointer to the newly manufactured ::EVENT_MEASUREMENT. If the
++ * event is not used (i.e. posted) it must be released using
++ * ::evel_free_event.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_MEASUREMENT * evel_new_measurement(double measurement_interval,const char* ev_name, const char *ev_id);
++
++/**************************************************************************//**
++ * Free a Measurement.
++ *
++ * Free off the Measurement supplied. Will free all the contained allocated
++ * memory.
++ *
++ * @note It does not free the Measurement itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_measurement(EVENT_MEASUREMENT * event);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the Measurement.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_measurement_type_set(EVENT_MEASUREMENT * measurement,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the Concurrent Sessions property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the Measurement.
++ * @param concurrent_sessions The Concurrent Sessions to be set.
++ *****************************************************************************/
++void evel_measurement_conc_sess_set(EVENT_MEASUREMENT * measurement,
++ int concurrent_sessions);
++
++/**************************************************************************//**
++ * Set the Configured Entities property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the Measurement.
++ * @param configured_entities The Configured Entities to be set.
++ *****************************************************************************/
++void evel_measurement_cfg_ents_set(EVENT_MEASUREMENT * measurement,
++ int configured_entities);
++
++/**************************************************************************//**
++ * Add an additional set of Errors to the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param receive_discards The number of receive discards.
++ * @param receive_errors The number of receive errors.
++ * @param transmit_discards The number of transmit discards.
++ * @param transmit_errors The number of transmit errors.
++ *****************************************************************************/
++void evel_measurement_errors_set(EVENT_MEASUREMENT * measurement,
++ int receive_discards,
++ int receive_errors,
++ int transmit_discards,
++ int transmit_errors);
++
++/**************************************************************************//**
++ * Set the Mean Request Latency property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the Measurement.
++ * @param mean_request_latency The Mean Request Latency to be set.
++ *****************************************************************************/
++void evel_measurement_mean_req_lat_set(EVENT_MEASUREMENT * measurement,
++ double mean_request_latency);
++
++/**************************************************************************//**
++ * Set the Request Rate property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the Measurement.
++ * @param request_rate The Request Rate to be set.
++ *****************************************************************************/
++void evel_measurement_request_rate_set(EVENT_MEASUREMENT * measurement,
++ int request_rate);
++
++/**************************************************************************//**
++ * Add an additional CPU usage value name/value pair to the Measurement.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param id ASCIIZ string with the CPU's identifier.
++ * @param usage CPU utilization.
++ *****************************************************************************/
++MEASUREMENT_CPU_USE * evel_measurement_new_cpu_use_add(EVENT_MEASUREMENT * measurement, char * id, double usage);
++
++/**************************************************************************//**
++ * Set the CPU Idle value in measurement interval
++ * percentage of CPU time spent in the idle task
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_idle_set(MEASUREMENT_CPU_USE *const cpu_use,
++ const double val);
++
++/**************************************************************************//**
++ * Set the percentage of time spent servicing interrupts
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_interrupt_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++
++/**************************************************************************//**
++ * Set the percentage of time spent running user space processes that have been niced
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_nice_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++
++/**************************************************************************//**
++ * Set the percentage of time spent handling soft irq interrupts
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_softirq_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++/**************************************************************************//**
++ * Set the percentage of time spent in involuntary wait
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_steal_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++/**************************************************************************//**
++ * Set the percentage of time spent on system tasks running the kernel
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_system_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++/**************************************************************************//**
++ * Set the percentage of time spent running un-niced user space processes
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_usageuser_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++/**************************************************************************//**
++ * Set the percentage of CPU time spent waiting for I/O operations to complete
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param cpu_use Pointer to the CPU Use.
++ * @param val double
++ *****************************************************************************/
++void evel_measurement_cpu_use_wait_set(MEASUREMENT_CPU_USE * const cpu_use,
++ const double val);
++
++/**************************************************************************//**
++ * Add an additional File System usage value name/value pair to the
++ * Measurement.
++ *
++ * The filesystem_name is null delimited ASCII string. The library takes a
++ * copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param filesystem_name ASCIIZ string with the file-system's UUID.
++ * @param block_configured Block storage configured.
++ * @param block_used Block storage in use.
++ * @param block_iops Block storage IOPS.
++ * @param ephemeral_configured Ephemeral storage configured.
++ * @param ephemeral_used Ephemeral storage in use.
++ * @param ephemeral_iops Ephemeral storage IOPS.
++ *****************************************************************************/
++void evel_measurement_fsys_use_add(EVENT_MEASUREMENT * measurement,
++ char * filesystem_name,
++ double block_configured,
++ double block_used,
++ int block_iops,
++ double ephemeral_configured,
++ double ephemeral_used,
++ int ephemeral_iops);
++
++/**************************************************************************//**
++ * Add a Feature usage value name/value pair to the Measurement.
++ *
++ * The name is null delimited ASCII string. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param feature ASCIIZ string with the feature's name.
++ * @param utilization Utilization of the feature.
++ *****************************************************************************/
++void evel_measurement_feature_use_add(EVENT_MEASUREMENT * measurement,
++ char * feature,
++ int utilization);
++
++/**************************************************************************//**
++ * Add a Additional Measurement value name/value pair to the Measurement.
++ *
++ * The name is null delimited ASCII string. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the Measurement.
++ * @param group ASCIIZ string with the measurement group's name.
++ * @param name ASCIIZ string containing the measurement's name.
++ * @param name ASCIIZ string containing the measurement's value.
++ *****************************************************************************/
++void evel_measurement_custom_measurement_add(EVENT_MEASUREMENT * measurement,
++ const char * const group,
++ const char * const name,
++ const char * const value);
++
++/**************************************************************************//**
++ * Add a Codec usage value name/value pair to the Measurement.
++ *
++ * The name is null delimited ASCII string. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param codec ASCIIZ string with the codec's name.
++ * @param utilization Utilization of the feature.
++ *****************************************************************************/
++void evel_measurement_codec_use_add(EVENT_MEASUREMENT * measurement,
++ char * codec,
++ int utilization);
++
++/**************************************************************************//**
++ * Set the Media Ports in Use property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param media_ports_in_use The media port usage to set.
++ *****************************************************************************/
++void evel_measurement_media_port_use_set(EVENT_MEASUREMENT * measurement,
++ int media_ports_in_use);
++
++/**************************************************************************//**
++ * Set the VNFC Scaling Metric property of the Measurement.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param scaling_metric The scaling metric to set.
++ *****************************************************************************/
++void evel_measurement_vnfc_scaling_metric_set(EVENT_MEASUREMENT * measurement,
++ int scaling_metric);
++
++/**************************************************************************//**
++ * Create a new Latency Bucket to be added to a Measurement event.
++ *
++ * @note The mandatory fields on the ::MEASUREMENT_LATENCY_BUCKET must be
++ * supplied to this factory function and are immutable once set.
++ * Optional fields have explicit setter functions, but again values
++ * may only be set once so that the ::MEASUREMENT_LATENCY_BUCKET has
++ * immutable properties.
++ *
++ * @param count Count of events in this bucket.
++ *
++ * @returns pointer to the newly manufactured ::MEASUREMENT_LATENCY_BUCKET.
++ * @retval NULL Failed to create the Latency Bucket.
++ *****************************************************************************/
++MEASUREMENT_LATENCY_BUCKET * evel_new_meas_latency_bucket(const int count);
++
++/**************************************************************************//**
++ * Set the High End property of the Measurement Latency Bucket.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param bucket Pointer to the Measurement Latency Bucket.
++ * @param high_end High end of the bucket's range.
++ *****************************************************************************/
++void evel_meas_latency_bucket_high_end_set(
++ MEASUREMENT_LATENCY_BUCKET * const bucket,
++ const double high_end);
++
++/**************************************************************************//**
++ * Set the Low End property of the Measurement Latency Bucket.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param bucket Pointer to the Measurement Latency Bucket.
++ * @param low_end Low end of the bucket's range.
++ *****************************************************************************/
++void evel_meas_latency_bucket_low_end_set(
++ MEASUREMENT_LATENCY_BUCKET * const bucket,
++ const double low_end);
++
++/**************************************************************************//**
++ * Add an additional Measurement Latency Bucket to the specified event.
++ *
++ * @param measurement Pointer to the Measurement event.
++ * @param bucket Pointer to the Measurement Latency Bucket to add.
++ *****************************************************************************/
++void evel_meas_latency_bucket_add(EVENT_MEASUREMENT * const measurement,
++ MEASUREMENT_LATENCY_BUCKET * const bucket);
++
++/**************************************************************************//**
++ * Add an additional Latency Distribution bucket to the Measurement.
++ *
++ * This function implements the previous API, purely for convenience.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param low_end Low end of the bucket's range.
++ * @param high_end High end of the bucket's range.
++ * @param count Count of events in this bucket.
++ *****************************************************************************/
++void evel_measurement_latency_add(EVENT_MEASUREMENT * const measurement,
++ const double low_end,
++ const double high_end,
++ const int count);
++
++/**************************************************************************//**
++ * Create a new vNIC Use to be added to a Measurement event.
++ *
++ * @note The mandatory fields on the ::MEASUREMENT_VNIC_PERFORMANCE must be supplied
++ * to this factory function and are immutable once set. Optional
++ * fields have explicit setter functions, but again values may only be
++ * set once so that the ::MEASUREMENT_VNIC_PERFORMANCE has immutable
++ * properties.
++ *
++ * @param vnic_id ASCIIZ string with the vNIC's ID.
++ * @param val_suspect True or false confidence in data.
++ *
++ * @returns pointer to the newly manufactured ::MEASUREMENT_VNIC_PERFORMANCE.
++ * If the structure is not used it must be released using
++ * ::evel_measurement_free_vnic_performance.
++ * @retval NULL Failed to create the vNIC Use.
++ *****************************************************************************/
++MEASUREMENT_VNIC_PERFORMANCE * evel_measurement_new_vnic_performance(char * const vnic_id, char * const val_suspect);
++
++/**************************************************************************//**
++ * Free a vNIC Use.
++ *
++ * Free off the ::MEASUREMENT_VNIC_PERFORMANCE supplied. Will free all the contained
++ * allocated memory.
++ *
++ * @note It does not free the vNIC Use itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_measurement_free_vnic_performance(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance);
++
++/**************************************************************************//**
++ * Set the Accumulated Broadcast Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_bcast_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_bcast_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_bcast_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Broadcast Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_bcast_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_bcast_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_bcast_packets_delta);
++/**************************************************************************//**
++ * Set the Discarded Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_discard_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_discard_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_discard_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Discarded Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_discard_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_discard_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_discard_packets_delta);
++/**************************************************************************//**
++ * Set the Error Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_error_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_error_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_error_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Error Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_error_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_error_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_error_packets_delta);
++/**************************************************************************//**
++ * Set the Accumulated Multicast Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_mcast_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_mcast_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_mcast_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Multicast Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_mcast_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_mcast_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_mcast_packets_delta);
++/**************************************************************************//**
++ * Set the Accumulated Octets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_octets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_octets_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_octets_acc);
++/**************************************************************************//**
++ * Set the Delta Octets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_octets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_octets_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_octets_delta);
++/**************************************************************************//**
++ * Set the Accumulated Total Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_total_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_total_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_total_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Total Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_total_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_total_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_total_packets_delta);
++/**************************************************************************//**
++ * Set the Accumulated Unicast Packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_ucast_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_rx_ucast_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_ucast_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Unicast packets Received in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param recvd_ucast_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_rx_ucast_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double recvd_ucast_packets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Broadcast Packets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_bcast_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_bcast_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_bcast_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Broadcast packets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_bcast_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_bcast_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_bcast_packets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Discarded Packets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_discarded_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_discarded_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_discarded_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Discarded packets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_discarded_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_discarded_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_discarded_packets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Errored Packets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_error_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_error_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_error_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Errored packets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_error_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_error_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_error_packets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Multicast Packets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_mcast_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_mcast_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_mcast_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Multicast packets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_mcast_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_mcast_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_mcast_packets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Octets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_octets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_octets_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_octets_acc);
++/**************************************************************************//**
++ * Set the Delta Octets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_octets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_octets_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_octets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Total Packets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_total_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_total_pkt_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_total_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Total Packets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_total_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_total_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_total_packets_delta);
++/**************************************************************************//**
++ * Set the Transmitted Unicast Packets in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_ucast_packets_acc
++ *****************************************************************************/
++void evel_vnic_performance_tx_ucast_packets_acc_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_ucast_packets_acc);
++/**************************************************************************//**
++ * Set the Delta Octets Transmitted in measurement interval
++ * property of the vNIC performance.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param vnic_performance Pointer to the vNIC Use.
++ * @param tx_ucast_packets_delta
++ *****************************************************************************/
++void evel_vnic_performance_tx_ucast_pkt_delta_set(MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance,
++ const double tx_ucast_packets_delta);
++
++/**************************************************************************//**
++ * Add an additional vNIC Use to the specified Measurement event.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param vnic_performance Pointer to the vNIC Use to add.
++ *****************************************************************************/
++void evel_meas_vnic_performance_add(EVENT_MEASUREMENT * const measurement,
++ MEASUREMENT_VNIC_PERFORMANCE * const vnic_performance);
++
++/**************************************************************************//**
++ * Add an additional vNIC usage record Measurement.
++ *
++ * This function implements the previous API, purely for convenience.
++ *
++ * The ID is null delimited ASCII string. The library takes a copy so the
++ * caller does not have to preserve values after the function returns.
++ *
++ * @param measurement Pointer to the measurement.
++ * @param vnic_id ASCIIZ string with the vNIC's ID.
++ * @param valset true or false confidence level
++ * @param recvd_bcast_packets_acc Recieved broadcast packets
++ * @param recvd_bcast_packets_delta Received delta broadcast packets
++ * @param recvd_discarded_packets_acc Recieved discarded packets
++ * @param recvd_discarded_packets_delta Received discarded delta packets
++ * @param recvd_error_packets_acc Received error packets
++ * @param recvd_error_packets_delta, Received delta error packets
++ * @param recvd_mcast_packets_acc Received multicast packets
++ * @param recvd_mcast_packets_delta Received delta multicast packets
++ * @param recvd_octets_acc Received octets
++ * @param recvd_octets_delta Received delta octets
++ * @param recvd_total_packets_acc Received total packets
++ * @param recvd_total_packets_delta Received delta total packets
++ * @param recvd_ucast_packets_acc Received Unicast packets
++ * @param recvd_ucast_packets_delta Received delta unicast packets
++ * @param tx_bcast_packets_acc Transmitted broadcast packets
++ * @param tx_bcast_packets_delta Transmitted delta broadcast packets
++ * @param tx_discarded_packets_acc Transmitted packets discarded
++ * @param tx_discarded_packets_delta Transmitted delta discarded packets
++ * @param tx_error_packets_acc Transmitted error packets
++ * @param tx_error_packets_delta Transmitted delta error packets
++ * @param tx_mcast_packets_acc Transmitted multicast packets accumulated
++ * @param tx_mcast_packets_delta Transmitted delta multicast packets
++ * @param tx_octets_acc Transmitted octets
++ * @param tx_octets_delta Transmitted delta octets
++ * @param tx_total_packets_acc Transmitted total packets
++ * @param tx_total_packets_delta Transmitted delta total packets
++ * @param tx_ucast_packets_acc Transmitted Unicast packets
++ * @param tx_ucast_packets_delta Transmitted delta Unicast packets
++ *****************************************************************************/
++void evel_measurement_vnic_performance_add(EVENT_MEASUREMENT * const measurement,
++ char * const vnic_id,
++ char * valset,
++ double recvd_bcast_packets_acc,
++ double recvd_bcast_packets_delta,
++ double recvd_discarded_packets_acc,
++ double recvd_discarded_packets_delta,
++ double recvd_error_packets_acc,
++ double recvd_error_packets_delta,
++ double recvd_mcast_packets_acc,
++ double recvd_mcast_packets_delta,
++ double recvd_octets_acc,
++ double recvd_octets_delta,
++ double recvd_total_packets_acc,
++ double recvd_total_packets_delta,
++ double recvd_ucast_packets_acc,
++ double recvd_ucast_packets_delta,
++ double tx_bcast_packets_acc,
++ double tx_bcast_packets_delta,
++ double tx_discarded_packets_acc,
++ double tx_discarded_packets_delta,
++ double tx_error_packets_acc,
++ double tx_error_packets_delta,
++ double tx_mcast_packets_acc,
++ double tx_mcast_packets_delta,
++ double tx_octets_acc,
++ double tx_octets_delta,
++ double tx_total_packets_acc,
++ double tx_total_packets_delta,
++ double tx_ucast_packets_acc,
++ double tx_ucast_packets_delta);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* REPORT */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new Report event.
++ *
++ * @note The mandatory fields on the Report must be supplied to this
++ * factory function and are immutable once set. Optional fields have
++ * explicit setter functions, but again values may only be set once so
++ * that the Report has immutable properties.
++ *
++ * @param measurement_interval
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ *
++ * @returns pointer to the newly manufactured ::EVENT_REPORT. If the event is
++ * not used (i.e. posted) it must be released using
++ * ::evel_free_report.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_REPORT * evel_new_report(double measurement_interval,const char* ev_name, const char *ev_id);
++
++/**************************************************************************//**
++ * Free a Report.
++ *
++ * Free off the Report supplied. Will free all the contained allocated memory.
++ *
++ * @note It does not free the Report itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_report(EVENT_REPORT * event);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Report.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param report Pointer to the Report.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_report_type_set(EVENT_REPORT * report, const char * const type);
++
++/**************************************************************************//**
++ * Add a Feature usage value name/value pair to the Report.
++ *
++ * The name is null delimited ASCII string. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param report Pointer to the report.
++ * @param feature ASCIIZ string with the feature's name.
++ * @param utilization Utilization of the feature.
++ *****************************************************************************/
++void evel_report_feature_use_add(EVENT_REPORT * report,
++ char * feature,
++ int utilization);
++
++/**************************************************************************//**
++ * Add a Additional Measurement value name/value pair to the Report.
++ *
++ * The name is null delimited ASCII string. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param report Pointer to the report.
++ * @param group ASCIIZ string with the measurement group's name.
++ * @param name ASCIIZ string containing the measurement's name.
++ * @param value ASCIIZ string containing the measurement's value.
++ *****************************************************************************/
++void evel_report_custom_measurement_add(EVENT_REPORT * report,
++ const char * const group,
++ const char * const name,
++ const char * const value);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* MOBILE_FLOW */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new Mobile Flow event.
++ *
++ * @note The mandatory fields on the Mobile Flow must be supplied to this
++ * factory function and are immutable once set. Optional fields have
++ * explicit setter functions, but again values may only be set once so
++ * that the Mobile Flow has immutable properties.
++ *
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param flow_direction
++ * @param gtp_per_flow_metrics
++ * @param ip_protocol_type
++ * @param ip_version
++ * @param other_endpoint_ip_address
++ * @param other_endpoint_port
++ * @param reporting_endpoint_ip_addr
++ * @param reporting_endpoint_port
++ *
++ * @returns pointer to the newly manufactured ::EVENT_MOBILE_FLOW. If the
++ * event is not used (i.e. posted) it must be released using
++ * ::evel_free_mobile_flow.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_MOBILE_FLOW * evel_new_mobile_flow(
++ const char* ev_name, const char *ev_id,
++ const char * const flow_direction,
++ MOBILE_GTP_PER_FLOW_METRICS * gtp_per_flow_metrics,
++ const char * const ip_protocol_type,
++ const char * const ip_version,
++ const char * const other_endpoint_ip_address,
++ int other_endpoint_port,
++ const char * const reporting_endpoint_ip_addr,
++ int reporting_endpoint_port);
++
++/**************************************************************************//**
++ * Free a Mobile Flow.
++ *
++ * Free off the Mobile Flow supplied. Will free all the contained allocated
++ * memory.
++ *
++ * @note It does not free the Mobile Flow itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_mobile_flow(EVENT_MOBILE_FLOW * event);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_mobile_flow_type_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the Application Type property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param type The Application Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_mobile_flow_app_type_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the Application Protocol Type property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param type The Application Protocol Type to be set. ASCIIZ string.
++ * The caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_flow_app_prot_type_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the Application Protocol Version property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param version The Application Protocol Version to be set. ASCIIZ
++ * string. The caller does not need to preserve the value
++ * once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_app_prot_ver_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const version);
++
++/**************************************************************************//**
++ * Set the CID property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param cid The CID to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_cid_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const cid);
++
++/**************************************************************************//**
++ * Set the Connection Type property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param type The Connection Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_mobile_flow_con_type_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the ECGI property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param ecgi The ECGI to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_ecgi_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const ecgi);
++
++/**************************************************************************//**
++ * Set the GTP Protocol Type property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param type The GTP Protocol Type to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_flow_gtp_prot_type_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const type);
++
++/**************************************************************************//**
++ * Set the GTP Protocol Version property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param version The GTP Protocol Version to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_flow_gtp_prot_ver_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const version);
++
++/**************************************************************************//**
++ * Set the HTTP Header property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param header The HTTP header to be set. ASCIIZ string. The caller does
++ * not need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_http_header_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const header);
++
++/**************************************************************************//**
++ * Set the IMEI property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param imei The IMEI to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_imei_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const imei);
++
++/**************************************************************************//**
++ * Set the IMSI property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param imsi The IMSI to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_imsi_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const imsi);
++
++/**************************************************************************//**
++ * Set the LAC property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param lac The LAC to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_lac_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const lac);
++
++/**************************************************************************//**
++ * Set the MCC property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param mcc The MCC to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_mcc_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const mcc);
++
++/**************************************************************************//**
++ * Set the MNC property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param mnc The MNC to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_mnc_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const mnc);
++
++/**************************************************************************//**
++ * Set the MSISDN property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param msisdn The MSISDN to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_msisdn_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const msisdn);
++
++/**************************************************************************//**
++ * Set the Other Functional Role property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param role The Other Functional Role to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_flow_other_func_role_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const role);
++
++/**************************************************************************//**
++ * Set the RAC property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param rac The RAC to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_rac_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const rac);
++
++/**************************************************************************//**
++ * Set the Radio Access Technology property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param tech The Radio Access Technology to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_flow_radio_acc_tech_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const tech);
++
++/**************************************************************************//**
++ * Set the SAC property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param sac The SAC to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_sac_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const sac);
++
++/**************************************************************************//**
++ * Set the Sampling Algorithm property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param algorithm The Sampling Algorithm to be set.
++ *****************************************************************************/
++void evel_mobile_flow_samp_alg_set(EVENT_MOBILE_FLOW * mobile_flow,
++ int algorithm);
++
++/**************************************************************************//**
++ * Set the TAC property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param tac The TAC to be set. ASCIIZ string. The caller does not
++ * need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_tac_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const tac);
++
++/**************************************************************************//**
++ * Set the Tunnel ID property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param tunnel_id The Tunnel ID to be set. ASCIIZ string. The caller does
++ * not need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_tunnel_id_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const tunnel_id);
++
++/**************************************************************************//**
++ * Set the VLAN ID property of the Mobile Flow.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param mobile_flow Pointer to the Mobile Flow.
++ * @param vlan_id The VLAN ID to be set. ASCIIZ string. The caller does
++ * not need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_mobile_flow_vlan_id_set(EVENT_MOBILE_FLOW * mobile_flow,
++ const char * const vlan_id);
++
++/**************************************************************************//**
++ * Create a new Mobile GTP Per Flow Metrics.
++ *
++ * @note The mandatory fields on the Mobile GTP Per Flow Metrics must be
++ * supplied to this factory function and are immutable once set.
++ * Optional fields have explicit setter functions, but again values
++ * may only be set once so that the Mobile GTP Per Flow Metrics has
++ * immutable properties.
++ *
++ * @param avg_bit_error_rate
++ * @param avg_packet_delay_variation
++ * @param avg_packet_latency
++ * @param avg_receive_throughput
++ * @param avg_transmit_throughput
++ * @param flow_activation_epoch
++ * @param flow_activation_microsec
++ * @param flow_deactivation_epoch
++ * @param flow_deactivation_microsec
++ * @param flow_deactivation_time
++ * @param flow_status
++ * @param max_packet_delay_variation
++ * @param num_activation_failures
++ * @param num_bit_errors
++ * @param num_bytes_received
++ * @param num_bytes_transmitted
++ * @param num_dropped_packets
++ * @param num_l7_bytes_received
++ * @param num_l7_bytes_transmitted
++ * @param num_lost_packets
++ * @param num_out_of_order_packets
++ * @param num_packet_errors
++ * @param num_packets_received_excl_retrans
++ * @param num_packets_received_incl_retrans
++ * @param num_packets_transmitted_incl_retrans
++ * @param num_retries
++ * @param num_timeouts
++ * @param num_tunneled_l7_bytes_received
++ * @param round_trip_time
++ * @param time_to_first_byte
++ *
++ * @returns pointer to the newly manufactured ::MOBILE_GTP_PER_FLOW_METRICS.
++ * If the structure is not used it must be released using
++ * ::evel_free_mobile_gtp_flow_metrics.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++MOBILE_GTP_PER_FLOW_METRICS * evel_new_mobile_gtp_flow_metrics(
++ double avg_bit_error_rate,
++ double avg_packet_delay_variation,
++ int avg_packet_latency,
++ int avg_receive_throughput,
++ int avg_transmit_throughput,
++ int flow_activation_epoch,
++ int flow_activation_microsec,
++ int flow_deactivation_epoch,
++ int flow_deactivation_microsec,
++ time_t flow_deactivation_time,
++ const char * const flow_status,
++ int max_packet_delay_variation,
++ int num_activation_failures,
++ int num_bit_errors,
++ int num_bytes_received,
++ int num_bytes_transmitted,
++ int num_dropped_packets,
++ int num_l7_bytes_received,
++ int num_l7_bytes_transmitted,
++ int num_lost_packets,
++ int num_out_of_order_packets,
++ int num_packet_errors,
++ int num_packets_received_excl_retrans,
++ int num_packets_received_incl_retrans,
++ int num_packets_transmitted_incl_retrans,
++ int num_retries,
++ int num_timeouts,
++ int num_tunneled_l7_bytes_received,
++ int round_trip_time,
++ int time_to_first_byte);
++
++/**************************************************************************//**
++ * Free a Mobile GTP Per Flow Metrics.
++ *
++ * Free off the Mobile GTP Per Flow Metrics supplied. Will free all the
++ * contained allocated memory.
++ *
++ * @note It does not free the Mobile GTP Per Flow Metrics itself, since that
++ * may be part of a larger structure.
++ *****************************************************************************/
++void evel_free_mobile_gtp_flow_metrics(MOBILE_GTP_PER_FLOW_METRICS * metrics);
++
++/**************************************************************************//**
++ * Set the Duration of Connection Failed Status property of the Mobile GTP Per
++ * Flow Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param duration The Duration of Connection Failed Status to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_dur_con_fail_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int duration);
++
++/**************************************************************************//**
++ * Set the Duration of Tunnel Failed Status property of the Mobile GTP Per Flow
++ * Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param duration The Duration of Tunnel Failed Status to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_dur_tun_fail_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int duration);
++
++/**************************************************************************//**
++ * Set the Activated By property of the Mobile GTP Per Flow metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param act_by The Activated By to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_act_by_set(MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ const char * const act_by);
++
++/**************************************************************************//**
++ * Set the Activation Time property of the Mobile GTP Per Flow metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param act_time The Activation Time to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_act_time_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ time_t act_time);
++
++/**************************************************************************//**
++ * Set the Deactivated By property of the Mobile GTP Per Flow metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param deact_by The Deactivated By to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_deact_by_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ const char * const deact_by);
++
++/**************************************************************************//**
++ * Set the GTP Connection Status property of the Mobile GTP Per Flow metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param status The GTP Connection Status to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_con_status_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ const char * const status);
++
++/**************************************************************************//**
++ * Set the GTP Tunnel Status property of the Mobile GTP Per Flow metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param status The GTP Tunnel Status to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_tun_status_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ const char * const status);
++
++/**************************************************************************//**
++ * Set an IP Type-of-Service count property of the Mobile GTP Per Flow metrics.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param index The index of the IP Type-of-Service.
++ * @param count The count.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_iptos_set(MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int index,
++ int count);
++
++/**************************************************************************//**
++ * Set the Large Packet Round-Trip Time property of the Mobile GTP Per Flow
++ * Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param rtt The Large Packet Round-Trip Time to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_large_pkt_rtt_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int rtt);
++
++/**************************************************************************//**
++ * Set the Large Packet Threshold property of the Mobile GTP Per Flow Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param threshold The Large Packet Threshold to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_large_pkt_thresh_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ double threshold);
++
++/**************************************************************************//**
++ * Set the Max Receive Bit Rate property of the Mobile GTP Per Flow Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param rate The Max Receive Bit Rate to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_max_rcv_bit_rate_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int rate);
++
++/**************************************************************************//**
++ * Set the Max Transmit Bit Rate property of the Mobile GTP Per Flow Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param rate The Max Transmit Bit Rate to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_max_trx_bit_rate_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int rate);
++
++/**************************************************************************//**
++ * Set the Number of GTP Echo Failures property of the Mobile GTP Per Flow
++ * Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param num The Number of GTP Echo Failures to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_num_echo_fail_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int num);
++
++/**************************************************************************//**
++ * Set the Number of GTP Tunnel Errors property of the Mobile GTP Per Flow
++ * Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param num The Number of GTP Tunnel Errors to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_num_tun_fail_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int num);
++
++/**************************************************************************//**
++ * Set the Number of HTTP Errors property of the Mobile GTP Per Flow Metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param num The Number of HTTP Errors to be set.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_num_http_errors_set(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ int num);
++
++/**************************************************************************//**
++ * Add a TCP flag count to the metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param tcp_flag The TCP flag count to be updated.
++ * @param count The associated flag count.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_tcp_flag_count_add(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ const EVEL_TCP_FLAGS tcp_flag,
++ const int count);
++
++/**************************************************************************//**
++ * Add a QCI COS count to the metrics.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param metrics Pointer to the Mobile GTP Per Flow Metrics.
++ * @param qci_cos The QCI COS count to be updated.
++ * @param count The associated QCI COS count.
++ *****************************************************************************/
++void evel_mobile_gtp_metrics_qci_cos_count_add(
++ MOBILE_GTP_PER_FLOW_METRICS * metrics,
++ const EVEL_QCI_COS_TYPES qci_cos,
++ const int count);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* SIGNALING */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new Signaling event.
++ *
++ * @note The mandatory fields on the Signaling must be supplied to
++ * this factory function and are immutable once set. Optional fields
++ * have explicit setter functions, but again values may only be set
++ * once so that the event has immutable properties.
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param vendor_name The vendor id to encode in the event vnf field.
++ * @param module The module to encode in the event.
++ * @param vnfname The Virtual network function to encode in the event.
++ * @returns pointer to the newly manufactured ::EVENT_SIGNALING. If the event
++ * is not used (i.e. posted) it must be released using
++ * ::evel_free_signaling.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_SIGNALING * evel_new_signaling(const char* ev_name, const char *ev_id,
++ const char * const vendor_name,
++ const char * const correlator,
++ const char * const local_ip_address,
++ const char * const local_port,
++ const char * const remote_ip_address,
++ const char * const remote_port);
++
++/**************************************************************************//**
++ * Free a Signaling event.
++ *
++ * Free off the event supplied. Will free all the contained allocated memory.
++ *
++ * @note It does not free the event itself, since that may be part of a larger
++ * structure.
++ *****************************************************************************/
++void evel_free_signaling(EVENT_SIGNALING * const event);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_type_set(EVENT_SIGNALING * const event,
++ const char * const type);
++
++/**************************************************************************//**
++ * Add an additional value name/value pair to the SIP signaling.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param event Pointer to the fault.
++ * @param name ASCIIZ string with the attribute's name. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ * @param value ASCIIZ string with the attribute's value. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_addl_info_add(EVENT_SIGNALING * event, char * name, char * value);
++
++/**************************************************************************//**
++ * Set the Correlator property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param correlator The correlator to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_correlator_set(EVENT_SIGNALING * const event,
++ const char * const correlator);
++
++/**************************************************************************//**
++ * Set the Local Ip Address property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param local_ip_address
++ * The Local Ip Address to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_signaling_local_ip_address_set(EVENT_SIGNALING * const event,
++ const char * const local_ip_address);
++
++/**************************************************************************//**
++ * Set the Local Port property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param local_port The Local Port to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_local_port_set(EVENT_SIGNALING * const event,
++ const char * const local_port);
++
++/**************************************************************************//**
++ * Set the Remote Ip Address property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param remote_ip_address
++ * The Remote Ip Address to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_signaling_remote_ip_address_set(EVENT_SIGNALING * const event,
++ const char * const remote_ip_address);
++
++/**************************************************************************//**
++ * Set the Remote Port property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param remote_port The Remote Port to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_remote_port_set(EVENT_SIGNALING * const event,
++ const char * const remote_port);
++/**************************************************************************//**
++ * Set the Vendor module property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param modulename The module name to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_vnfmodule_name_set(EVENT_SIGNALING * const event,
++ const char * const module_name);
++/**************************************************************************//**
++ * Set the Vendor module property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param vnfname The Virtual Network function to be set. ASCIIZ string.
++ * The caller does not need to preserve the value once
++ * the function returns.
++ *****************************************************************************/
++void evel_signaling_vnfname_set(EVENT_SIGNALING * const event,
++ const char * const vnfname);
++
++/**************************************************************************//**
++ * Set the Compressed SIP property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param compressed_sip
++ * The Compressed SIP to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_compressed_sip_set(EVENT_SIGNALING * const event,
++ const char * const compressed_sip);
++
++/**************************************************************************//**
++ * Set the Summary SIP property of the Signaling event.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param event Pointer to the Signaling event.
++ * @param summary_sip The Summary SIP to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_signaling_summary_sip_set(EVENT_SIGNALING * const event,
++ const char * const summary_sip);
++
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* STATE CHANGE */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new State Change event.
++ *
++ * @note The mandatory fields on the Syslog must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * Syslog has immutable properties.
++ *
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param new_state The new state of the reporting entity.
++ * @param old_state The old state of the reporting entity.
++ * @param interface The card or port name of the reporting entity.
++ *
++ * @returns pointer to the newly manufactured ::EVENT_STATE_CHANGE. If the
++ * event is not used it must be released using
++ * ::evel_free_state_change
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_STATE_CHANGE * evel_new_state_change(const char* ev_name, const char *ev_id,
++ const EVEL_ENTITY_STATE new_state,
++ const EVEL_ENTITY_STATE old_state,
++ const char * const interface);
++
++/**************************************************************************//**
++ * Free a State Change.
++ *
++ * Free off the State Change supplied. Will free all the contained allocated
++ * memory.
++ *
++ * @note It does not free the State Change itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_state_change(EVENT_STATE_CHANGE * const state_change);
++
++/**************************************************************************//**
++ * Set the Event Type property of the State Change.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param state_change Pointer to the ::EVENT_STATE_CHANGE.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_state_change_type_set(EVENT_STATE_CHANGE * const state_change,
++ const char * const type);
++
++/**************************************************************************//**
++ * Add an additional field name/value pair to the State Change.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param state_change Pointer to the ::EVENT_STATE_CHANGE.
++ * @param name ASCIIZ string with the attribute's name. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ * @param value ASCIIZ string with the attribute's value. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_state_change_addl_field_add(EVENT_STATE_CHANGE * const state_change,
++ const char * const name,
++ const char * const value);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* SYSLOG */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new syslog event.
++ *
++ * @note The mandatory fields on the Syslog must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * Syslog has immutable properties.
++ *
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param event_source_type
++ * @param syslog_msg
++ * @param syslog_tag
++ * @param version
++ *
++ * @returns pointer to the newly manufactured ::EVENT_SYSLOG. If the event is
++ * not used it must be released using ::evel_free_syslog
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_SYSLOG * evel_new_syslog(const char* ev_name, const char *ev_id,
++ EVEL_SOURCE_TYPES event_source_type,
++ const char * const syslog_msg,
++ const char * const syslog_tag);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the syslog.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_syslog_type_set(EVENT_SYSLOG * syslog,
++ const char * const type);
++
++/**************************************************************************//**
++ * Free a Syslog.
++ *
++ * Free off the Syslog supplied. Will free all the contained allocated memory.
++ *
++ * @note It does not free the Syslog itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_syslog(EVENT_SYSLOG * event);
++
++/**************************************************************************//**
++ * Add an additional field name/value pair to the Syslog.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param syslog Pointer to the syslog.
++ * @param name ASCIIZ string with the attribute's name. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ * @param value ASCIIZ string with the attribute's value. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_syslog_addl_field_add(EVENT_SYSLOG * syslog,
++ char * name,
++ char * value);
++
++/**************************************************************************//**
++ * Set the Event Source Host property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param host The Event Source Host to be set. ASCIIZ string. The
++ * caller does not need to preserve the value once the
++ * function returns.
++ *****************************************************************************/
++void evel_syslog_event_source_host_set(EVENT_SYSLOG * syslog,
++ const char * const host);
++
++/**************************************************************************//**
++ * Set the Syslog Facility property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param facility The Syslog Facility to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_syslog_facility_set(EVENT_SYSLOG * syslog,
++ EVEL_SYSLOG_FACILITIES facility);
++
++/**************************************************************************//**
++ * Set the Process property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param proc The Process to be set. ASCIIZ string. The caller does
++ * not need to preserve the value once the function returns.
++ *****************************************************************************/
++void evel_syslog_proc_set(EVENT_SYSLOG * syslog, const char * const proc);
++
++/**************************************************************************//**
++ * Set the Process ID property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param proc_id The Process ID to be set.
++ *****************************************************************************/
++void evel_syslog_proc_id_set(EVENT_SYSLOG * syslog, int proc_id);
++
++/**************************************************************************//**
++ * Set the Version property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param version The Version to be set.
++ *****************************************************************************/
++void evel_syslog_version_set(EVENT_SYSLOG * syslog, int version);
++
++/**************************************************************************//**
++ * Set the Structured Data property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param s_data The Structured Data to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_syslog_s_data_set(EVENT_SYSLOG * syslog, const char * const s_data);
++
++/**************************************************************************//**
++ * Set the Structured SDID property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param sdid The Structured Data to be set. ASCIIZ string. name@number
++ * Caller does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_syslog_sdid_set(EVENT_SYSLOG * syslog, const char * const sdid);
++
++/**************************************************************************//**
++ * Set the Structured Severity property of the Syslog.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param syslog Pointer to the Syslog.
++ * @param sdid The Structured Data to be set. ASCIIZ string.
++ * Caller does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_syslog_severity_set(EVENT_SYSLOG * syslog, const char * const severty);
++
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* OTHER */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Create a new other event.
++ *
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ *
++ * @returns pointer to the newly manufactured ::EVENT_OTHER. If the event is
++ * not used it must be released using ::evel_free_other.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_OTHER * evel_new_other(const char* ev_name, const char *ev_id);
++
++/**************************************************************************//**
++ * Free an Other.
++ *
++ * Free off the Other supplied. Will free all the contained allocated memory.
++ *
++ * @note It does not free the Other itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_other(EVENT_OTHER * event);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Other.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param other Pointer to the Other.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_other_type_set(EVENT_OTHER * other,
++ const char * const type);
++
++/**************************************************************************//**
++ * Add a value name/value pair to the Other.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param other Pointer to the Other.
++ * @param name ASCIIZ string with the attribute's name.
++ * @param value ASCIIZ string with the attribute's value.
++ *****************************************************************************/
++void evel_other_field_add(EVENT_OTHER * other,
++ char * name,
++ char * value);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* THROTTLING */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/**************************************************************************//**
++ * Return the current measurement interval provided by the Event Listener.
++ *
++ * @returns The current measurement interval
++ * @retval EVEL_MEASUREMENT_INTERVAL_UKNOWN (0) - interval has not been
++ * specified
++ *****************************************************************************/
++int evel_get_measurement_interval();
++
++/*****************************************************************************/
++/* Supported Report version. */
++/*****************************************************************************/
++#define EVEL_VOICEQ_MAJOR_VERSION 1
++#define EVEL_VOICEQ_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * End of Call Voice Quality Metrices
++ * JSON equivalent field: endOfCallVqmSummaries
++ *****************************************************************************/
++typedef struct end_of_call_vqm_summaries {
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ char* adjacencyName;
++ char* endpointDescription;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_INT endpointJitter;
++ EVEL_OPTION_INT endpointRtpOctetsDiscarded;
++ EVEL_OPTION_INT endpointRtpOctetsReceived;
++ EVEL_OPTION_INT endpointRtpOctetsSent;
++ EVEL_OPTION_INT endpointRtpPacketsDiscarded;
++ EVEL_OPTION_INT endpointRtpPacketsReceived;
++ EVEL_OPTION_INT endpointRtpPacketsSent;
++ EVEL_OPTION_INT localJitter;
++ EVEL_OPTION_INT localRtpOctetsDiscarded;
++ EVEL_OPTION_INT localRtpOctetsReceived;
++ EVEL_OPTION_INT localRtpOctetsSent;
++ EVEL_OPTION_INT localRtpPacketsDiscarded;
++ EVEL_OPTION_INT localRtpPacketsReceived;
++ EVEL_OPTION_INT localRtpPacketsSent;
++ EVEL_OPTION_INT mosCqe;
++ EVEL_OPTION_INT packetsLost;
++ EVEL_OPTION_INT packetLossPercent;
++ EVEL_OPTION_INT rFactor;
++ EVEL_OPTION_INT roundTripDelay;
++
++} END_OF_CALL_VOICE_QUALITY_METRICS;
++
++/**************************************************************************//**
++* Voice QUality.
++* JSON equivalent field: voiceQualityFields
++*****************************************************************************/
++
++typedef struct event_voiceQuality {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++
++ char *calleeSideCodec;
++ char *callerSideCodec;
++ char *correlator;
++ char *midCallRtcp;
++ VENDOR_VNFNAME_FIELD vendorVnfNameFields;
++ END_OF_CALL_VOICE_QUALITY_METRICS *endOfCallVqmSummaries;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ EVEL_OPTION_STRING phoneNumber;
++ DLIST additionalInformation;
++
++} EVENT_VOICE_QUALITY;
++/**************************************************************************//**
++ * Voice Quality Additional Info.
++ * JSON equivalent field: additionalInformation
++ *****************************************************************************/
++typedef struct voice_quality_additional_info {
++ char * name;
++ char * value;
++} VOICE_QUALITY_ADDL_INFO;
++
++/**************************************************************************//**
++ * Create a new voice quality event.
++ *
++ * @note The mandatory fields on the Voice Quality must be supplied to this
++ * factory function and are immutable once set. Optional fields have
++ * explicit setter functions, but again values may only be set once
++ * so that the Voice Quality has immutable properties.
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param calleeSideCodec Callee codec for the call.
++ * @param callerSideCodec Caller codec for the call.
++ * @param correlator Constant across all events on this call.
++ * @param midCallRtcp Base64 encoding of the binary RTCP data
++ * (excluding Eth/IP/UDP headers).
++ * @param vendorVnfNameFields Vendor, VNF and VfModule names.
++ * @returns pointer to the newly manufactured ::EVENT_VOICE_QUALITY. If the
++ * event is not used (i.e. posted) it must be released using
++ ::evel_free_voice_quality.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_VOICE_QUALITY * evel_new_voice_quality(const char* ev_name, const char *ev_id,
++ const char * const calleeSideCodec,
++ const char * const callerSideCodec, const char * const correlator,
++ const char * const midCallRtcp, const char * const vendorVnfNameFields);
++
++/**************************************************************************//**
++ * Set the Callee side codec for Call for domain Voice Quality
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param voiceQuality Pointer to the Voice Quality Event.
++ * @param calleeCodecForCall The Callee Side Codec to be set. ASCIIZ
++ * string. The caller does not need to
++ * preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_voice_quality_callee_codec_set(EVENT_VOICE_QUALITY * voiceQuality,
++ const char * const calleeCodecForCall);
++
++/**************************************************************************//**
++ * Set the Caller side codec for Call for domain Voice Quality
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param voiceQuality Pointer to the Voice Quality Event.
++ * @param callerCodecForCall The Caller Side Codec to be set. ASCIIZ
++ * string. The caller does not need to
++ * preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_voice_quality_caller_codec_set(EVENT_VOICE_QUALITY * voiceQuality,
++ const char * const callerCodecForCall);
++
++/**************************************************************************//**
++ * Set the correlator for domain Voice Quality
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param voiceQuality Pointer to the Voice Quality Event.
++ * @param correlator The correlator value to be set. ASCIIZ
++ * string. The caller does not need to
++ * preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_voice_quality_correlator_set(EVENT_VOICE_QUALITY * voiceQuality,
++ const char * const vCorrelator);
++
++/**************************************************************************//**
++ * Set the RTCP Call Data for domain Voice Quality
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param voiceQuality Pointer to the Voice Quality Event.
++ * @param rtcpCallData The RTCP Call Data to be set. ASCIIZ
++ * string. The caller does not need to
++ * preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_voice_quality_rtcp_data_set(EVENT_VOICE_QUALITY * voiceQuality,
++ const char * const rtcpCallData);
++
++/**************************************************************************//**
++ * Set the Vendor VNF Name fields for domain Voice Quality
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param voiceQuality Pointer to the Voice Quality Event.
++ * @param nameFields The Vendor, VNF and VfModule names to be set.
++ * ASCIIZ string. The caller does not need to
++ * preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_voice_quality_name_fields_set(EVENT_VOICE_QUALITY * voiceQuality,
++ const char * const nameFields);
++
++/**************************************************************************//**
++ * Add an End of Call Voice Quality Metrices
++
++ * The adjacencyName and endpointDescription is null delimited ASCII string.
++ * The library takes a copy so the caller does not have to preserve values
++ * after the function returns.
++ *
++ * @param voiceQuality Pointer to the measurement.
++ * @param adjacencyName Adjacency name
++ * @param endpointDescription Enumeration: ‘Caller’, ‘Callee’.
++ * @param endpointJitter Endpoint jitter
++ * @param endpointRtpOctetsDiscarded Endpoint RTP octets discarded.
++ * @param endpointRtpOctetsReceived Endpoint RTP octets received.
++ * @param endpointRtpOctetsSent Endpoint RTP octets sent
++ * @param endpointRtpPacketsDiscarded Endpoint RTP packets discarded.
++ * @param endpointRtpPacketsReceived Endpoint RTP packets received.
++ * @param endpointRtpPacketsSent Endpoint RTP packets sent.
++ * @param localJitter Local jitter.
++ * @param localRtpOctetsDiscarded Local RTP octets discarded.
++ * @param localRtpOctetsReceived Local RTP octets received.
++ * @param localRtpOctetsSent Local RTP octets sent.
++ * @param localRtpPacketsDiscarded Local RTP packets discarded.
++ * @param localRtpPacketsReceived Local RTP packets received.
++ * @param localRtpPacketsSent Local RTP packets sent.
++ * @param mosCqe Decimal range from 1 to 5
++ * (1 decimal place)
++ * @param packetsLost No Packets lost
++ * @param packetLossPercent Calculated percentage packet loss
++ * @param rFactor rFactor from 0 to 100
++ * @param roundTripDelay Round trip delay in milliseconds
++ *****************************************************************************/
++void evel_voice_quality_end_metrics_add(EVENT_VOICE_QUALITY * voiceQuality,
++ const char * adjacencyName, EVEL_SERVICE_ENDPOINT_DESC endpointDescription,
++ int endpointJitter,
++ int endpointRtpOctetsDiscarded,
++ int endpointRtpOctetsReceived,
++ int endpointRtpOctetsSent,
++ int endpointRtpPacketsDiscarded,
++ int endpointRtpPacketsReceived,
++ int endpointRtpPacketsSent,
++ int localJitter,
++ int localRtpOctetsDiscarded,
++ int localRtpOctetsReceived,
++ int localRtpOctetsSent,
++ int localRtpPacketsDiscarded,
++ int localRtpPacketsReceived,
++ int localRtpPacketsSent,
++ int mosCqe,
++ int packetsLost,
++ int packetLossPercent,
++ int rFactor,
++ int roundTripDelay);
++
++/**************************************************************************//**
++ * Free a Voice Quality.
++ *
++ * Free off the Voce Quality supplied. Will free all the contained allocated
++ * memory.
++ *
++ * @note It does not free the Voice Quality itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_voice_quality(EVENT_VOICE_QUALITY * voiceQuality);
++
++/**************************************************************************//**
++ * Add an additional value name/value pair to the Voice Quality.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param fault Pointer to the fault.
++ * @param name ASCIIZ string with the attribute's name. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ * @param value ASCIIZ string with the attribute's value. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_voice_quality_addl_info_add(EVENT_VOICE_QUALITY * voiceQuality, char * name, char * value);
++
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* THRESHOLD CROSSING ALERT */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++typedef enum evel_event_action {
++ EVEL_EVENT_ACTION_CLEAR,
++ EVEL_EVENT_ACTION_CONTINUE,
++ EVEL_EVENT_ACTION_SET,
++ EVEL_MAX_EVENT_ACTION
++}EVEL_EVENT_ACTION;
++
++typedef enum evel_alert_type {
++ EVEL_CARD_ANOMALY,
++ EVEL_ELEMENT_ANOMALY,
++ EVEL_INTERFACE_ANOMALY,
++ EVEL_SERVICE_ANOMALY,
++ EVEL_MAX_ANOMALY
++}EVEL_ALERT_TYPE;
++
++
++typedef struct perf_counter {
++ char * criticality;
++ char * name;
++ char * thresholdCrossed;
++ char * value;
++}PERF_COUNTER;
++
++
++/*****************************************************************************/
++/* Supported Threshold Crossing version. */
++/*****************************************************************************/
++#define EVEL_THRESHOLD_CROSS_MAJOR_VERSION 1
++#define EVEL_THRESHOLD_CROSS_MINOR_VERSION 1
++
++/**************************************************************************//**
++ * Threshold Crossing.
++ * JSON equivalent field: Threshold Cross Fields
++ *****************************************************************************/
++typedef struct event_threshold_cross {
++ /***************************************************************************/
++ /* Header and version */
++ /***************************************************************************/
++ EVENT_HEADER header;
++ int major_version;
++ int minor_version;
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /***************************************************************************/
++ PERF_COUNTER additionalParameters;
++ EVEL_EVENT_ACTION alertAction;
++ char * alertDescription;
++ EVEL_ALERT_TYPE alertType;
++ unsigned long long collectionTimestamp;
++ EVEL_SEVERITIES eventSeverity;
++ unsigned long long eventStartTimestamp;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /***************************************************************************/
++ DLIST additional_info;
++ EVEL_OPTION_STRING alertValue;
++ DLIST alertidList;
++ EVEL_OPTION_STRING dataCollector;
++ EVEL_OPTION_STRING elementType;
++ EVEL_OPTION_STRING interfaceName;
++ EVEL_OPTION_STRING networkService;
++ EVEL_OPTION_STRING possibleRootCause;
++
++} EVENT_THRESHOLD_CROSS;
++
++
++/**************************************************************************//**
++ * Create a new Threshold Crossing Alert event.
++ *
++ * @note The mandatory fields on the TCA must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * TCA has immutable properties.
++ *
++ * @param event_name Unique Event Name
++ * @param event_id A universal identifier of the event for analysis etc
++ * @param char* tcriticality Performance Counter Criticality MAJ MIN,
++ * @param char* tname Performance Counter Threshold name
++ * @param char* tthresholdCrossed Counter Threshold crossed value
++ * @param char* tvalue Counter actual value
++ * @param EVEL_EVENT_ACTION talertAction Alert set continue or clear
++ * @param char* talertDescription
++ * @param EVEL_ALERT_TYPE talertType Kind of anamoly
++ * @param unsigned long long tcollectionTimestamp time at which alert was collected
++ * @param EVEL_SEVERITIES teventSeverity Severity of Alert
++ * @param unsigned long long teventStartTimestamp Time when this alert started
++ *
++ * @returns pointer to the newly manufactured ::EVENT_THRESHOLD_CROSS. If the
++ * event is not used it must be released using
++ * ::evel_free_threshold_cross
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_THRESHOLD_CROSS * evel_new_threshold_cross(
++ const char* ev_name, const char *ev_id,
++ char * tcriticality,
++ char * tname,
++ char * tthresholdCrossed,
++ char * tvalue,
++ EVEL_EVENT_ACTION talertAction,
++ char * talertDescription,
++ EVEL_ALERT_TYPE talertType,
++ unsigned long long tcollectionTimestamp,
++ EVEL_SEVERITIES teventSeverity,
++ unsigned long long teventStartTimestamp);
++
++/**************************************************************************//**
++ * Free a Threshold cross event.
++ *
++ * Free off the Threshold crossing event supplied. Will free all the contained allocated
++ * memory.
++ *
++ * @note It does not free the Threshold Cross itself, since that may be part of a
++ * larger structure.
++ *****************************************************************************/
++void evel_free_threshold_cross(EVENT_THRESHOLD_CROSS * const tcp);
++
++/**************************************************************************//**
++ * Set the Event Type property of the Threshold Cross.
++ *
++ * @note The property is treated as immutable: it is only valid to call
++ * the setter once. However, we don't assert if the caller tries to
++ * overwrite, just ignoring the update instead.
++ *
++ * @param tcp Pointer to the ::EVENT_THRESHOLD_CROSS.
++ * @param type The Event Type to be set. ASCIIZ string. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_threshold_cross_type_set(EVENT_THRESHOLD_CROSS * const tcp, char * type);
++
++/**************************************************************************//**
++ * Add an optional additional alertid value to Alert.
++ *
++ * @param alertid Adds Alert ID
++ *****************************************************************************/
++void evel_threshold_cross_alertid_add(EVENT_THRESHOLD_CROSS * const event,char * alertid);
++
++ /**************************************************************************//**
++ * Set the TCA probable Root cause.
++ *
++ * @param sheader Possible root cause to Threshold
++ *****************************************************************************/
++ void evel_threshold_cross_possible_rootcause_set(EVENT_THRESHOLD_CROSS * const event, char * sheader);
++ /**************************************************************************//**
++ * Set the TCA networking cause.
++ *
++ * @param sheader Possible networking service value to Threshold
++ *****************************************************************************/
++ void evel_threshold_cross_networkservice_set(EVENT_THRESHOLD_CROSS * const event, char * sheader);
++ /**************************************************************************//**
++ * Set the TCA Interface name.
++ *
++ * @param sheader Interface name to threshold
++ *****************************************************************************/
++ void evel_threshold_cross_interfacename_set(EVENT_THRESHOLD_CROSS * const event,char * sheader);
++ /**************************************************************************//**
++ * Set the TCA Data element type.
++ *
++ * @param sheader element type of Threshold
++ *****************************************************************************/
++ void evel_threshold_cross_data_elementtype_set(EVENT_THRESHOLD_CROSS * const event,char * sheader);
++ /**************************************************************************//**
++ * Set the TCA Data collector value.
++ *
++ * @param sheader Data collector value
++ *****************************************************************************/
++ void evel_threshold_cross_data_collector_set(EVENT_THRESHOLD_CROSS * const event,char * sheader);
++ /**************************************************************************//**
++ * Set the TCA alert value.
++ *
++ * @param sheader Possible alert value
++ *****************************************************************************/
++ void evel_threshold_cross_alertvalue_set(EVENT_THRESHOLD_CROSS * const event,char * sheader);
++
++/**************************************************************************//**
++ * Add an additional field name/value pair to the THRESHOLD CROSS event.
++ *
++ * The name and value are null delimited ASCII strings. The library takes
++ * a copy so the caller does not have to preserve values after the function
++ * returns.
++ *
++ * @param state_change Pointer to the ::EVENT_THRESHOLD_CROSS.
++ * @param name ASCIIZ string with the attribute's name. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ * @param value ASCIIZ string with the attribute's value. The caller
++ * does not need to preserve the value once the function
++ * returns.
++ *****************************************************************************/
++void evel_threshold_cross_addl_info_add(EVENT_THRESHOLD_CROSS * const tcp,
++ const char * const name,
++ const char * const value);
++
++/*****************************************************************************/
++/*****************************************************************************/
++/* */
++/* LOGGING */
++/* */
++/*****************************************************************************/
++/*****************************************************************************/
++
++/*****************************************************************************/
++/* Debug macros. */
++/*****************************************************************************/
++#define EVEL_DEBUG(FMT, ...) log_debug(EVEL_LOG_DEBUG, (FMT), ##__VA_ARGS__)
++#define EVEL_INFO(FMT, ...) log_debug(EVEL_LOG_INFO, (FMT), ##__VA_ARGS__)
++#define EVEL_SPAMMY(FMT, ...) log_debug(EVEL_LOG_SPAMMY, (FMT), ##__VA_ARGS__)
++#define EVEL_ERROR(FMT, ...) log_debug(EVEL_LOG_ERROR, "ERROR: " FMT, \
++ ##__VA_ARGS__)
++#define EVEL_ENTER() \
++ { \
++ log_debug(EVEL_LOG_DEBUG, "Enter %s {", __FUNCTION__); \
++ debug_indent += 2; \
++ }
++#define EVEL_EXIT() \
++ { \
++ debug_indent -= 2; \
++ log_debug(EVEL_LOG_DEBUG, "Exit %s }", __FUNCTION__); \
++ }
++
++#define INDENT_SEPARATORS \
++ "| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "
++
++extern EVEL_LOG_LEVELS debug_level;
++extern int debug_indent;
++extern FILE * fout;
++
++#define EVEL_DEBUG_ON() ((debug_level) >= EVEL_LOG_DEBUG)
++
++/**************************************************************************//**
++ * Initialize logging
++ *
++ * @param[in] level The debugging level - one of ::EVEL_LOG_LEVELS.
++ * @param[in] ident The identifier for our logs.
++ *****************************************************************************/
++void log_initialize(EVEL_LOG_LEVELS level, const char * ident);
++
++/**************************************************************************//**
++ * Log debug information
++ *
++ * Logs debugging information in a platform independent manner.
++ *
++ * @param[in] level The debugging level - one of ::EVEL_LOG_LEVELS.
++ * @param[in] format Log formatting string in printf format.
++ * @param[in] ... Variable argument list.
++ *****************************************************************************/
++void log_debug(EVEL_LOG_LEVELS level, char * format, ...);
++
++/***************************************************************************//*
++ * Store the formatted string into the static error string and log the error.
++ *
++ * @param format Error string in standard printf format.
++ * @param ... Variable parameters to be substituted into the format string.
++ *****************************************************************************/
++void log_error_state(char * format, ...);
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif
++
+diff --git a/src/plugins/ves/include/evel_internal.h b/src/plugins/ves/include/evel_internal.h
+new file mode 100644
+index 00000000..46f71af1
+--- /dev/null
++++ b/src/plugins/ves/include/evel_internal.h
+@@ -0,0 +1,858 @@
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++/**************************************************************************//**
++ * @file
++ * EVEL internal definitions.
++ *
++ * These are internal definitions which need to be shared between modules
++ * within the library but are not intended for external consumption.
++ *
++ ****************************************************************************/
++
++#ifndef EVEL_INTERNAL_INCLUDED
++#define EVEL_INTERNAL_INCLUDED
++
++#include "evel.h"
++
++/*****************************************************************************/
++/* Define some type-safe min/max macros. */
++/*****************************************************************************/
++#define max(a,b) \
++ ({ __typeof__ (a) _a = (a); \
++ __typeof__ (b) _b = (b); \
++ _a > _b ? _a : _b; })
++
++#define min(a,b) \
++ ({ __typeof__ (a) _a = (a); \
++ __typeof__ (b) _b = (b); \
++ _a < _b ? _a : _b; })
++
++
++/**************************************************************************//**
++ * Compile-time assertion.
++ *****************************************************************************/
++#define EVEL_CT_ASSERT(X) switch (0) {case 0: case (X):;}
++
++/**************************************************************************//**
++ * The Functional Role of the equipment represented by this VNF.
++ *****************************************************************************/
++extern char * functional_role;
++
++/**************************************************************************//**
++ * The type of equipment represented by this VNF.
++ *****************************************************************************/
++extern EVEL_SOURCE_TYPES event_source_type;
++
++/**************************************************************************//**
++ * A chunk of memory used in the cURL functions.
++ *****************************************************************************/
++typedef struct memory_chunk {
++ char * memory;
++ size_t size;
++} MEMORY_CHUNK;
++
++/**************************************************************************//**
++ * Global commands that may be sent to the Event Handler thread.
++ *****************************************************************************/
++typedef enum {
++ EVT_CMD_TERMINATE,
++ EVT_CMD_MAX_COMMANDS
++} EVT_HANDLER_COMMAND;
++
++/**************************************************************************//**
++ * State of the Event Handler thread.
++ *****************************************************************************/
++typedef enum {
++ EVT_HANDLER_UNINITIALIZED, /** The library cannot handle events. */
++ EVT_HANDLER_INACTIVE, /** The event handler thread not started. */
++ EVT_HANDLER_ACTIVE, /** The event handler thread is started. */
++ EVT_HANDLER_REQUEST_TERMINATE, /** Initial stages of shutdown. */
++ EVT_HANDLER_TERMINATING, /** The ring-buffer is being depleted. */
++ EVT_HANDLER_TERMINATED, /** The library is exited. */
++ EVT_HANDLER_MAX_STATES /** Maximum number of valid states. */
++} EVT_HANDLER_STATE;
++
++/**************************************************************************//**
++ * Internal event.
++ * Pseudo-event used for routing internal commands.
++ *****************************************************************************/
++typedef struct event_internal {
++ EVENT_HEADER header;
++ EVT_HANDLER_COMMAND command;
++} EVENT_INTERNAL;
++
++/**************************************************************************//**
++ * Suppressed NV pairs list entry.
++ * JSON equivalent field: suppressedNvPairs
++ *****************************************************************************/
++typedef struct evel_suppressed_nv_pairs {
++
++ /***************************************************************************/
++ /* Mandatory fields */
++ /* JSON equivalent field: nvPairFieldName */
++ /***************************************************************************/
++ char * nv_pair_field_name;
++
++ /***************************************************************************/
++ /* Optional fields */
++ /* JSON equivalent field: suppressedNvPairNames */
++ /* Type of each list entry: char * */
++ /***************************************************************************/
++ DLIST suppressed_nv_pair_names;
++
++ /***************************************************************************/
++ /* Hash table containing suppressed_nv_pair_names as keys. */
++ /***************************************************************************/
++ struct hsearch_data * hash_nv_pair_names;
++
++} EVEL_SUPPRESSED_NV_PAIRS;
++
++/**************************************************************************//**
++ * Event Throttling Specification for a domain which is in a throttled state.
++ * JSON equivalent object: eventThrottlingState
++ *****************************************************************************/
++typedef struct evel_throttle_spec {
++
++ /***************************************************************************/
++ /* List of field names to be suppressed. */
++ /* JSON equivalent field: suppressedFieldNames */
++ /* Type of each list entry: char * */
++ /***************************************************************************/
++ DLIST suppressed_field_names;
++
++ /***************************************************************************/
++ /* List of name-value pairs to be suppressed. */
++ /* JSON equivalent field: suppressedNvPairsList */
++ /* Type of each list entry: EVEL_SUPPRESSED_NV_PAIRS * */
++ /***************************************************************************/
++ DLIST suppressed_nv_pairs_list;
++
++ /***************************************************************************/
++ /* Hash table containing suppressed_nv_pair_names as keys. */
++ /***************************************************************************/
++ struct hsearch_data * hash_field_names;
++
++ /***************************************************************************/
++ /* Hash table containing nv_pair_field_name as keys, and */
++ /* suppressed_nv_pairs_list as values. */
++ /***************************************************************************/
++ struct hsearch_data * hash_nv_pairs_list;
++
++} EVEL_THROTTLE_SPEC;
++
++/*****************************************************************************/
++/* RFC2822 format string for strftime. */
++/*****************************************************************************/
++#define EVEL_RFC2822_STRFTIME_FORMAT "%a, %d %b %Y %T %z"
++
++/*****************************************************************************/
++/* EVEL_JSON_BUFFER depth at which we throttle fields. */
++/*****************************************************************************/
++#define EVEL_THROTTLE_FIELD_DEPTH 3
++
++/**************************************************************************//**
++ * Initialize the event handler.
++ *
++ * Primarily responsible for getting cURL ready for use.
++ *
++ * @param[in] event_api_url
++ * The URL where the Vendor Event Listener API is expected
++ * to be.
++ * @param[in] throt_api_url
++ * The URL where the Throttling API is expected to be.
++ * @param[in] username The username for the Basic Authentication of requests.
++ * @param[in] password The password for the Basic Authentication of requests.
++ * @param verbosity 0 for normal operation, positive values for chattier
++ * logs.
++ *****************************************************************************/
++EVEL_ERR_CODES event_handler_initialize(const char * const event_api_url,
++ const char * const throt_api_url,
++ const char * const username,
++ const char * const password,
++ int verbosity);
++
++/**************************************************************************//**
++ * Terminate the event handler.
++ *
++ * Shuts down the event handler thread in as clean a way as possible. Sets the
++ * global exit flag and then signals the thread to interrupt it since it's
++ * most likely waiting on the ring-buffer.
++ *
++ * Having achieved an orderly shutdown of the event handler thread, clean up
++ * the cURL library's resources cleanly.
++ *
++ * @return Status code.
++ * @retval ::EVEL_SUCCESS if everything OK.
++ * @retval One of ::EVEL_ERR_CODES if there was a problem.
++ *****************************************************************************/
++EVEL_ERR_CODES event_handler_terminate();
++
++/**************************************************************************//**
++ * Run the event handler.
++ *
++ * Spawns the thread responsible for handling events and sending them to the
++ * API.
++ *
++ * @return Status code.
++ * @retval ::EVEL_SUCCESS if everything OK.
++ * @retval One of ::EVEL_ERR_CODES if there was a problem.
++ *****************************************************************************/
++EVEL_ERR_CODES event_handler_run();
++
++/**************************************************************************//**
++ * Create a new internal event.
++ *
++ * @note The mandatory fields on the Fault must be supplied to this factory
++ * function and are immutable once set. Optional fields have explicit
++ * setter functions, but again values may only be set once so that the
++ * Fault has immutable properties.
++ * @param command The condition indicated by the event.
++ * @returns pointer to the newly manufactured ::EVENT_INTERNAL. If the event
++ * is not used (i.e. posted) it must be released using
++ * ::evel_free_event.
++ * @retval NULL Failed to create the event.
++ *****************************************************************************/
++EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command,const char* ev_name, const char *ev_id);
++
++/**************************************************************************//**
++ * Free an internal event.
++ *
++ * Free off the event supplied. Will free all the contained* allocated memory.
++ *
++ * @note It does not free the internal event itself, since that may be part of
++ * a larger structure.
++ *****************************************************************************/
++void evel_free_internal_event(EVENT_INTERNAL * event);
++
++/*****************************************************************************/
++/* Structure to hold JSON buffer and associated tracking, as it is written. */
++/*****************************************************************************/
++typedef struct evel_json_buffer
++{
++ char * json;
++ int offset;
++ int max_size;
++
++ /***************************************************************************/
++ /* The working throttle specification, which can be NULL. */
++ /***************************************************************************/
++ EVEL_THROTTLE_SPEC * throttle_spec;
++
++ /***************************************************************************/
++ /* Current object/list nesting depth. */
++ /***************************************************************************/
++ int depth;
++
++ /***************************************************************************/
++ /* The checkpoint. */
++ /***************************************************************************/
++ int checkpoint;
++
++} EVEL_JSON_BUFFER;
++
++/**************************************************************************//**
++ * Encode the event as a JSON event object according to AT&T's schema.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_header(EVEL_JSON_BUFFER * jbuf,
++ EVENT_HEADER * event);
++
++/**************************************************************************//**
++ * Encode the fault in JSON according to AT&T's schema for the fault type.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_fault(EVEL_JSON_BUFFER * jbuf,
++ EVENT_FAULT * event);
++
++/**************************************************************************//**
++ * Encode the measurement as a JSON measurement.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_measurement(EVEL_JSON_BUFFER * jbuf,
++ EVENT_MEASUREMENT * event);
++
++/**************************************************************************//**
++ * Encode the Mobile Flow in JSON according to AT&T's schema for the event
++ * type.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_mobile_flow(EVEL_JSON_BUFFER * jbuf,
++ EVENT_MOBILE_FLOW * event);
++
++/**************************************************************************//**
++ * Encode the report as a JSON report.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_report(EVEL_JSON_BUFFER * jbuf,
++ EVENT_REPORT * event);
++
++/**************************************************************************//**
++ * Encode the Heartbeat fields in JSON according to AT&T's schema for the
++ * event type.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_hrtbt_field(EVEL_JSON_BUFFER * const jbuf,
++ EVENT_HEARTBEAT_FIELD * const event);
++
++/**************************************************************************//**
++ * Encode the Signaling in JSON according to AT&T's schema for the event type.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_signaling(EVEL_JSON_BUFFER * const jbuf,
++ EVENT_SIGNALING * const event);
++
++/**************************************************************************//**
++ * Encode the state change as a JSON state change.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param state_change Pointer to the ::EVENT_STATE_CHANGE to encode.
++ *****************************************************************************/
++void evel_json_encode_state_change(EVEL_JSON_BUFFER * jbuf,
++ EVENT_STATE_CHANGE * state_change);
++
++/**************************************************************************//**
++ * Encode the Syslog in JSON according to AT&T's schema for the event type.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_syslog(EVEL_JSON_BUFFER * jbuf,
++ EVENT_SYSLOG * event);
++
++/**************************************************************************//**
++ * Encode the Other in JSON according to AT&T's schema for the event type.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to encode into.
++ * @param event Pointer to the ::EVENT_HEADER to encode.
++ *****************************************************************************/
++void evel_json_encode_other(EVEL_JSON_BUFFER * jbuf,
++ EVENT_OTHER * event);
++
++/**************************************************************************//**
++ * Set the next event_sequence to use.
++ *
++ * @param sequence The next sequence number to use.
++ *****************************************************************************/
++void evel_set_next_event_sequence(const int sequence);
++
++/**************************************************************************//**
++ * Handle a JSON response from the listener, contained in a ::MEMORY_CHUNK.
++ *
++ * Tokenize the response, and decode any tokens found.
++ *
++ * @param chunk The memory chunk containing the response.
++ * @param post The memory chunk in which to place any resulting POST.
++ *****************************************************************************/
++void evel_handle_event_response(const MEMORY_CHUNK * const chunk,
++ MEMORY_CHUNK * const post);
++
++/**************************************************************************//**
++ * Initialize a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to the ::EVEL_JSON_BUFFER to initialise.
++ * @param json Pointer to the underlying working buffer to use.
++ * @param max_size Size of storage available in the JSON buffer.
++ * @param throttle_spec Pointer to throttle specification. Can be NULL.
++ *****************************************************************************/
++void evel_json_buffer_init(EVEL_JSON_BUFFER * jbuf,
++ char * const json,
++ const int max_size,
++ EVEL_THROTTLE_SPEC * throttle_spec);
++
++/**************************************************************************//**
++ * Encode a string key and string value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param option Pointer to holder of the corresponding value to encode.
++ * @return true if the key, value was added, false if it was suppressed.
++ *****************************************************************************/
++bool evel_enc_kv_opt_string(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const EVEL_OPTION_STRING * const option);
++
++/**************************************************************************//**
++ * Encode a string key and string value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param value Pointer to the corresponding value to encode.
++ *****************************************************************************/
++void evel_enc_kv_string(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const char * const value);
++
++/**************************************************************************//**
++ * Encode a string key and integer value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param option Pointer to holder of the corresponding value to encode.
++ * @return true if the key, value was added, false if it was suppressed.
++ *****************************************************************************/
++bool evel_enc_kv_opt_int(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const EVEL_OPTION_INT * const option);
++
++/**************************************************************************//**
++ * Encode a string key and integer value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param value The corresponding value to encode.
++ *****************************************************************************/
++void evel_enc_kv_int(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const int value);
++
++/**************************************************************************//**
++ * Encode a string key and double value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param option Pointer to holder of the corresponding value to encode.
++ * @return true if the key, value was added, false if it was suppressed.
++ *****************************************************************************/
++bool evel_enc_kv_opt_double(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const EVEL_OPTION_DOUBLE * const option);
++
++/**************************************************************************//**
++ * Encode a string key and double value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param value The corresponding value to encode.
++ *****************************************************************************/
++void evel_enc_kv_double(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const double value);
++
++/**************************************************************************//**
++ * Encode a string key and unsigned long long value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param option Pointer to holder of the corresponding value to encode.
++ * @return true if the key, value was added, false if it was suppressed.
++ *****************************************************************************/
++bool evel_enc_kv_opt_ull(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const EVEL_OPTION_ULL * const option);
++
++/**************************************************************************//**
++ * Encode a string key and unsigned long long value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param value The corresponding value to encode.
++ *****************************************************************************/
++void evel_enc_kv_ull(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const unsigned long long value);
++
++/**************************************************************************//**
++ * Encode a string key and time value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param option Pointer to holder of the corresponding value to encode.
++ * @return true if the key, value was added, false if it was suppressed.
++ *****************************************************************************/
++bool evel_enc_kv_opt_time(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const EVEL_OPTION_TIME * const option);
++
++/**************************************************************************//**
++ * Encode a string key and time value to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param time Pointer to the time to encode.
++ *****************************************************************************/
++void evel_enc_kv_time(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const time_t * time);
++
++/**************************************************************************//**
++ * Encode a key and version.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @param major_version The major version to encode.
++ * @param minor_version The minor version to encode.
++ *****************************************************************************/
++void evel_enc_version(EVEL_JSON_BUFFER * jbuf,
++ const char * const key,
++ const int major_version,
++ const int minor_version);
++
++/**************************************************************************//**
++ * Add the key and opening bracket of an optional named list to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @return true if the list was opened, false if it was suppressed.
++ *****************************************************************************/
++bool evel_json_open_opt_named_list(EVEL_JSON_BUFFER * jbuf,
++ const char * const key);
++
++/**************************************************************************//**
++ * Add the key and opening bracket of a named list to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ *****************************************************************************/
++void evel_json_open_named_list(EVEL_JSON_BUFFER * jbuf,
++ const char * const key);
++
++/**************************************************************************//**
++ * Add the closing bracket of a list to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ *****************************************************************************/
++void evel_json_close_list(EVEL_JSON_BUFFER * jbuf);
++
++/**************************************************************************//**
++ * Encode a list item with format and param list to a ::EVEL_JSON_BUFFER.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param format Format string in standard printf format.
++ * @param ... Variable parameters for format string.
++ *****************************************************************************/
++void evel_enc_list_item(EVEL_JSON_BUFFER * jbuf,
++ const char * const format,
++ ...);
++
++/**************************************************************************//**
++ * Add the opening bracket of an optional named object to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ *****************************************************************************/
++bool evel_json_open_opt_named_object(EVEL_JSON_BUFFER * jbuf,
++ const char * const key);
++
++/**************************************************************************//**
++ * Add the opening bracket of an object to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ * @param key Pointer to the key to encode.
++ * @return true if the object was opened, false if it was suppressed.
++ *****************************************************************************/
++void evel_json_open_named_object(EVEL_JSON_BUFFER * jbuf,
++ const char * const key);
++
++/**************************************************************************//**
++ * Add the opening bracket of an object to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ *****************************************************************************/
++void evel_json_open_object(EVEL_JSON_BUFFER * jbuf);
++
++/**************************************************************************//**
++ * Add the closing bracket of an object to a JSON buffer.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ *****************************************************************************/
++void evel_json_close_object(EVEL_JSON_BUFFER * jbuf);
++
++/**************************************************************************//**
++ * Add a checkpoint - a stake in the ground to which we can rewind.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ *****************************************************************************/
++void evel_json_checkpoint(EVEL_JSON_BUFFER * jbuf);
++
++/**************************************************************************//**
++ * Rewind to the latest checkoint.
++ *
++ * @param jbuf Pointer to working ::EVEL_JSON_BUFFER.
++ *****************************************************************************/
++void evel_json_rewind(EVEL_JSON_BUFFER * jbuf);
++
++/**************************************************************************//**
++ * Free the underlying resources of an ::EVEL_OPTION_STRING.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_STRING.
++ *****************************************************************************/
++void evel_free_option_string(EVEL_OPTION_STRING * const option);
++
++/**************************************************************************//**
++ * Initialize an ::EVEL_OPTION_STRING to a not-set state.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_STRING.
++ *****************************************************************************/
++void evel_init_option_string(EVEL_OPTION_STRING * const option);
++
++/**************************************************************************//**
++ * Set the value of an ::EVEL_OPTION_STRING.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_STRING.
++ * @param value The value to set.
++ * @param description Description to be used in logging.
++ *****************************************************************************/
++void evel_set_option_string(EVEL_OPTION_STRING * const option,
++ const char * const value,
++ const char * const description);
++
++/**************************************************************************//**
++ * Force the value of an ::EVEL_OPTION_STRING.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_STRING.
++ * @param value The value to set.
++ *****************************************************************************/
++void evel_force_option_string(EVEL_OPTION_STRING * const option,
++ const char * const value);
++
++/**************************************************************************//**
++ * Initialize an ::EVEL_OPTION_INT to a not-set state.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INT.
++ *****************************************************************************/
++void evel_init_option_int(EVEL_OPTION_INT * const option);
++
++/**************************************************************************//**
++ * Force the value of an ::EVEL_OPTION_INT.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INT.
++ * @param value The value to set.
++ *****************************************************************************/
++void evel_force_option_int(EVEL_OPTION_INT * const option,
++ const int value);
++
++/**************************************************************************//**
++ * Set the value of an ::EVEL_OPTION_INT.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INT.
++ * @param value The value to set.
++ * @param description Description to be used in logging.
++ *****************************************************************************/
++void evel_set_option_int(EVEL_OPTION_INT * const option,
++ const int value,
++ const char * const description);
++
++/**************************************************************************//**
++ * Initialize an ::EVEL_OPTION_DOUBLE to a not-set state.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_DOUBLE.
++ *****************************************************************************/
++void evel_init_option_double(EVEL_OPTION_DOUBLE * const option);
++
++/**************************************************************************//**
++ * Force the value of an ::EVEL_OPTION_DOUBLE.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_DOUBLE.
++ * @param value The value to set.
++ *****************************************************************************/
++void evel_force_option_double(EVEL_OPTION_DOUBLE * const option,
++ const double value);
++
++/**************************************************************************//**
++ * Set the value of an ::EVEL_OPTION_DOUBLE.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_DOUBLE.
++ * @param value The value to set.
++ * @param description Description to be used in logging.
++ *****************************************************************************/
++void evel_set_option_double(EVEL_OPTION_DOUBLE * const option,
++ const double value,
++ const char * const description);
++
++/**************************************************************************//**
++ * Initialize an ::EVEL_OPTION_ULL to a not-set state.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_ULL.
++ *****************************************************************************/
++void evel_init_option_ull(EVEL_OPTION_ULL * const option);
++
++/**************************************************************************//**
++ * Force the value of an ::EVEL_OPTION_ULL.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_ULL.
++ * @param value The value to set.
++ *****************************************************************************/
++void evel_force_option_ull(EVEL_OPTION_ULL * const option,
++ const unsigned long long value);
++
++/**************************************************************************//**
++ * Set the value of an ::EVEL_OPTION_ULL.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_ULL.
++ * @param value The value to set.
++ * @param description Description to be used in logging.
++ *****************************************************************************/
++void evel_set_option_ull(EVEL_OPTION_ULL * const option,
++ const unsigned long long value,
++ const char * const description);
++
++/**************************************************************************//**
++ * Initialize an ::EVEL_OPTION_TIME to a not-set state.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_TIME.
++ *****************************************************************************/
++void evel_init_option_time(EVEL_OPTION_TIME * const option);
++
++/**************************************************************************//**
++ * Force the value of an ::EVEL_OPTION_TIME.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_TIME.
++ * @param value The value to set.
++ *****************************************************************************/
++void evel_force_option_time(EVEL_OPTION_TIME * const option,
++ const time_t value);
++
++/**************************************************************************//**
++ * Set the value of an ::EVEL_OPTION_TIME.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_TIME.
++ * @param value The value to set.
++ * @param description Description to be used in logging.
++ *****************************************************************************/
++void evel_set_option_time(EVEL_OPTION_TIME * const option,
++ const time_t value,
++ const char * const description);
++
++/**************************************************************************//**
++ * Map an ::EVEL_COUNTER_CRITICALITIES enum value to the equivalent string.
++ *
++ * @param criticality The criticality to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_criticality(const EVEL_COUNTER_CRITICALITIES criticality);
++
++/**************************************************************************//**
++ * Map an ::EVEL_SEVERITIES enum value to the equivalent string.
++ *
++ * @param severity The severity to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_severity(const EVEL_SEVERITIES severity);
++
++/**************************************************************************//**
++ * Map an ::EVEL_ALERT_ACTIONS enum value to the equivalent string.
++ *
++ * @param alert_action The alert_action to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_alert_action(const EVEL_ALERT_ACTIONS alert_action);
++
++/**************************************************************************//**
++ * Map an ::EVEL_ALERT_TYPES enum value to the equivalent string.
++ *
++ * @param alert_type The alert_type to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_alert_type(const EVEL_ALERT_TYPES alert_type);
++
++/**************************************************************************//**
++ * Map an ::EVEL_EVENT_DOMAINS enum value to the equivalent string.
++ *
++ * @param domain The domain to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_event_domain(const EVEL_EVENT_DOMAINS domain);
++
++/**************************************************************************//**
++ * Map an ::EVEL_EVENT_PRIORITIES enum value to the equivalent string.
++ *
++ * @param priority The priority to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_event_priority(const EVEL_EVENT_PRIORITIES priority);
++
++/**************************************************************************//**
++ * Map an ::EVEL_SOURCE_TYPES enum value to the equivalent string.
++ *
++ * @param source_type The source type to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_source_type(const EVEL_SOURCE_TYPES source_type);
++
++/**************************************************************************//**
++ * Map an ::EVEL_VF_STATUSES enum value to the equivalent string.
++ *
++ * @param vf_status The vf_status to convert.
++ * @returns The equivalent string.
++ *****************************************************************************/
++char * evel_vf_status(const EVEL_VF_STATUSES vf_status);
++
++/**************************************************************************//**
++ * Convert a ::EVEL_ENTITY_STATE to it's string form for JSON encoding.
++ *
++ * @param state The entity state to encode.
++ *
++ * @returns the corresponding string
++ *****************************************************************************/
++char * evel_entity_state(const EVEL_ENTITY_STATE state);
++
++/**************************************************************************//**
++ * Convert a ::EVEL_SERVICE_ENDPOINT_DESC to string form for JSON encoding.
++ *
++ * @param endpoint_desc endpoint description to encode.
++ *
++ * @returns the corresponding string
++ *****************************************************************************/
++char * evel_service_endpoint_desc(const EVEL_ENTITY_STATE endpoint_desc);
++
++
++/**************************************************************************//**
++ * Initialize an ::EVEL_OPTION_INTHEADER_FIELDS to a not-set state.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INTHEADER_FIELDS.
++ *****************************************************************************/
++void evel_init_option_intheader(EVEL_OPTION_INTHEADER_FIELDS * const option);
++/**************************************************************************//**
++ * Force the value of an ::EVEL_OPTION_INTHEADER_FIELDS.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INTHEADER_FIELDS.
++ * @param value The value to set.
++ *****************************************************************************/
++void evel_force_option_intheader(EVEL_OPTION_INTHEADER_FIELDS * const option,
++ const void* value);
++/**************************************************************************//**
++ * Set the value of an ::EVEL_OPTION_INTHEADER_FIELDS.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INTHEADER_FIELDS.
++ * @param value The value to set.
++ * @param description Description to be used in logging.
++ *****************************************************************************/
++void evel_set_option_intheader(EVEL_OPTION_INTHEADER_FIELDS * const option,
++ const void * value,
++ const char * const description);
++/**************************************************************************//**
++ * Free the underlying resources of an ::EVEL_OPTION_INTHEADER_FIELDS.
++ *
++ * @param option Pointer to the ::EVEL_OPTION_INTHEADER_FIELDS.
++ *****************************************************************************/
++void evel_free_option_intheader(EVEL_OPTION_INTHEADER_FIELDS * const option);
++
++#endif
+diff --git a/src/plugins/ves/include/evel_throttle.h b/src/plugins/ves/include/evel_throttle.h
+new file mode 100644
+index 00000000..c97b3c37
+--- /dev/null
++++ b/src/plugins/ves/include/evel_throttle.h
+@@ -0,0 +1,214 @@
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++/**************************************************************************//**
++ * @file
++ * EVEL throttle definitions.
++ *
++ * These are internal definitions related to throttling specicications, which
++ * are required within the library but are not intended for external
++ * consumption.
++ *
++ ****************************************************************************/
++
++#ifndef EVEL_THROTTLE_INCLUDED
++#define EVEL_THROTTLE_INCLUDED
++
++#include "evel_internal.h"
++#include "jsmn.h"
++
++/*****************************************************************************/
++/* Maximum depth of JSON response that we can handle. */
++/*****************************************************************************/
++#define EVEL_JSON_STACK_DEPTH 10
++
++/**************************************************************************//**
++ * Maximum number of tokens that we allow for in a JSON response.
++ *****************************************************************************/
++#define EVEL_MAX_RESPONSE_TOKENS 1024
++
++/**************************************************************************//**
++ * The nature of the next token that we are iterating through. Within an
++ * object, we alternate between collecting keys and values. Within an array,
++ * we only collect items.
++ *****************************************************************************/
++typedef enum {
++ EVEL_JSON_KEY,
++ EVEL_JSON_VALUE,
++ EVEL_JSON_ITEM
++} EVEL_JSON_STATE;
++
++/**************************************************************************//**
++ * States which we move through during JSON processing, tracking our way
++ * through the supported JSON structure.
++ *****************************************************************************/
++typedef enum
++{
++ /***************************************************************************/
++ /* Initial state. */
++ /***************************************************************************/
++ EVEL_JCS_START,
++
++ /***************************************************************************/
++ /* {"commandList": [ */
++ /***************************************************************************/
++ EVEL_JCS_COMMAND_LIST,
++
++ /***************************************************************************/
++ /* {"commandList": [{ */
++ /***************************************************************************/
++ EVEL_JCS_COMMAND_LIST_ENTRY,
++
++ /***************************************************************************/
++ /* {"commandList": [{"command": { */
++ /***************************************************************************/
++ EVEL_JCS_COMMAND,
++
++ /***************************************************************************/
++ /* ... "eventDomainThrottleSpecification": { */
++ /***************************************************************************/
++ EVEL_JCS_SPEC,
++
++ /***************************************************************************/
++ /* ... "suppressedFieldNames": [ */
++ /***************************************************************************/
++ EVEL_JCS_FIELD_NAMES,
++
++ /***************************************************************************/
++ /* ... "suppressedNvPairsList": [ */
++ /***************************************************************************/
++ EVEL_JCS_PAIRS_LIST,
++
++ /***************************************************************************/
++ /* ... "suppressedNvPairsList": [{ */
++ /***************************************************************************/
++ EVEL_JCS_PAIRS_LIST_ENTRY,
++
++ /***************************************************************************/
++ /* ... "suppressedNvPairNames": [ */
++ /***************************************************************************/
++ EVEL_JCS_NV_PAIR_NAMES,
++
++ EVEL_JCS_MAX
++} EVEL_JSON_COMMAND_STATE;
++
++/**************************************************************************//**
++ * An entry in the JSON stack.
++ *****************************************************************************/
++typedef struct evel_json_stack_entry {
++
++ /***************************************************************************/
++ /* The number of elements required at this level. */
++ /***************************************************************************/
++ int num_required;
++
++ /***************************************************************************/
++ /* The number of elements collected at this level. */
++ /***************************************************************************/
++ int json_count;
++
++ /***************************************************************************/
++ /* The collection state at this level in the JSON stack. */
++ /***************************************************************************/
++ EVEL_JSON_STATE json_state;
++
++ /***************************************************************************/
++ /* The key being collected (if json_state is EVEL_JSON_VALUE), or NULL. */
++ /***************************************************************************/
++ char * json_key;
++
++} EVEL_JSON_STACK_ENTRY;
++
++/**************************************************************************//**
++ * The JSON stack.
++ *****************************************************************************/
++typedef struct evel_json_stack {
++
++ /***************************************************************************/
++ /* The current position of the stack - starting at zero. */
++ /***************************************************************************/
++ int level;
++
++ /***************************************************************************/
++ /* The stack itself. */
++ /***************************************************************************/
++ EVEL_JSON_STACK_ENTRY entry[EVEL_JSON_STACK_DEPTH];
++
++ /***************************************************************************/
++ /* The underlying memory chunk. */
++ /***************************************************************************/
++ const MEMORY_CHUNK * chunk;
++
++} EVEL_JSON_STACK;
++
++/**************************************************************************//**
++ * Initialize event throttling to the default state.
++ *
++ * Called from ::evel_initialize.
++ *****************************************************************************/
++void evel_throttle_initialize();
++
++/**************************************************************************//**
++ * Clean up event throttling.
++ *
++ * Called from ::evel_terminate.
++ *****************************************************************************/
++void evel_throttle_terminate();
++
++/**************************************************************************//**
++ * Handle a JSON response from the listener, as a list of tokens from JSMN.
++ *
++ * @param chunk Memory chunk containing the JSON buffer.
++ * @param json_tokens Array of tokens to handle.
++ * @param num_tokens The number of tokens to handle.
++ * @param post The memory chunk in which to place any resulting POST.
++ * @return true if the command was handled, false otherwise.
++ *****************************************************************************/
++bool evel_handle_command_list(const MEMORY_CHUNK * const chunk,
++ const jsmntok_t * const json_tokens,
++ const int num_tokens,
++ MEMORY_CHUNK * const post);
++
++/**************************************************************************//**
++ * Return the ::EVEL_THROTTLE_SPEC for a given domain.
++ *
++ * @param domain The domain for which to return state.
++ *****************************************************************************/
++EVEL_THROTTLE_SPEC * evel_get_throttle_spec(EVEL_EVENT_DOMAINS domain);
++
++/**************************************************************************//**
++ * Determine whether a field_name should be suppressed.
++ *
++ * @param throttle_spec Throttle specification for the domain being encoded.
++ * @param field_name The field name to encoded or suppress.
++ * @return true if the field_name should be suppressed, false otherwise.
++ *****************************************************************************/
++bool evel_throttle_suppress_field(EVEL_THROTTLE_SPEC * throttle_spec,
++ const char * const field_name);
++
++/**************************************************************************//**
++ * Determine whether a name-value pair should be allowed (not suppressed).
++ *
++ * @param throttle_spec Throttle specification for the domain being encoded.
++ * @param field_name The field name holding the name-value pairs.
++ * @param name The name of the name-value pair to encoded or suppress.
++ * @return true if the name-value pair should be suppressed, false otherwise.
++ *****************************************************************************/
++bool evel_throttle_suppress_nv_pair(EVEL_THROTTLE_SPEC * throttle_spec,
++ const char * const field_name,
++ const char * const name);
++
++#endif
+diff --git a/src/plugins/ves/include/hashtable.h b/src/plugins/ves/include/hashtable.h
+new file mode 100644
+index 00000000..8be17dc1
+--- /dev/null
++++ b/src/plugins/ves/include/hashtable.h
+@@ -0,0 +1,97 @@
++#ifndef HASHTABLE_INCLUDED
++#define HASHTABLE_INCLUDED
++
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++
++/**************************************************************************//**
++ * @file
++ * A simple hashtable.
++ *
++ * @note No thread protection so you will need to use appropriate
++ * synchronization if use spans multiple threads.
++*****************************************************************************/
++
++typedef struct entry_s {
++ char *key;
++ void *value;
++ struct entry_s *next;
++} ENTRY_T;
++
++/**************************************************************************//**
++ * Hashtable structure
++ *****************************************************************************/
++
++typedef struct hashtable_s {
++ size_t size;
++ struct entry_s **table;
++} HASHTABLE_T;
++
++/**************************************************************************//**
++ * Hashtable initialization.
++ *
++ * Initialize the list supplied to be empty.
++ *
++ * @param size Size of hashtable
++
++ * @returns Hashtable pointer
++******************************************************************************/
++/* Create a new hashtable. */
++HASHTABLE_T *ht_create( size_t size );
++
++/**************************************************************************//**
++ * Hash a string for a particular hash table.
++ *
++ * Initialize the list supplied to be empty.
++ *
++ * @param hashtable Pointer to the hashtable
++ * @param key String
++
++ * @returns hashvalue
++******************************************************************************/
++size_t ht_hash( HASHTABLE_T *hashtable, char *key );
++
++/**************************************************************************//**
++ * Create a key-value pair.
++ *
++ * @param key key string
++ * @param value value string
++ *
++ * @returns hashtable entry
++******************************************************************************/
++ENTRY_T *ht_newpair( char *key, void *value );
++
++/**************************************************************************//**
++ * Insert a key-value pair into a hash table.
++ *
++ * @param key key string
++ * @param value value string
++ *
++ * @returns Nothing
++******************************************************************************/
++void ht_set( HASHTABLE_T *hashtable, char *key, void *value );
++
++/**************************************************************************//**
++ * Retrieve a key-value pair from a hash table.
++ *
++ * @param key key string
++ *
++ * @returns value string
++******************************************************************************/
++void *ht_get( HASHTABLE_T *hashtable, char *key );
++
++#endif
+diff --git a/src/plugins/ves/include/jsmn.h b/src/plugins/ves/include/jsmn.h
+new file mode 100644
+index 00000000..4ae6d9b4
+--- /dev/null
++++ b/src/plugins/ves/include/jsmn.h
+@@ -0,0 +1,93 @@
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++
++#ifndef __JSMN_H_
++#define __JSMN_H_
++
++#include <stddef.h>
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++/**
++ * JSON type identifier. Basic types are:
++ * o Object
++ * o Array
++ * o String
++ * o Other primitive: number, boolean (true/false) or null
++ */
++typedef enum {
++ JSMN_UNDEFINED = 0,
++ JSMN_OBJECT = 1,
++ JSMN_ARRAY = 2,
++ JSMN_STRING = 3,
++ JSMN_PRIMITIVE = 4
++} jsmntype_t;
++
++enum jsmnerr {
++ /* Not enough tokens were provided */
++ JSMN_ERROR_NOMEM = -1,
++ /* Invalid character inside JSON string */
++ JSMN_ERROR_INVAL = -2,
++ /* The string is not a full JSON packet, more bytes expected */
++ JSMN_ERROR_PART = -3
++};
++
++/**
++ * JSON token description.
++ * @param type type (object, array, string etc.)
++ * @param start start position in JSON data string
++ * @param end end position in JSON data string
++ */
++typedef struct {
++ jsmntype_t type;
++ int start;
++ int end;
++ int size;
++#ifdef JSMN_PARENT_LINKS
++ int parent;
++#endif
++} jsmntok_t;
++
++/**
++ * JSON parser. Contains an array of token blocks available. Also stores
++ * the string being parsed now and current position in that string
++ */
++typedef struct {
++ unsigned int pos; /* offset in the JSON string */
++ unsigned int toknext; /* next token to allocate */
++ int toksuper; /* superior token node, e.g parent object or array */
++} jsmn_parser;
++
++/**
++ * Create JSON parser over an array of tokens
++ */
++void jsmn_init(jsmn_parser *parser);
++
++/**
++ * Run JSON parser. It parses a JSON data string into and array of tokens, each describing
++ * a single JSON object.
++ */
++int jsmn_parse(jsmn_parser *parser, const char *js, size_t len,
++ jsmntok_t *tokens, unsigned int num_tokens);
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif /* __JSMN_H_ */
+diff --git a/src/plugins/ves/include/metadata.h b/src/plugins/ves/include/metadata.h
+new file mode 100644
+index 00000000..1ee44092
+--- /dev/null
++++ b/src/plugins/ves/include/metadata.h
+@@ -0,0 +1,58 @@
++#ifndef METADATA_INCLUDED
++#define METADATA_INCLUDED
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++
++/**************************************************************************//**
++ * @file
++ * Wrap the OpenStack metadata service.
++ *
++ ****************************************************************************/
++
++#include "evel.h"
++
++/**************************************************************************//**
++ * Download metadata from the OpenStack metadata service.
++ *
++ * @param verbosity Controls whether to generate debug to stdout. Zero:
++ * none. Non-zero: generate debug.
++ * @returns Status code
++ * @retval EVEL_SUCCESS On success
++ * @retval ::EVEL_ERR_CODES On failure.
++ *****************************************************************************/
++EVEL_ERR_CODES openstack_metadata(int verbosity);
++
++/**************************************************************************//**
++ * Initialize default values for vm_name and vm_uuid - for testing purposes.
++ *****************************************************************************/
++void openstack_metadata_initialize();
++
++/**************************************************************************//**
++ * Get the VM name provided by the metadata service.
++ *
++ * @returns VM name
++ *****************************************************************************/
++const char *openstack_vm_name();
++
++/**************************************************************************//**
++ * Get the VM UUID provided by the metadata service.
++ *
++ * @returns VM UUID
++ *****************************************************************************/
++const char *openstack_vm_uuid();
++
++#endif
+diff --git a/src/plugins/ves/include/ring_buffer.h b/src/plugins/ves/include/ring_buffer.h
+new file mode 100644
+index 00000000..1236b78b
+--- /dev/null
++++ b/src/plugins/ves/include/ring_buffer.h
+@@ -0,0 +1,96 @@
++/*************************************************************************//**
++ *
++ * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ****************************************************************************/
++
++#ifndef RING_BUFFER_INCLUDED
++#define RING_BUFFER_INCLUDED
++
++/**************************************************************************//**
++ * @file
++ * Ring buffer to handle message requests.
++ *
++ ****************************************************************************/
++
++#include <pthread.h>
++
++/**************************************************************************//**
++ * Ring buffer structure.
++ *****************************************************************************/
++typedef struct ring_buffer
++{
++ int size;
++ int next_write;
++ int next_read;
++ void ** ring;
++ pthread_cond_t ring_cv;
++ pthread_mutex_t ring_mutex;
++} ring_buffer;
++
++/**************************************************************************//**
++ * Ring buffer initialization.
++ *
++ * Initialize the buffer supplied to the specified size.
++ *
++ * @param buffer Pointer to the ring-buffer to be initialized.
++ * @param size How many elements to be stored in the ring-buffer.
++ *
++ * @returns Nothing
++******************************************************************************/
++void ring_buffer_initialize(ring_buffer * buffer, int size);
++
++/**************************************************************************//**
++ * Read an element from a ring_buffer.
++ *
++ * Reads an element from the ring_buffer, advancing the next-read position.
++ * Operation is synchronized and therefore MT-safe. Blocks if no data is
++ * available.
++ *
++ * @param buffer Pointer to the ring-buffer to be read.
++ *
++ * @returns Pointer to the element read from the buffer.
++******************************************************************************/
++void * ring_buffer_read(ring_buffer * buffer);
++
++/**************************************************************************//**
++ * Write an element into a ring_buffer.
++ *
++ * Writes an element into the ring_buffer, advancing the next-write position.
++ * Operation is synchronized and therefore MT-safe. Fails if the buffer is
++ * full without blocking.
++ *
++ * @param buffer Pointer to the ring-buffer to be written.
++ * @param msg Pointer to data to be stored in the ring_buffer.
++ *
++ * @returns Number of items written.
++ * @retval 1 The data was written successfully.
++ * @retval 0 The ring_buffer was full so no data written.
++******************************************************************************/
++int ring_buffer_write(ring_buffer * buffer, void * msg);
++
++/**************************************************************************//**
++ * Tests whether there is data in the ring_buffer.
++ *
++ * Tests whether there is currently data in the ring_buffer without blocking.
++ *
++ * @param buffer Pointer to the ring-buffer to be tested.
++ *
++ * @returns Whether there is data in the ring_buffer.
++ * @retval 0 There isn't any data in the ring_buffer.
++ * @retval 1 There is data in the ring_buffer.
++******************************************************************************/
++int ring_buffer_is_empty(ring_buffer * buffer);
++
++#endif
+diff --git a/src/plugins/ves/ves.api b/src/plugins/ves/ves.api
+new file mode 100644
+index 00000000..a7106f8d
+--- /dev/null
++++ b/src/plugins/ves/ves.api
+@@ -0,0 +1,72 @@
++/*
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++/** \brief VES Agent config add / del request
++ @param client_index - opaque cookie to identify the sender
++ @param context - sender context, to match reply w/ request
++ @param server_port - VES Server port
++ @param read_interval - Time period for each loop
++ @param is_add - add the config if non-zero, else delete
++ @param server_addr[] - server address
++*/
++define ves_agent_config
++{
++ u32 client_index;
++ u32 context;
++ u32 server_port;
++ u32 read_interval;
++ u32 is_add;
++ u8 server_addr[16];
++};
++
++/** \brief VES Agent config response
++ @param context - sender context, to match reply w/ request
++ @param retval - return code for the request
++*/
++define ves_agent_config_reply
++{
++ u32 context;
++ i32 retval;
++};
++
++/** \brief VES Agent mode set request
++ @param client_index - opaque cookie to identify the sender
++ @param context - sender context, to match reply w/ request
++ @param pkt_loss_rate - Base packet loss rate if Demo Mode
++ @param work_mode[] - Agent's work mode, real or demo
++*/
++define ves_agent_mode
++{
++ u32 client_index;
++ u32 context;
++ u32 pkt_loss_rate;
++ u8 work_mode[8];
++};
++
++/** \brief VES Agent Mode response
++ @param context - sender context, to match reply w/ request
++ @param retval - return code for the request
++*/
++define ves_agent_mode_reply
++{
++ u32 context;
++ i32 retval;
++};
++
++/*
++ * Local Variables:
++ * eval: (c-set-style "gnu")
++ * End:
++ */
+diff --git a/src/plugins/ves/ves_all_api_h.h b/src/plugins/ves/ves_all_api_h.h
+new file mode 100644
+index 00000000..72b15697
+--- /dev/null
++++ b/src/plugins/ves/ves_all_api_h.h
+@@ -0,0 +1,18 @@
++/*
++ * ves_all_api_h.h - skeleton vpp engine plug-in api #include file
++ *
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <ves/ves.api.h>
+diff --git a/src/plugins/ves/ves_api.c b/src/plugins/ves/ves_api.c
+new file mode 100644
+index 00000000..7a9b8004
+--- /dev/null
++++ b/src/plugins/ves/ves_api.c
+@@ -0,0 +1,139 @@
++/*
++ *------------------------------------------------------------------
++ * ves_api.c - ves api
++ *
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *------------------------------------------------------------------
++ */
++
++#include <vnet/vnet.h>
++#include <vlibmemory/api.h>
++
++#include <vnet/interface.h>
++#include <vnet/api_errno.h>
++#include <vnet/ip/ip.h>
++#include <vnet/ip/ip4.h>
++
++#include <ves/ves_node.h>
++
++#include <ves/ves_msg_enum.h> /* define message IDs */
++
++#define vl_typedefs /* define message structures */
++#include <ves/ves_all_api_h.h>
++#undef vl_typedefs
++
++#define vl_endianfun /* define message structures */
++#include <ves/ves_all_api_h.h>
++#undef vl_endianfun
++
++/* instantiate all the print functions we know about */
++#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
++
++#define vl_printfun
++#include <ves/ves_all_api_h.h>
++#undef vl_printfun
++
++
++#include <vlibapi/api_helper_macros.h>
++
++#define foreach_vpe_api_msg \
++_(VES_AGENT_CONFIG,ves_agent_config) \
++_(VES_AGENT_MODE,ves_agent_mode)
++
++static void vl_api_ves_agent_config_t_handler
++ (vl_api_ves_agent_config_t *mp)
++{
++ vl_api_ves_agent_config_reply_t *rmp;
++ ip46_address_t server;
++ int rv = -1;
++
++ ip46_address_reset (&server);
++ clib_memcpy (&server.ip4, mp->server_addr, sizeof (server.ip4));
++
++ rv = ves_set_server(&server,
++ (u32) ntohl (mp->server_port),
++ (u32) ntohl (mp->read_interval),
++ (int) (mp->is_add == 0));
++
++ REPLY_MACRO (VL_API_VES_AGENT_CONFIG_REPLY);
++}
++
++static void vl_api_ves_agent_mode_t_handler
++ (vl_api_ves_agent_mode_t *mp)
++{
++ vl_api_ves_agent_mode_reply_t *rmp;
++ ves_agent_mode_t mode = VES_AGENT_MODE_REAL;
++ int rv = -1;
++
++ if (!strcmp((char *)mp->work_mode, "demo")
++ || !strcmp((char *)mp->work_mode, "Demo")
++ || !strcmp((char *)mp->work_mode, "DEMO"))
++ mode = VES_AGENT_MODE_DEMO;
++
++ rv = ves_agent_set_mode(mode, (u32) ntohl(mp->pkt_loss_rate));
++
++ REPLY_MACRO (VL_API_VES_AGENT_MODE_REPLY);
++}
++
++/*
++ * ves_api_hookup
++ * Add vpe's API message handlers to the table.
++ * vlib has alread mapped shared memory and
++ * added the client registration handlers.
++ * See .../vlib-api/vlibmemory/memclnt_vlib.c:memclnt_process()
++ */
++#define vl_msg_name_crc_list
++#include <ves/ves_all_api_h.h>
++#undef vl_msg_name_crc_list
++
++static void
++setup_message_id_table (api_main_t * am)
++{
++#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id);
++ foreach_vl_msg_name_crc_ves;
++#undef _
++}
++
++static clib_error_t *
++ves_api_hookup (vlib_main_t * vm)
++{
++ api_main_t *am = &api_main;
++
++#define _(N,n) \
++ vl_msg_api_set_handlers(VL_API_##N, #n, \
++ vl_api_##n##_t_handler, \
++ vl_noop_handler, \
++ vl_api_##n##_t_endian, \
++ vl_api_##n##_t_print, \
++ sizeof(vl_api_##n##_t), 1);
++ foreach_vpe_api_msg;
++#undef _
++
++ /*
++ * Set up the (msg_name, crc, message-id) table
++ */
++ setup_message_id_table (am);
++
++ return 0;
++}
++
++VLIB_API_INIT_FUNCTION (ves_api_hookup);
++
++/*
++ * fd.io coding-style-patch-verification: ON
++ *
++ * Local Variables:
++ * eval: (c-set-style "gnu")
++ * End:
++ */
+diff --git a/src/plugins/ves/ves_msg_enum.h b/src/plugins/ves/ves_msg_enum.h
+new file mode 100644
+index 00000000..6e8a5dfa
+--- /dev/null
++++ b/src/plugins/ves/ves_msg_enum.h
+@@ -0,0 +1,31 @@
++/*
++ * ves_msg_enum.h - vpp engine plug-in message enumeration
++ *
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++#ifndef _VES_MSG_ENUM_H_
++#define _VES_MSG_ENUM_H_
++
++#include <vppinfra/byte_order.h>
++
++#define vl_msg_id(n,h) n,
++typedef enum
++{
++#include <ves/ves_all_api_h.h>
++ /* We'll want to know how many messages IDs we need... */
++ VL_MSG_FIRST_AVAILABLE,
++} vl_msg_id_t;
++#undef vl_msg_id
++
++#endif /* _VES_MSG_ENUM_H_ */
+diff --git a/src/plugins/ves/ves_node.c b/src/plugins/ves/ves_node.c
+new file mode 100644
+index 00000000..7540dd16
+--- /dev/null
++++ b/src/plugins/ves/ves_node.c
+@@ -0,0 +1,646 @@
++/*
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <stdio.h>
++#include <stdlib.h>
++#include <unistd.h>
++#include <string.h>
++#include <sys/time.h>
++
++#include <vnet/plugin/plugin.h>
++#include <vpp/app/version.h>
++
++#include "ves_node.h"
++
++#define BUFSIZE 128
++
++typedef struct dummy_vpp_metrics_struct {
++ int bytes_in;
++ int bytes_out;
++ int packets_in;
++ int packets_out;
++} vpp_metrics_struct;
++
++static vlib_node_registration_t ves_agent_process_node;
++vpp_metrics_struct *last_vpp_metrics;
++vpp_metrics_struct *curr_vpp_metrics;
++time_t start_epoch;
++time_t last_epoch;
++char hostname[BUFSIZE];
++
++static u8 *format_ves_agent_config(u8 *s, va_list *args);
++
++void read_vpp_metrics(vpp_metrics_struct *vpp_metrics, char *vnic) {
++ // Define an array of char that contains the parameters of the unix 'cut' command
++ char* params[] = {"-f3", "-f11", "-f4", "-f12"};
++ // Define the unix command to execute in order to read metrics from the vNIC
++ char* cmd_prefix = "sudo cat /proc/net/dev | grep \"";
++ char* cmd_mid = "\" | tr -s \' \' | cut -d\' \' ";
++ char cmd[BUFSIZE];
++ // Define other variables
++ char buf[BUFSIZE]; /* buffer used to store VPP metrics */
++ int temp[] = {0, 0, 0, 0}; /* temp array that contains VPP values */
++ FILE *fp; /* file descriptor to pipe cmd to shell */
++ int i;
++
++ for(i = 0; i < 4; i++) {
++ // Clear buffers
++ memset(buf, 0, BUFSIZE);
++ memset(cmd, 0, BUFSIZE);
++ // Build shell command to read metrics from the vNIC
++ strcat(cmd, cmd_prefix);
++ strcat(cmd, vnic);
++ strcat(cmd, cmd_mid);
++ strcat(cmd, params[i]);
++
++ // Open a pipe and read VPP values
++ if ((fp = popen(cmd, "r")) == NULL) {
++ printf("Error opening pipe!\n");
++ return;
++ }
++
++ while (fgets(buf, BUFSIZE, fp) != NULL);
++ temp[i] = atoi(buf);
++
++ if(pclose(fp)) {
++ printf("Command not found or exited with error status\n");
++ return;
++ }
++ }
++
++ // Store metrics read from the vNIC in the struct passed from the main function
++ vpp_metrics->bytes_in = temp[0];
++ vpp_metrics->bytes_out = temp[1];
++ vpp_metrics->packets_in = temp[2];
++ vpp_metrics->packets_out = temp[3];
++}
++
++/**************************************************************************//**
++ * tap live cpu stats
++ *****************************************************************************/
++void evel_get_cpu_stats(EVENT_MEASUREMENT * measurement)
++{
++ FILE *fp;
++ char path[1024];
++ double usage=0.0;
++ double idle;
++ double intrpt;
++ double nice;
++ double softirq;
++ double steal;
++ double sys;
++ double user;
++ double wait;
++ MEASUREMENT_CPU_USE *cpu_use = NULL;
++
++ /* Open the command for reading. */
++ //fp = popen("/bin/ls /etc/", "r");
++ fp = popen("/usr/bin/top -bn 2 -d 0.01 | grep '^%Cpu' | tail -n 1 ", "r");
++ if (fp == NULL) {
++ printf("Failed to run command\n" );
++ exit(1);
++ }
++
++ /* Read the output a line at a time - output it. */
++ while (fgets(path, sizeof(path)-1, fp) != NULL) {
++ printf("%s", path+10);
++ sscanf(path+10," %lf us, %lf sy, %lf ni, %lf id, %lf wa, %lf hi, %lf si, %lf st",
++ &user,&sys,&nice,&idle,&wait,&intrpt,&softirq,&steal);
++ }
++
++ /* close */
++ pclose(fp);
++
++ cpu_use = evel_measurement_new_cpu_use_add(measurement, "cpu1", usage);
++ if( cpu_use != NULL ){
++ evel_measurement_cpu_use_idle_set(cpu_use,idle);
++ //evel_measurement_cpu_use_interrupt_set(cpu_use,intrpt);
++ //evel_measurement_cpu_use_nice_set(cpu_use,nice);
++ //evel_measurement_cpu_use_softirq_set(cpu_use,softirq);
++ //evel_measurement_cpu_use_steal_set(cpu_use,steal);
++ evel_measurement_cpu_use_system_set(cpu_use,sys);
++ evel_measurement_cpu_use_usageuser_set(cpu_use,user);
++ //evel_measurement_cpu_use_wait_set(cpu_use,wait);
++ //evel_measurement_cpu_use_add(measurement, "cpu2", usage,idle,intrpt,nice,softirq,steal,sys,user,wait);
++ }
++}
++
++int
++ves_agent_report_vnic_stats(ves_agent_main_t *vam)
++{
++ EVEL_ERR_CODES evel_rc = EVEL_SUCCESS;
++ EVENT_MEASUREMENT* vpp_m = NULL;
++ EVENT_HEADER* vpp_m_header = NULL;
++ int bytes_in_this_round;
++ int bytes_out_this_round;
++ int packets_in_this_round;
++ int packets_out_this_round;
++ struct timeval time_val;
++
++ /* Is not enabled, do nothing */
++ if (vam->config.is_enabled == VES_AGENT_DISABLED) {
++ return 0;
++ }
++
++ memset(curr_vpp_metrics, 0, sizeof(vpp_metrics_struct));
++ read_vpp_metrics(curr_vpp_metrics, DEFAULT_MEASURE_ETH);
++
++ if(curr_vpp_metrics->bytes_in - last_vpp_metrics->bytes_in > 0) {
++ bytes_in_this_round = curr_vpp_metrics->bytes_in - last_vpp_metrics->bytes_in;
++ } else {
++ bytes_in_this_round = 0;
++ }
++
++ if(curr_vpp_metrics->bytes_out - last_vpp_metrics->bytes_out > 0) {
++ bytes_out_this_round = curr_vpp_metrics->bytes_out - last_vpp_metrics->bytes_out;
++ } else {
++ bytes_out_this_round = 0;
++ }
++
++ if(curr_vpp_metrics->packets_in - last_vpp_metrics->packets_in > 0) {
++ packets_in_this_round = curr_vpp_metrics->packets_in - last_vpp_metrics->packets_in;
++ } else {
++ packets_in_this_round = 0;
++ }
++
++ if(curr_vpp_metrics->packets_out - last_vpp_metrics->packets_out > 0) {
++ packets_out_this_round = curr_vpp_metrics->packets_out - last_vpp_metrics->packets_out;
++ } else {
++ packets_out_this_round = 0;
++ }
++
++ vpp_m = evel_new_measurement(vam->config.read_interval, "Measurement_vGMUX", "Generic_traffic");
++ if(vpp_m != NULL) {
++ char str_pkt_loss[12];
++ MEASUREMENT_VNIC_PERFORMANCE * vnic_performance = NULL;
++
++ printf("New measurement report created...\n");
++
++ vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance(
++ DEFAULT_MEASURE_ETH, "true");
++ evel_meas_vnic_performance_add(vpp_m, vnic_performance);
++ evel_measurement_type_set(vpp_m, "HTTP request rate");
++ evel_measurement_request_rate_set(vpp_m, rand()%10000);
++
++ evel_vnic_performance_rx_total_pkt_delta_set(vnic_performance, packets_in_this_round);
++ evel_vnic_performance_tx_total_pkt_delta_set(vnic_performance, packets_out_this_round);
++
++ evel_vnic_performance_rx_octets_delta_set(vnic_performance, bytes_in_this_round);
++ evel_vnic_performance_tx_octets_delta_set(vnic_performance, bytes_out_this_round);
++ evel_get_cpu_stats(vpp_m);
++
++#if 0
++ evel_measurement_vnic_use_add(vpp_m, /* Pointer to the measurement */
++ DEFAULT_MEASURE_ETH, /* ASCII string with the vNIC's ID */
++ packets_in_this_round, /* Packets received */
++ packets_out_this_round, /* Packets transmitted */
++ 0, /* Broadcast packets received */
++ 0, /* Broadcast packets transmitted */
++ bytes_in_this_round, /* Total bytes received */
++ bytes_out_this_round, /* Total bytes transmitted */
++ 0, /* Multicast packets received */
++ 0, /* Multicast packets transmitted */
++ 0, /* Unicast packets received */
++ 0); /* Unicast packets transmitted */
++#endif
++
++ sprintf(str_pkt_loss, "%.1f %%", (double) vam->config.base_pkt_loss);
++ evel_measurement_custom_measurement_add(vpp_m, /* Pointer to the measurement */
++ "ONAP-DCAE", /* measurement group's name */
++ "Packet-Loss-Rate", /* the measurement's name */
++ str_pkt_loss); /* The measurement's value */
++
++ last_epoch = start_epoch + vam->config.read_interval * 1000000;
++ vpp_m_header = (EVENT_HEADER *)vpp_m;
++ vpp_m_header->start_epoch_microsec = start_epoch;
++ vpp_m_header->last_epoch_microsec = last_epoch;
++ strcpy(vpp_m_header->reporting_entity_id.value, "No UUID available");
++ strcpy(vpp_m_header->reporting_entity_name, hostname);
++
++ evel_rc = evel_post_event(vpp_m_header);
++ if(evel_rc == EVEL_SUCCESS) {
++ printf("Measurement report correctly sent to the collector!\n");
++ }
++ else {
++ printf("Post failed %d (%s)\n", evel_rc, evel_error_string());
++ }
++ }
++ else {
++ printf("New measurement report failed (%s)\n", evel_error_string());
++ }
++
++ last_vpp_metrics->bytes_in = curr_vpp_metrics->bytes_in;
++ last_vpp_metrics->bytes_out = curr_vpp_metrics->bytes_out;
++ last_vpp_metrics->packets_in = curr_vpp_metrics->packets_in;
++ last_vpp_metrics->packets_out = curr_vpp_metrics->packets_out;
++ gettimeofday(&time_val, NULL);
++ start_epoch = time_val.tv_sec * 1000000 + time_val.tv_usec;
++
++ return 0;
++}
++
++always_inline int
++ves_agent_start(ves_agent_main_t *vam)
++{
++ vlib_main_t *vm = vam->vlib_main;
++ struct timeval time_val;
++ char fqdn[16]; /* "xxx.xxx.xxx.xxx" */
++ //char *fqdn = "127.0.0.1"; /* "xxx.xxx.xxx.xxx" */
++
++ sprintf(fqdn, "%d.%d.%d.%d", vam->config.server_addr.data[0],
++ vam->config.server_addr.data[1],
++ vam->config.server_addr.data[2],
++ vam->config.server_addr.data[3]);
++ /* Always success. TODO: Error check in next version */
++ last_vpp_metrics = malloc(sizeof(vpp_metrics_struct));
++ curr_vpp_metrics = malloc(sizeof(vpp_metrics_struct));
++
++ if(evel_initialize(fqdn, /* FQDN */
++ vam->config.server_port, /* Port */
++ NULL, /* optional path */
++ NULL, /* optional topic */
++ 0, /* HTTPS? */
++ "", /* Username */
++ "", /* Password */
++ EVEL_SOURCE_VIRTUAL_MACHINE, /* Source type */
++ "vG-MUX", /* Role */
++ 1)) /* Verbosity */
++ {
++ fprintf(stderr, "\nFailed to initialize the EVEL library!!!\n");
++ return -1;
++ }
++
++ gethostname(hostname, BUFSIZE);
++ memset(last_vpp_metrics, 0, sizeof(vpp_metrics_struct));
++ read_vpp_metrics(last_vpp_metrics, DEFAULT_MEASURE_ETH);
++ gettimeofday(&time_val, NULL);
++ start_epoch = time_val.tv_sec * 1000000 + time_val.tv_usec;
++
++ vlib_process_wait_for_event_or_clock(vm, (f64)(vam->config.read_interval));
++
++ return 0;
++}
++
++always_inline int
++ves_agent_stop(void)
++{
++ sleep(1);
++ free(last_vpp_metrics);
++ free(curr_vpp_metrics);
++ evel_terminate();
++
++ return 0;
++}
++
++/* *INDENT-OFF* */
++VLIB_PLUGIN_REGISTER () = {
++ .version = VPP_BUILD_VER,
++ .description = "VNF Event Stream Agent",
++};
++/* *INDENT-ON* */
++
++static uword
++ves_agent_process (vlib_main_t * vm,
++ vlib_node_runtime_t * rt,
++ vlib_frame_t * f)
++{
++ ves_agent_main_t *vam = &ves_agent_main;
++ uword event_type;
++ uword * event_data = 0;
++
++ if (vam->config.read_interval == 0) {
++ vam->config.read_interval = DEFAULT_READ_INTERVAL;
++ }
++
++ while (1)
++ {
++ vlib_process_wait_for_event_or_clock(vm, (f64)(vam->config.read_interval));
++
++ event_type = vlib_process_get_events (vm, &event_data);
++
++ switch (event_type)
++ {
++ case EVENT_VES_AGENT_START:
++ ves_agent_start(vam);
++ break;
++ case EVENT_VES_AGENT_STOP:
++ ves_agent_stop();
++ break;
++ default:
++ ves_agent_report_vnic_stats(vam);
++ break;
++ }
++
++ vec_reset_length (event_data);
++ }
++
++ /* NOTREACHED */
++ return 0;
++}
++
++VLIB_REGISTER_NODE (ves_agent_process_node, static) = {
++ .function = ves_agent_process,
++ .type = VLIB_NODE_TYPE_PROCESS,
++ .name = "ves-agent-process",
++ .process_log2_n_stack_bytes = 16,
++};
++
++int
++ves_set_server (ip46_address_t *addr,
++ u32 server_port,
++ u32 read_interval,
++ int is_del)
++{
++ ves_agent_main_t *vam = &ves_agent_main;
++ vlib_main_t *vm = vam->vlib_main;
++ int rc = 0;
++
++ if (ip46_address_is_zero(addr))
++ return VNET_API_ERROR_INVALID_DST_ADDRESS;
++
++ if (is_del)
++ {
++ if (vam->config.is_enabled == VES_AGENT_DISABLED) {
++ return rc;
++ }
++
++ if ((vam->config.server_addr.as_u32 != addr->ip4.as_u32)
++ || (vam->config.server_port != server_port))
++ return VNET_API_ERROR_NO_SUCH_ENTRY;
++
++ memset(&(vam->config.server_addr), 0, sizeof(ip4_address_t));
++ vam->config.server_port = DEFAULT_SERVER_PORT;
++ vam->config.read_interval = DEFAULT_READ_INTERVAL;
++ vam->config.is_enabled = VES_AGENT_DISABLED;
++ vlib_process_signal_event (vm, ves_agent_process_node.index,
++ EVENT_VES_AGENT_STOP, 0);
++ } else {
++ // Already enabled the same config.
++ if ((vam->config.server_addr.as_u32 == addr->ip4.as_u32)
++ && (vam->config.server_port != server_port)
++ && vam->config.read_interval == read_interval
++ && vam->config.is_enabled == VES_AGENT_ENABLED) {
++ return rc;
++ }
++
++ // Already enabled, but not exact match.
++ if (vam->config.is_enabled == VES_AGENT_ENABLED) {
++ return VNET_API_ERROR_VALUE_EXIST;
++ }
++
++ vam->config.server_addr.as_u32 = addr->ip4.as_u32;
++ vam->config.server_port = server_port;
++ if (read_interval) {
++ vam->config.read_interval = read_interval;
++ } else {
++ vam->config.read_interval = DEFAULT_READ_INTERVAL;
++ }
++ vam->config.is_enabled = VES_AGENT_ENABLED;
++ vlib_process_signal_event (vm, ves_agent_process_node.index,
++ EVENT_VES_AGENT_START, 0);
++ }
++
++ return (rc);
++}
++
++static u8 *
++format_ves_agent_set_error(u8 *s, va_list *args)
++{
++ s = format(s, "%s\n\n", "Caution, set fails due to enabled config:");
++ s = format(s, "%U", format_ves_agent_config, NULL);
++ return s;
++}
++
++static clib_error_t *
++ves_server_set_command_fn(vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ ip46_address_t server_addr;
++ u32 server_port = DEFAULT_SERVER_PORT, inter_val = DEFAULT_READ_INTERVAL;
++ int is_del = 0, set_server = 0;
++
++ memset(&server_addr, 0, sizeof(server_addr));
++
++ while (unformat_check_input(input) != UNFORMAT_END_OF_INPUT)
++ {
++ if (unformat (input, "server %U",
++ unformat_ip4_address, &server_addr.ip4))
++ set_server = 1;
++ else if (unformat (input, "port %u", &server_port))
++ ;
++ else if (unformat (input, "intval %u", &inter_val))
++ ;
++ else if (unformat (input, "delete") ||
++ unformat (input, "del"))
++ is_del = 1;
++ else
++ break;
++ }
++
++ if (is_del || set_server)
++ {
++ int rv;
++
++ rv = ves_set_server (&server_addr, server_port, inter_val, is_del);
++ switch (rv)
++ {
++ case 0:
++ return 0;
++
++ case VNET_API_ERROR_INVALID_DST_ADDRESS:
++ return clib_error_return (0, "Invalid address");
++
++ case VNET_API_ERROR_NO_SUCH_ENTRY:
++ return clib_error_return(0, "No such Entry found");
++
++ case VNET_API_ERROR_VALUE_EXIST:
++ vlib_cli_output (vm, "%U\n", format_ves_agent_set_error, NULL);
++ return clib_error_return (0, "BUG found!");
++
++ default:
++ return clib_error_return (0, "BUG: rv %d", rv);
++ }
++ } else {
++ return clib_error_return (0, "parse error`%U'",
++ format_unformat_error, input);
++ }
++}
++
++VLIB_CLI_COMMAND (ves_server_set_command, static) = {
++ .path = "set ves agent",
++ .short_help = "set ves agent [del] server <ipaddr> port <port> [intval <inter-value>]",
++ .function = ves_server_set_command_fn,
++};
++
++static u8 *
++format_ves_agent_config(u8 *s, va_list *args)
++{
++ ves_agent_main_t *vam = &ves_agent_main;
++ char fqdn[16]; /* "xxx.xxx.xxx.xxx" */
++
++ s = format(s, "%=16s %=12s %=8s %s\n", "Server Addr",
++ "Server Port", "Interval", "Enabled");
++ if (vam->config.is_enabled == VES_AGENT_DISABLED) {
++ return s;
++ }
++
++ sprintf(fqdn, "%d.%d.%d.%d", vam->config.server_addr.data[0],
++ vam->config.server_addr.data[1],
++ vam->config.server_addr.data[2],
++ vam->config.server_addr.data[3]);
++
++ s = format(s, "%=16s %=12d %=8d %s\n", fqdn,
++ vam->config.server_port,
++ vam->config.read_interval,
++ vam->config.is_enabled ? "True" : "False");
++
++ return s;
++}
++
++static clib_error_t *
++ves_server_show_command_fn(vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ vlib_cli_output (vm, "%U", format_ves_agent_config, NULL);
++
++ return (NULL);
++}
++
++VLIB_CLI_COMMAND (ves_server_show_command, static) = {
++ .path = "show ves agent",
++ .short_help = "Display VES Agent Configuration",
++ .function = ves_server_show_command_fn,
++};
++
++int
++ves_agent_set_mode(ves_agent_mode_t mode,
++ u32 pkt_loss_rate)
++{
++ ves_agent_main_t *vam = &ves_agent_main;
++ int retval = 0;
++
++ if (VES_AGENT_MODE_DEMO == mode) {
++ if (pkt_loss_rate > 100) {
++ vam->config.mode = VES_AGENT_MODE_REAL;
++ vam->config.base_pkt_loss = 0;
++ return 1;
++ }
++ vam->config.mode = VES_AGENT_MODE_DEMO;
++ vam->config.base_pkt_loss = pkt_loss_rate;
++ } else { /* Only demo or real for current stage */
++ vam->config.mode = VES_AGENT_MODE_REAL;
++ vam->config.base_pkt_loss = 0;
++ }
++
++ return retval;
++}
++
++static clib_error_t *
++ves_mode_set_command_fn(vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ u32 pkt_loss_rate = 0;
++ ves_agent_mode_t mode = VES_AGENT_MODE_REAL;
++ int set_mode = 0;
++
++ while (unformat_check_input(input) != UNFORMAT_END_OF_INPUT)
++ {
++ if (unformat (input, "demo") || unformat (input, "Demo")
++ || unformat (input, "DEMO"))
++ {
++ mode = VES_AGENT_MODE_DEMO;
++ set_mode = 1;
++ }
++ else if (unformat (input, "real") || unformat (input, "Real")
++ || unformat (input, "REAL"))
++ set_mode = 1;
++ else if (unformat (input, "base %u", &pkt_loss_rate))
++ ;
++ else
++ break;
++ }
++
++ if (set_mode)
++ {
++ int retval = ves_agent_set_mode(mode, pkt_loss_rate);
++ if (retval == 0)
++ return 0;
++ else
++ return clib_error_return (0, "BUG found!");
++ } else {
++ return clib_error_return (0, "parse error`%U'",
++ format_unformat_error, input);
++ }
++}
++
++VLIB_CLI_COMMAND (ves_mode_set_command, static) = {
++ .path = "set ves mode",
++ .short_help = "set ves mode <demo|real> [base <pkt-loss-rate>]",
++ .function = ves_mode_set_command_fn,
++};
++
++static inline u8 *
++format_ves_agent_mode(u8 *s, va_list *args)
++{
++ ves_agent_main_t *vam = &ves_agent_main;
++
++ s = format(s, "%=8s %s\n", "Mode", "Base Packet Loss Rate");
++
++ s = format(s, "%=8s %.1f %%\n",
++ vam->config.mode == VES_AGENT_MODE_DEMO ? "Demo" : "Real",
++ (double) vam->config.base_pkt_loss);
++
++ return s;
++}
++
++static clib_error_t *
++ves_agent_mode_show_command_fn(vlib_main_t * vm,
++ unformat_input_t * input,
++ vlib_cli_command_t * cmd)
++{
++ vlib_cli_output (vm, "%U", format_ves_agent_mode, NULL);
++
++ return (NULL);
++}
++
++VLIB_CLI_COMMAND (ves_agent_mode_show_command, static) = {
++ .path = "show ves mode",
++ .short_help = "Display VES Agent Mode Information",
++ .function = ves_agent_mode_show_command_fn,
++};
++
++static clib_error_t *
++ves_agent_init(vlib_main_t * vm)
++{
++ ves_agent_main_t *vam = &ves_agent_main;
++
++ vam->vlib_main = vm;
++ vam->vnet_main = vnet_get_main();
++
++ return 0;
++}
++
++VLIB_INIT_FUNCTION (ves_agent_init);
++
++/*
++ * fd.io coding-style-patch-verification: ON
++ *
++ * Local Variables:
++ * eval: (c-set-style "gnu")
++ * End:
++ */
+diff --git a/src/plugins/ves/ves_node.h b/src/plugins/ves/ves_node.h
+new file mode 100644
+index 00000000..7b773843
+--- /dev/null
++++ b/src/plugins/ves/ves_node.h
+@@ -0,0 +1,66 @@
++/*
++ * Copyright (c) 2017 Intel and/or its affiliates.
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#ifndef _VES_NODE_H_
++#define _VES_NODE_H_
++
++#include <vnet/ip/ip.h>
++
++#include "include/evel.h"
++
++#define DEFAULT_SERVER_IP "127.0.0.1"
++#define DEFAULT_MEASURE_ETH "eth0"
++#define DEFAULT_SERVER_PORT 8080
++#define DEFAULT_READ_INTERVAL 100
++
++typedef enum {
++ VES_AGENT_MODE_REAL = 0,
++ VES_AGENT_MODE_DEMO,
++ _NUM_VES_AGENT_MODES
++} ves_agent_mode_t;
++
++/* VES Agent Server configuration */
++typedef struct {
++ ip4_address_t server_addr;
++ u32 server_port;
++ u32 read_interval;
++ int is_enabled;
++ u32 base_pkt_loss; /* For demo only */
++ ves_agent_mode_t mode; /* Demo or Real */
++} ves_agent_config_t;
++
++typedef struct {
++ ves_agent_config_t config;
++
++ /* convenience */
++ vlib_main_t * vlib_main;
++ vnet_main_t * vnet_main;
++} ves_agent_main_t;
++
++ves_agent_main_t ves_agent_main;
++
++#define EVENT_VES_AGENT_START 1
++#define EVENT_VES_AGENT_STOP 0
++
++#define VES_AGENT_DISABLED 0
++#define VES_AGENT_ENABLED 1
++
++int ves_set_server(ip46_address_t *addr, u32 server_port,
++ u32 read_interval, int is_del);
++
++int ves_agent_set_mode(ves_agent_mode_t mode,
++ u32 pkt_loss_rate);
++
++#endif /* _VES_NODE_H_ */
+diff --git a/src/vpp-api/java/Makefile.am b/src/vpp-api/java/Makefile.am
+index f18e0c24..7f4738d8 100644
+--- a/src/vpp-api/java/Makefile.am
++++ b/src/vpp-api/java/Makefile.am
+@@ -148,6 +148,26 @@ jvpp-snat/io_fd_vpp_jvpp_snat_JVppSnatImpl.h: $(jvpp_registry_ok) $(jvpp_snat_js
+ $(call japigen,snat,JVppSnatImpl)
+ endif
+
++#
++# VES Plugin
++#
++if ENABLE_VES_PLUGIN
++noinst_LTLIBRARIES += libjvpp_ves.la
++libjvpp_ves_la_SOURCES = jvpp-ves/jvpp_ves.c
++libjvpp_ves_la_CPPFLAGS = -Ijvpp-ves
++libjvpp_ves_la_LIBADD = $(JVPP_LIBS)
++libjvpp_ves_la_DEPENDENCIES = libjvpp_common.la
++
++BUILT_SOURCES += jvpp-ves/io_fd_vpp_jvpp_ves_JVppVesImpl.h
++JAR_FILES += jvpp-ves-$(PACKAGE_VERSION).jar
++CLEANDIRS += jvpp-ves/target
++
++jvpp_ves_json_files = @top_builddir@/plugins/ves/ves.api.json
++
++jvpp-ves/io_fd_vpp_jvpp_ves_JVppVesImpl.h: $(jvpp_registry_ok) $(jvpp_ves_json_files)
++ $(call japigen,ves,JVppVesImpl)
++endif
++
+ #
+ # iOAM Trace Plugin
+ #
+diff --git a/src/vpp-api/java/jvpp-ves/jvpp_ves.c b/src/vpp-api/java/jvpp-ves/jvpp_ves.c
+new file mode 100644
+index 00000000..60e325b5
+--- /dev/null
++++ b/src/vpp-api/java/jvpp-ves/jvpp_ves.c
+@@ -0,0 +1,108 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++#include <vnet/vnet.h>
++
++#include <ves/ves_msg_enum.h>
++#define vl_typedefs /* define message structures */
++#include <ves/ves_all_api_h.h>
++#undef vl_typedefs
++
++#include <vnet/api_errno.h>
++#include <vlibapi/api.h>
++#include <vlibmemory/api.h>
++
++#if VPPJNI_DEBUG == 1
++ #define DEBUG_LOG(...) clib_warning(__VA_ARGS__)
++#else
++ #define DEBUG_LOG(...)
++#endif
++
++#include <jvpp-common/jvpp_common.h>
++
++#include "jvpp-ves/io_fd_vpp_jvpp_ves_JVppVesImpl.h"
++#include "jvpp_ves.h"
++#include "jvpp-ves/jvpp_ves_gen.h"
++
++/*
++ * Class: io_fd_vpp_jvpp_ves_JVppVesImpl
++ * Method: init0
++ * Signature: (JI)V
++ */
++JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ves_JVppVesImpl_init0
++ (JNIEnv *env, jclass clazz, jobject callback, jlong queue_address, jint my_client_index) {
++ ves_main_t * plugin_main = &ves_main;
++ clib_warning ("Java_io_fd_vpp_jvpp_ves_JVppVesImpl_init0");
++
++ plugin_main->my_client_index = my_client_index;
++ plugin_main->vl_input_queue = (unix_shared_memory_queue_t *)queue_address;
++
++ plugin_main->callbackObject = (*env)->NewGlobalRef(env, callback);
++ plugin_main->callbackClass = (jclass)(*env)->NewGlobalRef(env, (*env)->GetObjectClass(env, callback));
++
++ // verify API has not changed since jar generation
++ #define _(N) \
++ get_message_id(env, #N);
++ foreach_supported_api_message;
++ #undef _
++
++ #define _(N,n) \
++ vl_msg_api_set_handlers(get_message_id(env, #N), #n, \
++ vl_api_##n##_t_handler, \
++ vl_noop_handler, \
++ vl_noop_handler, \
++ vl_noop_handler, \
++ sizeof(vl_api_##n##_t), 1);
++ foreach_api_reply_handler;
++ #undef _
++}
++
++JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ves_JVppVesImpl_close0
++(JNIEnv *env, jclass clazz) {
++ ves_main_t * plugin_main = &ves_main;
++
++ // cleanup:
++ (*env)->DeleteGlobalRef(env, plugin_main->callbackClass);
++ (*env)->DeleteGlobalRef(env, plugin_main->callbackObject);
++
++ plugin_main->callbackClass = NULL;
++ plugin_main->callbackObject = NULL;
++}
++
++/* Attach thread to JVM and cache class references when initiating JVPP VES */
++jint JNI_OnLoad(JavaVM *vm, void *reserved) {
++ JNIEnv* env;
++
++ if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_8) != JNI_OK) {
++ return JNI_EVERSION;
++ }
++
++ if (cache_class_references(env) != 0) {
++ clib_warning ("Failed to cache class references\n");
++ return JNI_ERR;
++ }
++
++ return JNI_VERSION_1_8;
++}
++
++/* Clean up cached references when disposing JVPP VES */
++void JNI_OnUnload(JavaVM *vm, void *reserved) {
++ JNIEnv* env;
++ if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_8) != JNI_OK) {
++ return;
++ }
++ delete_class_references(env);
++}
+diff --git a/src/vpp-api/java/jvpp-ves/jvpp_ves.h b/src/vpp-api/java/jvpp-ves/jvpp_ves.h
+new file mode 100644
+index 00000000..642101ca
+--- /dev/null
++++ b/src/vpp-api/java/jvpp-ves/jvpp_ves.h
+@@ -0,0 +1,43 @@
++/*
++ * Copyright (c) 2017 Intel Corp and/or its affiliates.
++ *
++ * Licensed under the Apache License, Version 2.0 (the "License");
++ * you may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++#ifndef __included_jvpp_ves_h__
++#define __included_jvpp_ves_h__
++
++#include <vnet/vnet.h>
++#include <vnet/ip/ip.h>
++#include <vnet/api_errno.h>
++#include <vlibapi/api.h>
++#include <vlibmemory/api.h>
++#include <jni.h>
++
++/* Global state for JVPP-VES */
++typedef struct {
++ /* Pointer to shared memory queue */
++ unix_shared_memory_queue_t * vl_input_queue;
++
++ /* VPP api client index */
++ u32 my_client_index;
++
++ /* Callback object and class references enabling asynchronous Java calls */
++ jobject callbackObject;
++ jclass callbackClass;
++
++} ves_main_t;
++
++ves_main_t ves_main __attribute__((aligned (64)));
++
++
++#endif /* __included_jvpp_ves_h__ */
+--
+2.14.1.windows.1
+
diff --git a/vnfs/vFW/scripts/v_firewall_install.sh b/vnfs/vFW/scripts/v_firewall_install.sh
index 0a2c8da8..262a01b8 100644
--- a/vnfs/vFW/scripts/v_firewall_install.sh
+++ b/vnfs/vFW/scripts/v_firewall_install.sh
@@ -58,9 +58,10 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
+apt-get install --allow-unauthenticated -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
pip install jsonschema
# Download artifacts for virtual firewall
@@ -73,11 +74,11 @@ wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/sample-distribution/$DEMO_ARTIFACTS_V
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/ves/ves/$DEMO_ARTIFACTS_VERSION/ves-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/ves/ves_vfw_reporting/$DEMO_ARTIFACTS_VERSION/ves_vfw_reporting-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
-tar -zxvf ves-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
+tar -zmxvf ves-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
mv ves-$DEMO_ARTIFACTS_VERSION VES
-tar -zxvf ves_vfw_reporting-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
+tar -zmxvf ves_vfw_reporting-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
mv ves_vfw_reporting-$DEMO_ARTIFACTS_VERSION VESreporting_vFW
-tar -zxvf sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
+tar -zmxvf sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
mv sample-distribution-$DEMO_ARTIFACTS_VERSION honeycomb
sed -i 's/"restconf-binding-address": "127.0.0.1",/"restconf-binding-address": "0.0.0.0",/g' honeycomb/sample-distribution-$DEMO_ARTIFACTS_VERSION/config/honeycomb.json
mv VESreporting_vFW /opt/VES/code/evel_training/VESreporting
diff --git a/vnfs/vFW/scripts/v_packetgen_install.sh b/vnfs/vFW/scripts/v_packetgen_install.sh
index 4ec1e4e6..3f150fce 100644
--- a/vnfs/vFW/scripts/v_packetgen_install.sh
+++ b/vnfs/vFW/scripts/v_packetgen_install.sh
@@ -48,9 +48,10 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
+apt-get install --allow-unauthenticated -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
pip install jsonschema
# Download code for packet generator
@@ -63,8 +64,8 @@ wget $REPO_URL_BLOB/org.onap.demo/vnfs/vfw/$INSTALL_SCRIPT_VERSION/run_traffic_f
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/sample-distribution/$DEMO_ARTIFACTS_VERSION/sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/vfw/vfw_pg_streams/$DEMO_ARTIFACTS_VERSION/vfw_pg_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
-tar -zxvf sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
-tar -zxvf vfw_pg_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
+tar -zmxvf sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
+tar -zmxvf vfw_pg_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
mv vfw_pg_streams-$DEMO_ARTIFACTS_VERSION pg_streams
mv sample-distribution-$DEMO_ARTIFACTS_VERSION honeycomb
sed -i 's/"restconf-binding-address": "127.0.0.1",/"restconf-binding-address": "0.0.0.0",/g' honeycomb/sample-distribution-$DEMO_ARTIFACTS_VERSION/config/honeycomb.json
diff --git a/vnfs/vFW/scripts/v_sink_install.sh b/vnfs/vFW/scripts/v_sink_install.sh
index 88c194d0..f01a0abd 100644
--- a/vnfs/vFW/scripts/v_sink_install.sh
+++ b/vnfs/vFW/scripts/v_sink_install.sh
@@ -46,9 +46,10 @@ then
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y make wget openjdk-8-jdk apt-transport-https ca-certificates darkstat
+apt-get install --allow-unauthenticated -y make wget openjdk-8-jdk apt-transport-https ca-certificates darkstat
# Configure and run Darkstat
sed -i "s/START_DARKSTAT=.*/START_DARKSTAT=yes/g" /etc/darkstat/init.cfg
diff --git a/vnfs/vLB/.DS_Store b/vnfs/vLB/.DS_Store
deleted file mode 100644
index b7ccbfd4..00000000
--- a/vnfs/vLB/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/vnfs/vLB/dns_streams/stream_dns1 b/vnfs/vLB/dns_streams/stream_dns1
index ff9fdc51..3d2de9b1 100644
--- a/vnfs/vLB/dns_streams/stream_dns1
+++ b/vnfs/vLB/dns_streams/stream_dns1
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x22c60100000100000000000005686f73743107646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x22c60100000100000000000005686f73743107646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns10 b/vnfs/vLB/dns_streams/stream_dns10
index 9f28e20e..7c67ca31 100644
--- a/vnfs/vLB/dns_streams/stream_dns10
+++ b/vnfs/vLB/dns_streams/stream_dns10
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 54
- hex 0x867b0100000100000000000006686f7374313007646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 49
+ hex 0x867b0100000100000000000006686f7374313007646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns2 b/vnfs/vLB/dns_streams/stream_dns2
index 0b3d6c64..2696d36f 100644
--- a/vnfs/vLB/dns_streams/stream_dns2
+++ b/vnfs/vLB/dns_streams/stream_dns2
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x23550100000100000000000005686f73743207646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x23550100000100000000000005686f73743207646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns3 b/vnfs/vLB/dns_streams/stream_dns3
index 531ba8e1..0a691d47 100644
--- a/vnfs/vLB/dns_streams/stream_dns3
+++ b/vnfs/vLB/dns_streams/stream_dns3
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x7b110100000100000000000005686f73743307646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x7b110100000100000000000005686f73743307646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns4 b/vnfs/vLB/dns_streams/stream_dns4
index 2bfd4cba..eb1ea3ed 100644
--- a/vnfs/vLB/dns_streams/stream_dns4
+++ b/vnfs/vLB/dns_streams/stream_dns4
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x63910100000100000000000005686f73743407646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x63910100000100000000000005686f73743407646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns5 b/vnfs/vLB/dns_streams/stream_dns5
index c853c57e..eb4d5eb3 100644
--- a/vnfs/vLB/dns_streams/stream_dns5
+++ b/vnfs/vLB/dns_streams/stream_dns5
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x054e0100000100000000000005686f73743507646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x054e0100000100000000000005686f73743507646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns6 b/vnfs/vLB/dns_streams/stream_dns6
index dab51566..acfc6838 100644
--- a/vnfs/vLB/dns_streams/stream_dns6
+++ b/vnfs/vLB/dns_streams/stream_dns6
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0xb9d80100000100000000000005686f73743607646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0xb9d80100000100000000000005686f73743607646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns7 b/vnfs/vLB/dns_streams/stream_dns7
index 1cca61ef..f2d6b2dd 100644
--- a/vnfs/vLB/dns_streams/stream_dns7
+++ b/vnfs/vLB/dns_streams/stream_dns7
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x36f30100000100000000000005686f73743707646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x36f30100000100000000000005686f73743707646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns8 b/vnfs/vLB/dns_streams/stream_dns8
index ce76bcaf..0040eb68 100644
--- a/vnfs/vLB/dns_streams/stream_dns8
+++ b/vnfs/vLB/dns_streams/stream_dns8
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x09860100000100000000000005686f73743807646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x09860100000100000000000005686f73743807646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/dns_streams/stream_dns9 b/vnfs/vLB/dns_streams/stream_dns9
index 0cc3132d..b7f6af4c 100644
--- a/vnfs/vLB/dns_streams/stream_dns9
+++ b/vnfs/vLB/dns_streams/stream_dns9
@@ -7,7 +7,7 @@ packet-generator new {
data {
UDP: 104.130.226.226 -> 104.130.169.190
UDP: 15320 -> 53
- length 53
- hex 0x12610100000100000000000005686f73743907646e7364656d6f096f70656e65636f6d70036f72670000010001
+ length 48
+ hex 0x12610100000100000000000005686f73743907646e7364656d6f046f6e6170036f72670000010001
}
}
diff --git a/vnfs/vLB/scripts/.DS_Store b/vnfs/vLB/scripts/.DS_Store
deleted file mode 100644
index 32f7ecab..00000000
--- a/vnfs/vLB/scripts/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/vnfs/vLB/scripts/add_dns.sh b/vnfs/vLB/scripts/add_dns.sh
index 04dfc771..3574e085 100644
--- a/vnfs/vLB/scripts/add_dns.sh
+++ b/vnfs/vLB/scripts/add_dns.sh
@@ -7,15 +7,17 @@ then
fi
DNS_IPADDR=$1
-MY_PUBLIC_IP=$(cat /opt/config/local_public_ipaddr.txt)
-MY_PRIVATE_IP=$(cat /opt/config/local_private_ipaddr.txt)
+IP_TO_PKTGEN_NET=$(cat /opt/config/ip_to_pktgen_net.txt)
+IP_TO_DNS_NET=$(cat /opt/config/ip_to_dns_net.txt)
+GRE_IPADDR=$(cat /opt/config/gre_ipaddr.txt)
-vppctl lb as $MY_PUBLIC_IP"/32" $DNS_IPADDR
-GRE=$(vppctl create gre tunnel src $MY_PRIVATE_IP dst $DNS_IPADDR)
+vppctl lb as $IP_TO_PKTGEN_NET"/32" $DNS_IPADDR
+GRE=$(vppctl create gre tunnel src $IP_TO_DNS_NET dst $DNS_IPADDR)
+vppctl set int ip address $GRE $GRE_IPADDR"/32"
vppctl set int state $GRE up
# Update the number of vDNSs currently active
FD="/opt/VES/code/evel_training/VESreporting/active_dns.txt"
CURR_DNS=$(cat $FD)
let CURR_DNS=$CURR_DNS+1
-echo $CURR_DNS > $FD
+echo $CURR_DNS > $FD \ No newline at end of file
diff --git a/vnfs/vLB/scripts/dnsmembership.sh b/vnfs/vLB/scripts/dnsmembership.sh
index 345dc3ff..e18ab803 100644
--- a/vnfs/vLB/scripts/dnsmembership.sh
+++ b/vnfs/vLB/scripts/dnsmembership.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-MY_PUBLIC_IP=$(cat /opt/config/local_public_ipaddr.txt)
+IP_TO_PKTGEN_NET=$(cat /opt/config/ip_to_pktgen_net.txt)
VERSION=$(cat /opt/config/demo_artifacts_version.txt)
-java -jar dns-manager-$VERSION.jar $MY_PUBLIC_IP 8888 10 3 0
+java -jar dns-manager-$VERSION.jar $IP_TO_PKTGEN_NET 8888 10 3 0
diff --git a/vnfs/vLB/scripts/remove_dns.sh b/vnfs/vLB/scripts/remove_dns.sh
index 1d505abe..f400aa0f 100644
--- a/vnfs/vLB/scripts/remove_dns.sh
+++ b/vnfs/vLB/scripts/remove_dns.sh
@@ -2,23 +2,23 @@
if [ ! "$#" -eq 1 ]
then
- echo "Usage: ./add_dns.sh [remote DNS server]"
+ echo "Usage: ./remove_dns.sh [remote DNS server]"
exit
fi
DNS_IPADDR=$1
-MY_PUBLIC_IP=$(cat /opt/config/local_public_ipaddr.txt)
-MY_PRIVATE_IP=$(cat /opt/config/local_private_ipaddr.txt)
+IP_TO_PKTGEN_NET=$(cat /opt/config/ip_to_pktgen_net.txt)
+IP_TO_DNS_NET=$(cat /opt/config/ip_to_dns_net.txt)
-vppctl lb as $MY_PUBLIC_ID"/32" $DNS_IPADDR del
-vppctl create gre tunnel src $MY_PRIVATE_IP dst $DNS_IPADDR del
+vppctl lb as $IP_TO_PKTGEN_NET"/32" $DNS_IPADDR del
+vppctl create gre tunnel src $IP_TO_DNS_NET dst $DNS_IPADDR del
# Update the number of vDNSs currently active
FD="/opt/VES/code/evel_training/VESreporting/active_dns.txt"
CURR_DNS=$(cat $FD)
let CURR_DNS=$CURR_DNS-1
if [[ $CURR_DNS -lt 0 ]]
-then
+then
CURR_DNS=0
fi
-echo $CURR_DNS > $FD
+echo $CURR_DNS > $FD \ No newline at end of file
diff --git a/vnfs/vLB/scripts/run_streams_dns.sh b/vnfs/vLB/scripts/run_streams_dns.sh
index 4d4e5432..cf95fa53 100755
--- a/vnfs/vLB/scripts/run_streams_dns.sh
+++ b/vnfs/vLB/scripts/run_streams_dns.sh
@@ -3,7 +3,7 @@
vppctl packet-gen disable
vppctl packet-gen enable-stream dns1
vppctl packet-gen enable-stream dns2
-sleep 300
+sleep 100
vppctl packet-gen enable-stream dns3
vppctl packet-gen enable-stream dns4
vppctl packet-gen enable-stream dns5
diff --git a/vnfs/vLB/scripts/v_dns_install.sh b/vnfs/vLB/scripts/v_dns_install.sh
index 83441ac9..91cce8ab 100644
--- a/vnfs/vLB/scripts/v_dns_install.sh
+++ b/vnfs/vLB/scripts/v_dns_install.sh
@@ -42,19 +42,16 @@ then
echo " address $IP" >> /etc/network/interfaces
echo " netmask $NETMASK" >> /etc/network/interfaces
echo " mtu $MTU" >> /etc/network/interfaces
-
- ifup eth1
- ifup eth2
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y wget openjdk-8-jdk bind9 bind9utils bind9-doc apt-transport-https ca-certificates
+apt-get install --allow-unauthenticated -y wget openjdk-8-jdk bind9 bind9utils bind9-doc apt-transport-https ca-certificates
sleep 1
# Download vDNS demo code for DNS Server
-mkdir /opt/config
mkdir /opt/FDclient
cd /opt
@@ -92,4 +89,17 @@ sleep 1
cd /opt
mv vdns.sh /etc/init.d
update-rc.d vdns.sh defaults
+
+# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
+if [[ $CLOUD_ENV != "rackspace" ]]
+then
+ sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
+ grub-mkconfig -o /boot/grub/grub.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/udev/rules.d/70-persistent-net.rules
+ echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
+ echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic
+ reboot
+fi
+
./v_dns_init.sh \ No newline at end of file
diff --git a/vnfs/vLB/scripts/v_lb_init.sh b/vnfs/vLB/scripts/v_lb_init.sh
index 8767a943..9223e043 100755
--- a/vnfs/vLB/scripts/v_lb_init.sh
+++ b/vnfs/vLB/scripts/v_lb_init.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Start VPP
-start vpp
+systemctl start vpp
sleep 1
# Compute the network CIDR from the Netmask
@@ -25,30 +25,33 @@ mask2cidr() {
echo "$nbits"
}
-IPADDR1_MASK=$(ifconfig eth0 | grep "Mask" | awk '{print $4}' | awk -F ":" '{print $2}')
+IPADDR1_MASK=$(ifconfig eth3 | grep "Mask" | awk '{print $4}' | awk -F ":" '{print $2}')
IPADDR1_CIDR=$(mask2cidr $IPADDR1_MASK)
IPADDR2_MASK=$(ifconfig eth1 | grep "Mask" | awk '{print $4}' | awk -F ":" '{print $2}')
IPADDR2_CIDR=$(mask2cidr $IPADDR2_MASK)
# Configure VPP for vPacketGenerator
-IPADDR1=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
+IPADDR1=$(ifconfig eth3 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
IPADDR2=$(ifconfig eth1 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
-HWADDR1=$(ifconfig eth0 | grep HWaddr | tr -s ' ' | cut -d' ' -f5)
+HWADDR1=$(ifconfig eth3 | grep HWaddr | tr -s ' ' | cut -d' ' -f5)
HWADDR2=$(ifconfig eth1 | grep HWaddr | tr -s ' ' | cut -d' ' -f5)
-FAKE_HWADDR1=$(echo -n 00; dd bs=1 count=5 if=/dev/urandom 2>/dev/null |hexdump -v -e '/1 ":%02X"')
-FAKE_HWADDR2=$(echo -n 00; dd bs=1 count=5 if=/dev/urandom 2>/dev/null |hexdump -v -e '/1 ":%02X"')
+FAKE_HWADDR1=$(echo -n 00; dd bs=1 count=5 if=/dev/urandom 2>/dev/null | hexdump -v -e '/1 ":%02X"')
+FAKE_HWADDR2=$(echo -n 00; dd bs=1 count=5 if=/dev/urandom 2>/dev/null | hexdump -v -e '/1 ":%02X"')
GW=$(route -n | grep "^0.0.0.0" | awk '{print $2}')
+PKTGEN_IPADDR=$(cat /opt/config/pktgen_ipaddr.txt)
+PKTGEN_MAC=$(cat /opt/config/pktgen_mac.txt)
+VIP=$(cat /opt/config/vip.txt)
-ifconfig eth0 down
-ifconfig eth0 hw ether $FAKE_HWADDR1
-ip addr flush dev eth0
-ifconfig eth0 up
+ifconfig eth3 down
+ifconfig eth3 hw ether $FAKE_HWADDR1
+ip addr flush dev eth3
+ifconfig eth3 up
vppctl tap connect tappub hwaddr $HWADDR1
-vppctl set int ip address tap-0 $IPADDR1"/"$IPADDR1_CIDR
+vppctl set int ip address tap-0 $VIP"/"$IPADDR1_CIDR
vppctl set int state tap-0 up
brctl addbr br0
brctl addif br0 tappub
-brctl addif br0 eth0
+brctl addif br0 eth3
ifconfig br0 up
ifconfig eth1 down
@@ -66,13 +69,16 @@ sleep 1
vppctl lb conf ip4-src-address $IPADDR2
vppctl lb vip $IPADDR1"/32" encap gre4
-vppctl ip route add 0.0.0.0/0 via $GW
sleep 1
+vppctl set ip arp proxy $IPADDR1" - "$IPADDR1
+vppctl set interface proxy-arp tap-0 enable
+vppctl set ip arp tap-0 $PKTGEN_IPADDR $PKTGEN_MAC
+
cd /opt/FDserver
./dnsmembership.sh &>/dev/null &disown
# Start VES client
cd /opt/VES/code/evel_training/VESreporting/
echo 0 > active_dns.txt
-./go-client.sh &>/dev/null &disown
+./go-client.sh &>/dev/null &disown \ No newline at end of file
diff --git a/vnfs/vLB/scripts/v_lb_install.sh b/vnfs/vLB/scripts/v_lb_install.sh
index 394a6c8c..a6577c4a 100644
--- a/vnfs/vLB/scripts/v_lb_install.sh
+++ b/vnfs/vLB/scripts/v_lb_install.sh
@@ -25,7 +25,7 @@ then
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
- IP=$(cat /opt/config/local_private_ipaddr.txt)
+ IP=$(cat /opt/config/ip_to_dns_net.txt)
BITS=$(cat /opt/config/vlb_private_net_cidr.txt | cut -d"/" -f2)
NETMASK=$(cdr2mask $BITS)
echo "auto eth1" >> /etc/network/interfaces
@@ -43,18 +43,24 @@ then
echo " netmask $NETMASK" >> /etc/network/interfaces
echo " mtu $MTU" >> /etc/network/interfaces
- ifup eth1
- ifup eth2
+ IP=$(cat /opt/config/ip_to_pktgen_net.txt)
+ BITS=$(cat /opt/config/pktgen_private_net_cidr.txt | cut -d"/" -f2)
+ NETMASK=$(cdr2mask $BITS)
+ echo "auto eth3" >> /etc/network/interfaces
+ echo "iface eth3 inet static" >> /etc/network/interfaces
+ echo " address $IP" >> /etc/network/interfaces
+ echo " netmask $NETMASK" >> /etc/network/interfaces
+ echo " mtu $MTU" >> /etc/network/interfaces
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y make gcc wget openjdk-8-jdk bridge-utils libcurl4-openssl-dev apt-transport-https ca-certificates
+apt-get install --allow-unauthenticated -y make gcc wget openjdk-8-jdk bridge-utils libcurl4-openssl-dev apt-transport-https ca-certificates
sleep 1
# Download vLB demo code for load balancer
-mkdir /opt/config
mkdir /opt/FDserver
cd /opt
@@ -67,9 +73,9 @@ wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/vlb/dns-manager/$DEMO_ARTIFACTS_VERSI
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/ves/ves/$DEMO_ARTIFACTS_VERSION/ves-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/ves/ves_vlb_reporting/$DEMO_ARTIFACTS_VERSION/ves_vlb_reporting-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
-tar -zxvf ves-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
+tar -zmxvf ves-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
mv ves-$DEMO_ARTIFACTS_VERSION VES
-tar -zxvf ves_vlb_reporting-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
+tar -zmxvf ves_vlb_reporting-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
mv ves_vlb_reporting-$DEMO_ARTIFACTS_VERSION VESreporting_vLB
mv VESreporting_vLB /opt/VES/code/evel_training/VESreporting
@@ -86,16 +92,9 @@ chmod +x /opt/FDserver/dnsmembership.sh
chmod +x /opt/FDserver/add_dns.sh
chmod +x /opt/FDserver/remove_dns.sh
-# Create a file with public IP of the VM if it doesn't exist. This is for VMs directly attached to the external network.
-if [ ! -e /opt/config/local_public_ipaddr.txt ]
-then
- IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
- echo $IP_ADDRESS > /opt/config/local_public_ipaddr.txt
-fi
-
# Install VPP
-export UBUNTU="trusty"
-export RELEASE=".stable.1609"
+export UBUNTU="xenial"
+export RELEASE=".stable.1707"
rm /etc/apt/sources.list.d/99fd.io.list
echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io$RELEASE.ubuntu.$UBUNTU.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
apt-get update
@@ -112,4 +111,17 @@ sleep 1
cd /opt
mv vlb.sh /etc/init.d
update-rc.d vlb.sh defaults
+
+# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
+if [[ $CLOUD_ENV != "rackspace" ]]
+then
+ sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
+ grub-mkconfig -o /boot/grub/grub.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/udev/rules.d/70-persistent-net.rules
+ echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
+ echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic
+ reboot
+fi
+
./v_lb_init.sh \ No newline at end of file
diff --git a/vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh b/vnfs/vLB/scripts/v_packetgen_init.sh
index 9e7879bc..3e0de3e6 100644
--- a/vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh
+++ b/vnfs/vLB/scripts/v_packetgen_init.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Start VPP
-start vpp
+systemctl start vpp
sleep 1
# Compute the network CIDR from the Netmask
@@ -25,51 +25,37 @@ mask2cidr() {
echo "$nbits"
}
-IPADDR1_MASK=$(ifconfig eth0 | grep "Mask" | awk '{print $4}' | awk -F ":" '{print $2}')
+IPADDR1_MASK=$(ifconfig eth1 | grep "Mask" | awk '{print $4}' | awk -F ":" '{print $2}')
IPADDR1_CIDR=$(mask2cidr $IPADDR1_MASK)
# Configure VPP for vPacketGenerator
-IPADDR1=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
-HWADDR1=$(ifconfig eth0 | grep HWaddr | tr -s ' ' | cut -d' ' -f5)
+IPADDR1=$(ifconfig eth1 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
+HWADDR1=$(ifconfig eth1 | grep HWaddr | tr -s ' ' | cut -d' ' -f5)
FAKE_HWADDR1=$(echo -n 00; dd bs=1 count=5 if=/dev/urandom 2>/dev/null | hexdump -v -e '/1 ":%02X"')
VLB_IPADDR=$(cat /opt/config/vlb_ipaddr.txt)
+VLB_MAC=$(cat /opt/config/vlb_mac.txt)
GW=$(route -n | grep "^0.0.0.0" | awk '{print $2}')
-ifconfig eth0 down
-ifconfig eth0 hw ether $FAKE_HWADDR1
-ip addr flush dev eth0
-ifconfig eth0 up
+ifconfig eth1 down
+ifconfig eth1 hw ether $FAKE_HWADDR1
+ip addr flush dev eth1
+ifconfig eth1 up
vppctl tap connect tap111 hwaddr $HWADDR1
vppctl set int ip address tap-0 $IPADDR1"/"$IPADDR1_CIDR
vppctl set int state tap-0 up
brctl addbr br0
brctl addif br0 tap111
-brctl addif br0 eth0
+brctl addif br0 eth1
ifconfig br0 up
vppctl ip route add 0.0.0.0/0 via $GW
sleep 1
-
# Set br0 with public IP and valid MAC so that Linux will have public network access
ifconfig br0 hw ether $HWADDR1
ifconfig br0 $IPADDR1 netmask $IPADDR1_MASK
route add default gw $GW
-
-#Adding static arp entry for VPP so that it will be able to send packets to default GW
-ping -c 1 $VLB_IPADDR &>/dev/null &disown
-sleep 3
-
-GW_MAC=$(arp -n | grep -w $GW | tr -s ' ' | cut -d' ' -f3)
-VLB_MAC=$(arp -n | grep -w $VLB_IPADDR | tr -s ' ' | cut -d' ' -f3)
-
-# If VLB is in our network, we will use its MAC
-if [ ! -z "$VLB_MAC" ]
-then
- vppctl set ip arp tap-0 $VLB_IPADDR $VLB_MAC
-fi
-
-# Add arp entry for default GW
-vppctl set ip arp tap-0 $GW $GW_MAC
+sleep 1
+vppctl set ip arp tap-0 $VLB_IPADDR $VLB_MAC
# Install packet streams
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns1
@@ -104,17 +90,11 @@ vppctl exec /opt/dns_streams/stream_dns7
vppctl exec /opt/dns_streams/stream_dns8
vppctl exec /opt/dns_streams/stream_dns9
vppctl exec /opt/dns_streams/stream_dns10
-sleep 1
-# Start HoneyComb
-VERSION=$(cat /opt/config/demo_artifacts_version.txt)
-echo "" > /var/lib/honeycomb/persist/context/data.json
-echo "" > /var/lib/honeycomb/persist/config/data.json
-/opt/honeycomb/sample-distribution-$VERSION/honeycomb &>/dev/null &disown
-sleep 20
+vppctl set int ip address pg0 $(cat /opt/config/pg_int.txt)"/"$IPADDR1_CIDR
+sleep 1
# Enable traffic flows
cd /opt
chmod +x run_streams_dns.sh
-./run_streams_dns.sh &>/dev/null &disown
-
+./run_streams_dns.sh &>/dev/null &disown \ No newline at end of file
diff --git a/vnfs/vLB/scripts/v_packetgen_install.sh b/vnfs/vLB/scripts/v_packetgen_install.sh
index 2a2d7a24..ca2957a7 100644
--- a/vnfs/vLB/scripts/v_packetgen_install.sh
+++ b/vnfs/vLB/scripts/v_packetgen_install.sh
@@ -6,6 +6,14 @@ DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
+# Convert Network CIDR to Netmask
+cdr2mask () {
+ # Number of args to shift, 255..255, first non-255 byte, zeroes
+ set -- $(( 5 - ($1 / 8) )) 255 255 255 255 $(( (255 << (8 - ($1 % 8))) & 255 )) 0 0 0
+ [ $1 -gt 1 ] && shift $1 || shift
+ echo ${1-0}.${2-0}.${3-0}.${4-0}
+}
+
# OpenStack network configuration
if [[ $CLOUD_ENV == "openstack" ]]
then
@@ -14,40 +22,54 @@ then
# Allow remote login as root
mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bk
cp /home/ubuntu/.ssh/authorized_keys /root/.ssh
+
+ MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+
+ IP=$(cat /opt/config/local_private_ipaddr.txt)
+ BITS=$(cat /opt/config/pktgen_private_net_cidr.txt | cut -d"/" -f2)
+ NETMASK=$(cdr2mask $BITS)
+ echo "auto eth1" >> /etc/network/interfaces
+ echo "iface eth1 inet static" >> /etc/network/interfaces
+ echo " address $IP" >> /etc/network/interfaces
+ echo " netmask $NETMASK" >> /etc/network/interfaces
+ echo " mtu $MTU" >> /etc/network/interfaces
+
+ IP=$(cat /opt/config/oam_private_ipaddr.txt)
+ BITS=$(cat /opt/config/onap_private_net_cidr.txt | cut -d"/" -f2)
+ NETMASK=$(cdr2mask $BITS)
+ echo "auto eth2" >> /etc/network/interfaces
+ echo "iface eth2 inet static" >> /etc/network/interfaces
+ echo " address $IP" >> /etc/network/interfaces
+ echo " netmask $NETMASK" >> /etc/network/interfaces
+ echo " mtu $MTU" >> /etc/network/interfaces
fi
# Download required dependencies
-add-apt-repository -y ppa:openjdk-r/ppa
+echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
+echo "deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu $(lsb_release -c -s) main" >> /etc/apt/sources.list.d/java.list
apt-get update
-apt-get install -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
+apt-get install --allow-unauthenticated -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
pip install jsonschema
# Download vFirewall demo code for packet generator
-mkdir /opt/config
-mkdir /opt/honeycomb
cd /opt
-wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/v_packetgen_for_dns_demo_init.sh
-wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/vpacketgenfordnsdemo.sh
+wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/v_packetgen_init.sh
+wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/vpacketgen.sh
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/run_streams_dns.sh
wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/vdnspacketgen_change_streams_ports.sh
-wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/sample-distribution/$DEMO_ARTIFACTS_VERSION/sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/vlb/vlb_dns_streams/$DEMO_ARTIFACTS_VERSION/vlb_dns_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
-tar -zxvf vpp.tar.gz
-tar -zxvf sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
-mv sample-distribution-$DEMO_ARTIFACTS_VERSION honeycomb
-sed -i 's/"restconf-binding-address": "127.0.0.1",/"restconf-binding-address": "0.0.0.0",/g' honeycomb/sample-distribution-$DEMO_ARTIFACTS_VERSION/config/honeycomb.json
-tar -zxvf vlb_dns_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
+tar -zmxvf vlb_dns_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz
mv vlb_dns_streams-$DEMO_ARTIFACTS_VERSION dns_streams
rm *.tar.gz
-chmod +x v_packetgen_for_dns_demo_init.sh
-chmod +x vpacketgenfordnsdemo.sh
+chmod +x v_packetgen_init.sh
+chmod +x vpacketgen.sh
chmod +x run_streams_dns.sh
chmod +x vdnspacketgen_change_streams_ports.sh
# Install VPP
-export UBUNTU="trusty"
-export RELEASE=".stable.1609"
+export UBUNTU="xenial"
+export RELEASE=".stable.1707"
rm /etc/apt/sources.list.d/99fd.io.list
echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io$RELEASE.ubuntu.$UBUNTU.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
apt-get update
@@ -56,6 +78,22 @@ sleep 1
# Run instantiation script
cd /opt
-mv vpacketgenfordnsdemo.sh /etc/init.d
-update-rc.d vpacketgenfordnsdemo.sh defaults
-./v_packetgen_for_dns_demo_init.sh
+mv vpacketgen.sh /etc/init.d
+update-rc.d vpacketgen.sh defaults
+
+# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
+if [[ $CLOUD_ENV != "rackspace" ]]
+then
+ sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub
+ grub-mkconfig -o /boot/grub/grub.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg
+ sed -i "s/ens[0-9]*/eth0/g" /etc/udev/rules.d/70-persistent-net.rules
+ echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
+ echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic
+ reboot
+fi
+
+# Install a cron job that restart streams every minute. This allows to map streams to different vDNSs when we scale out the VNF
+echo "* * * * * /opt/vdnspacketgen_change_streams_ports.sh" | crontab
+
+./v_packetgen_init.sh
diff --git a/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh b/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh
index 9bd77162..e4723880 100644
--- a/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh
+++ b/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-#Disable all streams via Honeycomb (so that it will in consistent state)
-curl -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{"pg-streams":{"pg-stream": []}}' "http://localhost:8183/restconf/config/sample-plugin:sample-plugin/pg-streams"
+#Disable all streams
+killall -9 run_streams_dns.sh
vppctl pac del dns1
vppctl pac del dns2
@@ -14,10 +14,9 @@ vppctl pac del dns8
vppctl pac del dns9
vppctl pac del dns10
-
#Update destination (vLB) IP
VLB_IPADDR=$(cat /opt/config/vlb_ipaddr.txt)
-IPADDR1=$(ifconfig br0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
+IPADDR1=$(cat /opt/config/local_private_ipaddr.txt)
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns1
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns2
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns3
@@ -50,4 +49,8 @@ vppctl exec /opt/dns_streams/stream_dns6
vppctl exec /opt/dns_streams/stream_dns7
vppctl exec /opt/dns_streams/stream_dns8
vppctl exec /opt/dns_streams/stream_dns9
-vppctl exec /opt/dns_streams/stream_dns10 \ No newline at end of file
+vppctl exec /opt/dns_streams/stream_dns10
+
+#Resume stream execution
+cd /opt
+./run_streams_dns.sh &>/dev/null &disown \ No newline at end of file
diff --git a/vnfs/vLB/scripts/vpacketgenfordnsdemo.sh b/vnfs/vLB/scripts/vpacketgen.sh
index 427e5337..1d00fd9c 100644
--- a/vnfs/vLB/scripts/vpacketgenfordnsdemo.sh
+++ b/vnfs/vLB/scripts/vpacketgen.sh
@@ -10,7 +10,7 @@
### END INIT INFO
dir="/opt"
-cmd="./v_packetgen_for_dns_demo_init.sh"
+cmd="./v_packetgen_init.sh"
user="root"
name=`basename $0`