Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Ubuntu 16.04
  2. apt-get install  kea-dhcp4-server
  3. install library  : kea-sdnc-notify.so  (/usr/local/lib)
    1. this library is built from source (hacked up copy of kea-pxe-replace4-mod)
    2. creates the hook which listens on pkt4_send
    3. sends an HTTP POST via libcurl if message is DHCPACK (that is response to client after Discover/Offer/Request)
    4. POST has macaddr, msg_name,  yiaddr (yiaddr is the one we want in SDNC)
    5. No response required since we are not re-writing the packet

 

  1. install conf files:
    1. /etc/kea/kea-dhcp4.conf

                                                    i.     This file sets ups the giaddr and ip blocks to be served

                                                   ii.     In the demo its 192.0.2.0/24

    1. /etc/kea/kea-sdnc-notify.conf

                                                    i.     This file sets the desintation url

                                                   ii.     For testing “http://localhost/sdnc.php?macaddr=”

                                                  iii.     For ONAP it would be a DMaaP TOPIC

  1. Start kea-dhcp4-server
  2. Logs in /var/log/kea-dhcp4.log
View file
namehosts
height250

...

View file
name
vcpe
onap-
amsterdam
archiving-
demo-201712-santa-clara-onap-event.pptx
and-restore.mp4
height250
{ "vnfs":

View file
namemso.config.20180810.tar
height250



            { "vnf-list": [ { "vnf-id": "b75d7e0d-67e5-4424-ab26-e6ab74f8ae70", "service-data": { "vnf-request-information": { "vnf-type": "Vspbrgemu111601..base_vcpe_vbrgemu..module-0", "vnf-id": "b75d7e0d12312f32-67e5cdcb-442447cc-ab26a6e5-e6ab74f8ae70822b849cc58e", "

            "generic-vnf-name": "zRegionOne05",

            "vcpe_vnf_vspbrgemu111601_201711301319", "use-preload": "Y", "generic-vnf-type": "vcpesvcbrgemu111601/vspbrgemu111601 0", "tenant": "087050388b204c73a3e418dd2c1fe30b", "vnf-name": "vcpe_vfmodule_vspbrgemu111601_201711301319", "aic-cloud-region": "RegionOne", "generic-vnf-vcpesvc_rescust_0529a/vcpevsp_vgw_0412 0",

            "service-id": "61f04ad4a9a77d5a-414c123e-462d4ca2-8e149eb9-a02d4ad218430b015d2ee0fb" },


View file
namevcpe-custom-service.py
height250
View file
name1116-run-vcperescust.sh-VcpesvcInfra0529a-csar.csar
height250


View file
View file
namesetservice-vgmuxVcpesvcInfra0412a-ves-collector.sh
height250

View file
namesb01-hosts
height250
View file
nameclean_mux_vxlan.sh
height250
View file
namelist_mux_vxlan.sh
height250

View file
namerun-vcperescust.sh
height250

namesb01-hostscsar.csar
height250