Giter Site home page Giter Site logo

vnfpp-cg's Introduction

VNFPP-CG (VNF Placement Problem - Column Generation)

This library consists of a set of tools for solving the VNF placement problem using column generation.

In Network Function Virtualisation (NFV), network functions are virtualised and hosted on industrial standard high volume servers. A request to route traffic through a sequence of Virtual Network Functions (VNF) is denoted a Service Function Chain (SFC). The VNF placement problem involves computing the optimal placement of VNF's and provisioning of SFC's within the physical network infrastructure, subject to hardware restrictions and the Quality of Service (QoS) constraints outlined in the Service Level Agreement (SLA). In 5G and beyond, the QoS constraints are expected to become more tailored to cope with diverse service use cases. In this paper, we present a VNF placement algorithm based on the column generation method, which computes the optimal number and placement of VNF's and routing of SFC's while maximising QoS. SLA constraints (latency, data-rate and availability) are modelled as soft constraints for which violation incurs a cost which is then minimised. We validate our approach against a heuristic greedy algorithm on a multi-tiered Radio Access Network (RAN) and show that the column generation method offers a significant reduction in SLA violation cost at the expense of increased run-time. We also highlight that satisfying QoS (in particular availability) can dramatically increase the number of host nodes required, thus a trade-off exists between SLA violation cost and operational cost which should be explored further.

Current modules include:

  • topology

    • network - A class to model telecoms networks, where the network is composed of a graph made up of a number of links and locations.
    • location - A class to model physical locations within the network. These can be:
      • Switch - A location solely used for routing.
      • Node - A location with compute and memory resources that can be used to host VNF's.
    • link - A class to model physical links between two locations in the network.
  • service_class

    • vnf - A class used to model virtual network functions.
    • service - A class used to model a service request. Each service request has a flow that must be processed by an ordered sequence of VNF's.
    • graph - A class used to model an augmented service graph. This is used as the "shortest path" column generation sub prolem.
    • path - A class used to model a path on the augmented service graph.
  • optimisation

    • column_generation - A class used to model VNF-PP as a column generation optimisation problem. This iterates between two problems, the Restricted Master Problem (rmp) and the Column Generation Problem (pricing_problem).

Requirements

VNFPP-CG makes use of type hinting generics (e.g. l : list[str] = ()) introduced in Python 3.9.

Install using git:

git clone

VNFPP-CG has the following dependencies:

Example

A toy example is provided in toy_example.py. This loads the RAN test topology, set of VNF's and service types. It randomly samples 10 service requests and then solves using both column generation and a greedy heuristic. Set verbose = 0 for no output, verbose = 1 for logfile, verbose = 2 for logfile, .lp and .ilp output. The result will be saved as a .json file, output directory can be changed by modifying fname.

vnfpp-cg's People

Contributors

andmur09 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.