[CORD-2519] modify blueprint to add hss_db

Change-Id: I35315854ff420a7794365a3de434f09e41995f45
diff --git a/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py b/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py
index 741d4f0..711a28b 100644
--- a/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py
+++ b/xos/synchronizer/model_policies/model_policy_vepcserviceinstance.py
@@ -72,7 +72,12 @@
                 raise Exception('No VHSS vendors')
             service_instance.vhss_vendor = vendor
             service_instance.invalidate_cache('vhss_vendor')
-
+        elif service_instance.leaf_model_name == 'HSSDBServiceInstance':
+            vendor = HSSDBVendor.objects.first()
+            if not vendor:
+                raise Exception('No HSSDB vendors')
+            service_instance.hssdb_vendor = vendor
+            service_instance.invalidate_cache('hssdb_vendor')
 
     def child_service_instance_from_name(self, name):
         service_instances = self.obj.child_serviceinstances.all()
diff --git a/xos/synchronizer/vepc_config.yaml b/xos/synchronizer/vepc_config.yaml
index 0c01fed..156429c 100644
--- a/xos/synchronizer/vepc_config.yaml
+++ b/xos/synchronizer/vepc_config.yaml
@@ -88,6 +88,11 @@
         permit_all_slices: True
         template: private_template
         owner: vhss
+      - name: db_network
+        subnet: 121.0.0.0/24
+        permit_all_slices: True
+        template: private_template
+        owner: vhss
     graph:
       - name: VMMETenant
         networks:
@@ -121,6 +126,15 @@
         networks:
           - management
           - s6a_network
+          - db_network
+        links:
+          - name: HSSDBServiceInstance
+            networks:
+              - db_network
+      - name: HSSDBServiceInstance
+        networks:
+          - management
+          - db_network
 
 dependency_graph: "/opt/xos/synchronizers/epc-service/model-deps"
 #steps_dir: "/opt/xos/synchronizers/epc-service/steps"