Affinity and anti-affinity rules for VNF deployment
[osm/Features.git] / Release3 / Affinity_and_anti-affinity_rules_for_VNF_deployment.md
1 # Affinity and anti-affinity rules for VNF deployment #
2
3 ## Proposer ##
4 - Gerardo Garcia (Telefonica)
5 - Alfonso Tierno (Telefonica)
6 - Francisco Javier Ramon (Telefonica)
7
8 ## Type ##
9 **Feature**
10
11 ## Target MDG/TF ##
12 SO, RO
13
14 ## Description ##
15 OSM should provide means to specify that different VDUs of the same VNF should 
16 be deployed in different availability zones of the same datacenter. This 
17 behaviour is often required by VNFs that implement active-standby resiliency 
18 strategies.
19
20 Current OSM\92s IM might need to be extended to support this feature.
21
22 ## Demo or definition of done ##
23 - Add a datacenter to OSM specifying more than one availability zone.
24 - Add a second datacenter with only one zone.
25 - Onboard a VNF with 2 VDUs, with a VNFD that mandates that these VDUs must be 
26 deployed in different availability zones.
27 - Onboard an NS which includes the VNF above.
28 - Instantiate the NS in the datacenter with 2 availability zones and check that 
29 the VDUs are deployed as expected.
30 - Instantiate the NS in the datacenter with one zone and check that it fails.