SFC allocation in CloudSim
-
I'm new to the subject of CloudSim and I've run some of the existing examples in the CloudSim package (the 8 existing examples...).
I want to implement an optimal SFC allocation scenario with CloudSim. This scenario will include definition of cost function to allocate the virtual network functions (included in the service function chain) optimally on the network nodes with processing resources (CPUs).
Moreover there will be constraints for the aforementioned cost function. And this optimization problem could be solved through different heuristic methods such as genetic algorithm and so on.
I know that there's a class named DatacenterBroker that must be extended in order to be able to create my own algorithm for submitting Cloudlets to the defined virtual machines. I'm also aware that in order to create new algorithms to place the defined VMs in the hosts (in a Datacenter) a class named VmAllocationPolicy (which is defined as an abstract class) has to be extended. But I want to find out what algorithm is used in this class by default so I get some ideas on how to propose new algorithms. But since it is an abstract class I can't see what's inside its methods. So what do I have to do about it?
Secondly I Want to know if it is possible to consider Datacenters as nodes of the network and define links with specific bandwidths and latencies between those Datacenters. And how am I going to include my optimization code in the scenario? How to define an algorithm for routing between these Datacenters after the aforementioned placement has taken place? How to define the ingress node and egress nodes in the scenario?Or does anyone have any idea if implementing such scenario is possible in mininet environment? how?
thanks
-
I'm new to the subject of CloudSim and I've run some of the existing examples in the CloudSim package (the 8 existing examples...).
I want to implement an optimal SFC allocation scenario with CloudSim. This scenario will include definition of cost function to allocate the virtual network functions (included in the service function chain) optimally on the network nodes with processing resources (CPUs).
Moreover there will be constraints for the aforementioned cost function. And this optimization problem could be solved through different heuristic methods such as genetic algorithm and so on.
I know that there's a class named DatacenterBroker that must be extended in order to be able to create my own algorithm for submitting Cloudlets to the defined virtual machines. I'm also aware that in order to create new algorithms to place the defined VMs in the hosts (in a Datacenter) a class named VmAllocationPolicy (which is defined as an abstract class) has to be extended. But I want to find out what algorithm is used in this class by default so I get some ideas on how to propose new algorithms. But since it is an abstract class I can't see what's inside its methods. So what do I have to do about it?
Secondly I Want to know if it is possible to consider Datacenters as nodes of the network and define links with specific bandwidths and latencies between those Datacenters. And how am I going to include my optimization code in the scenario? How to define an algorithm for routing between these Datacenters after the aforementioned placement has taken place? How to define the ingress node and egress nodes in the scenario?Or does anyone have any idea if implementing such scenario is possible in mininet environment? how?
thanks