Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

ProXy as a Service (PXaaS) virtual Network Function (vNF)

Vagrant configuration file for PXaaS vNF provisioning in the framework of the T-NOVA project.

A Debian Jessie box is built, which contains Squid, SquidGuard and a dashboard.

The PXaaS vNF enables the provider to deploy a proxy/filtering/web access service on demand onto a cloud infrastructure.

Squid typically uses only a single processor, even on a multi-processor machine. To get increased web-caching performance, it is better to scale the web cache out across multiple vNFs.

Host machine requirements

Provision the VM

Step 1. Clone the proxy-build repository, and cd into the folder:

    git clone https://github.com/T-NOVA/proxy-build && cd proxy-build

Step 2. Provision the VM:

    vagrant up --provider libvirt

Once provisioning is done, the VM should be up and running with Squid, SquidGuard, preconfigured blacklists and dashboard.

Step 3. Change the vagrant user's password so users can log in:

    vagrant ssh
    sudo passwd vagrant

Step 4. On your dev machine, access the dashboard at http://pxaas. To test the Squid proxy do:

    curl -x pxaas:8000 http://google.com

To test that site blocking is enabled do:

    curl -x pxaas:8000 http://facebook.com

Reload the VM configuration

The VM is configured to pull new commits into the dashboard directory on reload. Execute:

    vagrant reload

Local VM development

To work on the local VM, first provision it and then use a sandbox environment to test, commit or rollback additional configuration.

Step 1. Install the sahara and fog plugins

    vagrant plugin install sahara
    vagrant plugin install fog

Step 2. Enter sandbox mode

    vagrant sandbox on

Step 3. Save the changes permanently

    vagrant sandbox commit

OR Step 3. Rollback the changes

    vagrant sandbox rollback

Step 4. Exit sandbox mode

    vagrant sandbox off

About

PXaaS VNF

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.