diff --git a/autoheal_ns/autoheal_nsd.yaml b/autoheal_ns/autoheal_nsd.yaml new file mode 100755 index 0000000000000000000000000000000000000000..cdb7c9a5191af5a4bbcbd19c91f9bbaa654296e4 --- /dev/null +++ b/autoheal_ns/autoheal_nsd.yaml @@ -0,0 +1,23 @@ +nsd: + nsd: + - description: autoheal_nsd Network Service + designer: TATA ELXSI + df: + - id: default-df + vnf-profile: + - id: autoheal-basic-1 + vnfd-id: autoheal_vnfd + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: autoheal-basic-1 + constituent-cpd-id: vnf-cp0-ext + virtual-link-profile-id: mgmt + id: autoheal_nsd + name: autoheal_nsd + version: 1.0 + virtual-link-desc: + - id: mgmt + mgmt-network: true + #vim-network-name: management + vnfd-id: + - autoheal_vnfd diff --git a/autoheal_vnf/autoheal_vnfd.yaml b/autoheal_vnf/autoheal_vnfd.yaml new file mode 100755 index 0000000000000000000000000000000000000000..bb2310815c3a414ed44a557f5c180752cf748e2c --- /dev/null +++ b/autoheal_vnf/autoheal_vnfd.yaml @@ -0,0 +1,60 @@ +vnfd: + description: autoheal VNFD package enabled with Autohealing + df: + - id: default-df + instantiation-level: + - id: default-instantiation-level + vdu-level: + - number-of-instances: 1 + vdu-id: autoheal_vnfd-VM + vdu-profile: + - id: autoheal_vnfd-VM + min-number-of-instances: 1 + max-number-of-instances: 2 + healing-aspect: + - id: autoheal_vnfd-VM_autoheal + healing-policy: + - vdu-id: autoheal_vnfd-VM + event-name: heal-alarm + recovery-type: automatic + action-on-recovery: REDEPLOY_ONLY + cooldown-time: 180 + day1: false + ext-cpd: + - id: vnf-cp0-ext + int-cpd: + cpd: vdu-eth0-int + vdu-id: autoheal_vnfd-VM + id: autoheal_vnfd + mgmt-cp: vnf-cp0-ext + product-name: autoheal_vnfd + provider: TATA ELXSI + sw-image-desc: + - id: ubuntu20.04 + image: ubuntu20.04 + name: ubuntu20.04 + vdu: + - description: autoheal_vnfd-VM + id: autoheal_vnfd-VM + int-cpd: + - id: vdu-eth0-int + virtual-network-interface-requirement: + - name: eth0 + position: 1 + virtual-interface: + type: PARAVIRT + name: autoheal_vnfd-VM + sw-image-desc: ubuntu20.04 + virtual-compute-desc: autoheal_vnfd-VM-compute + virtual-storage-desc: + - autoheal_vnfd-VM-storage + version: 1.0 + virtual-compute-desc: + - id: autoheal_vnfd-VM-compute + virtual-cpu: + num-virtual-cpu: 1 + virtual-memory: + size: 1 + virtual-storage-desc: + - id: autoheal_vnfd-VM-storage + size-of-storage: 12