Sample VNF Rack and VNF Descriptor Configuration File

As described in Configure the VNF Rack and the VNF Descriptors, VNF rack configuration parameters are contained in the VIM Artifact Descriptor (VIM-ArtifactD) while VNF configuration parameters are contained in the VNF descriptor (VNFD).


Caution

This is only a sample configuration file provided solely for your reference. You must create and modify your own configuration file according to the specific needs of your deployment.


uas-mode generic
uas-instance autoit
 external-connection-point 172.21.201.68
 scm                       scm
!
nsd fremont-autovnf
 vim-identity vim1
 vim-artifact vim_artifact_one
 vnf-package  [ usp_5_7 ]
 require      [ autoit ]
 vld mgmt
  vl-type          management
  network-instance abc-mgmt1
 !
 vld orch
  vl-type          orchestration
  network-instance autoit-abc-orch1
 !
 vld service
  vl-type service
  network service1
 !
 vnfd esc
  vnf-type          esc
  version           6.0
  high-availability true
  configuration openstack.endpoint publicURL
  configuration secure-login false
  configuration boot-time 1800
  configuration set-vim-instance-name true
  external-connection-point esc
   aggregate-connection-point eth0
   floating-ip disabled
  !
  vnfc esc
   health-check disabled
   health-check boot-time 300
   vdu vdu-id esc
   aggregate-connection-point eth0
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
  !
 !
 vnfd vpc
  vnf-type          ugp
  version           6.0
  high-availability true
  vnfm vnfd esc
  configuration internal-network-mtu 1500
  configuration boot-time 1800
  configuration domain-name cisco.com
  configuration set-vim-instance-name true
  configuration dns-server 1.1.1.1
  !
  vld di_internal
   network-instance di-internal1
  !
  external-connection-point cf
   aggregate-connection-point eth1
   floating-ip disabled
  !
  external-connection-point em
   aggregate-connection-point eth0
   floating-ip disabled
  !
  vnfc em
   health-check enabled
   health-check probe-frequency 10
   health-check probe-max-miss 6
   health-check retry-count 6
   health-check recovery-type restart-then-redeploy
   health-check boot-time 300
   vdu vdu-id em
   number-of-instances 2
   aggregate-connection-point eth0
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
  !
  vnfc cf
   health-check enabled
   health-check probe-frequency 10
   health-check probe-max-miss 6
   health-check retry-count 6
   health-check recovery-type restart-then-redeploy
   health-check boot-time 300
   vdu vdu-id cf
   number-of-instances 1
   aggregate-connection-points ab
    aggregate-connection-point eth0
    !
    aggregate-connection-point eth1
    !
   !
   aggregate-connection-point eth0
    virtual-link internal-vl di_internal
   !
   aggregate-connection-point eth1
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth2
    virtual-link service-vl orch
   !
  !
  vnfc sf
   health-check enabled
   health-check probe-frequency 10
   health-check probe-max-miss 6
   health-check retry-count 6
   health-check recovery-type restart-then-redeploy
   health-check boot-time 300
   vdu vdu-id sf
   number-of-instances 2
   aggregate-connection-point eth0
    virtual-link internal-vl di_internal
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
   aggregate-connection-point eth2
    virtual-link service-vl service
   !
  !
 !
!
nsd autoit
 vim-identity vim1
 vim-artifact vim_artifact_one
 vnf-package  [ usp_5_7 ]
 vld mgmt
  vl-type          management
  network-instance abc-mgmt2
 !
 vld mgmt1
  vl-type          management
  network-instance abc-mgmt1
 !
 vld orch
  vl-type          orchestration
  network-instance abc-orch
 !
 vld orch1
  vl-type orchestration
  network abc-orch1
 !
 vnfd autovnf2
  vnf-type          usp-uas
  version           6.0
  high-availability true
  deploy-nsd               fremont-autovnf
  configuration boot-time 1800
  configuration set-vim-instance-name true
  external-connection-point avf1
   aggregate-connection-point eth0
   floating-ip enabled
   floating-ip ip-address 172.21.201.65
   floating-ip external-network public
  !
  vnfc avf1
   health-check disabled
   health-check boot-time 300
   vdu vdu-id autovnf
   aggregate-connection-point eth0
    virtual-link service-vl mgmt1
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch1
   !
  !
 !
 vnfd f-autovnf
  vnf-type          usp-uas
  version           6.0
  high-availa aggregate-bility true
  deploy-nsd               bgl26-autovnf
  configuration boot-time 1800
  configuration set-vim-instance-name true
  external-connection-point avf
   aggregate-connection-point eth0
   floating-ip enabled
   floating-ip ip-address 172.21.201.69
   floating-ip external-network public
  !
  vnfc avf
   health-check disabled
   health-check boot-time 300
   vdu vdu-id autovnf
   aggregate-connection-point eth0
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
  !
 !
!
nsd bgl26-autovnf
 vim-identity vim1
 vim-artifact vim_artifact_one
 vnf-package  [ usp_5_7 ]
 require      [ autoit ]
 vld mgmt
  vl-type          management
  network-instance abc-mgmt2
 !
 vld orch
  vl-type          orchestration
  network-instance abc-orch
 !
 vld service
  vl-type service
  network service1
 !
 vnfd esc
  vnf-type          esc
  version           6.0
  high-availability true
  configuration openstack.endpoint publicURL
  configuration secure-login false
  configuration boot-time 1800
  configuration set-vim-instance-name true
  external-connection-point esc
   aggregate-connection-point eth0
   floating-ip disabled
  !
  vnfc esc
   health-check disabled
   health-check boot-time 300
   vdu vdu-id esc
   aggregate-connection-point eth0
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
  !
 !
 vnfd vpc
  vnf-type          ugp
  version           6.0
  high-availability true
  vnfm vnfd esc
  configuration internal-network-mtu 1500
  configuration boot-time 1800
  configuration domain-name cisco.com
  configuration set-vim-instance-name true
  configuration dns-server 1.1.1.1
  !
  vld di_internal
   network-instance di-internal2
  !
  external-connection-point cf
   aggregate-connection-point eth1
   floating-ip disabled
  !
  external-connection-point em
   aggregate-connection-point eth0
   floating-ip disabled
  !
  vnfc em
   health-check enabled
   health-check probe-frequency 10
   health-check probe-max-miss 6
   health-check retry-count 6
   health-check recovery-type restart-then-redeploy
   health-check boot-time 300
   vdu vdu-id em
   number-of-instances 2
   aggregate-connection-point eth0
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
  !
  vnfc cf
   health-check enabled
   health-check probe-frequency 10
   health-check probe-max-miss 6
   health-check retry-count 6
   health-check recovery-type restart-then-redeploy
   health-check boot-time 300
   vdu vdu-id cf
   number-of-instances 1
   aggregate-connection-point eth0
    virtual-link internal-vl di_internal
   !
   aggregate-connection-point eth1
    virtual-link service-vl mgmt
   !
   aggregate-connection-point eth2
    virtual-link service-vl orch
   !
  !
  vnfc sf
   health-check enabled
   health-check probe-frequency 10
   health-check probe-max-miss 6
   health-check retry-count 6
   health-check recovery-type restart-then-redeploy
   health-check boot-time 300
   vdu vdu-id sf
   number-of-instances 2
   aggregate-connection-point eth0
    virtual-link internal-vl di_internal
   !
   aggregate-connection-point eth1
    virtual-link service-vl orch
   !
   aggregate-connection-point eth2
    virtual-link service-vl service
   !
  !
 !
!
secure-token login
 user     $8$+tD/aXNp7XB9mZPRz9AwU0QOBqEx6UViBsXr7iApIKo=
 password $8$K7sEXpYcu2s9JkKE+LzaDOWSaVKXBmRGY1lWwYzXwUM=
!
secure-token scm-admin
 user     $8$2T5dBLixl7IBriq6t08owbp5e8Qa4WRzpyjdUYxtLA8=
 password $8$FoFj/y6kTROB45idsPQbTUKh3UlSDLJZFVsofsUrCog=
!
secure-token scm-oper
 user     $8$Z1zYrUHSDYqEB1qYlgBC67RBVCOpdRQFc5BHCac7raA=
 password $8$PUngBUVSlGA95Bf3e9hg4o53y8RdmzU6zZYQI+2+Lag=
!
secure-token scm-security
 user     $8$NECfIqKrocobgh4aq5kzbW2MDLy+Ljehf6akGW4w7oU=
 password $8$YzBR/inUnTxLq9Y95w2KYB4RnwWqxllqEx1GpunV0ao=
!
secure-token em_login
 user     $8$N9RGEfjhuPl5AL5E7okfG/ixBJW59U1FNxoAztdUrpI=
 password $8$bV0tB3TkvQE+wQPr69kb87kDi/2e8N8EupyETgFj3ls=
!
secure-token staros
 user     $8$J+fJxpD6GLwBJvbR26SHQClK5KBY9QoWPoSeyEGTCJ8=
 password $8$SUr9lr5br+pkkl6soDBZDiO5Fq6kBrl2UNDHbkO8Ek8=
!
secure-token esc_netconf
 user     $8$ei4o1Fuh+SLHXBAyfZYiUB4T4ks3Py4XVCfAGE5XQ38=
 password $8$Gyk22igyv/RtLI3qNE6n75pl2VGEwNIrhLoeJufMMe0=
!
secure-token esc_login
 user     $8$Vay8ILaZXOvB3/eI2k07jAy1cbaFkzDKdknU4UOYzdY=
 password $8$Xv4tnGZw2IBsYoy+d0KMANqWubhGr5CZ8Raa0tnRJ9M=
!
secure-token cf_login
 user     $8$Z11UTKyTfsMQSgLwUcsJMUmr4d3u92iMJHpbjHc+F9E=
 password $8$lTOGXihOulMnIr5dYaZxkakaZDR3eHlId/2lQrz7NUw=
!
secure-token cimc
 user     $8$34TyySpewxUS/bmY2HuIPYDaUm3STAtKb5bq6Xek0BI=
 password $8$m5mmAmKbxZ+93H/iqqsMV5M+jLCGmPeUX8XQivk2ncE=
!
secure-token stack
 user     $8$62QNFQ8O7mU5t3yr3BVhbUtQNF/pOyEwbhp3zwS0xqE=
 password $8$rPNYsenkANEgQt0uLz1xjkIiD3SVvQyGcMTOWGnPx88=
!
secure-token ssh-baremetal
 user     $8$8D27WujADEbJ8NkxF6V5c72BWSpqbcZR46sQm2irio8=
 password $8$mTiooRQcT9ATWX93tYSwp4De7NwQMLBIgad4TnpRNLo=
!
secure-token vim-admin-creds
 user     $8$QcfLMEKX5vr+B6fltJwXwk4eIOE4pdhzwoViU0ktWMM=
 password $8$9GhEGCcGLRKMNYSlq//NvgCD29BHfW5XLvxsczvQ4ig=
!
secure-token sjc-core
 user     $8$f/kleaYoXE8Oeji30o10EYb+sAmxYuxG+6P9/tFG9eE=
 password $8$/h/BNL5lnN2Hro5cH3o1AZSUYlmRjD/ey5FwUJHjTlg=
!
secure-token os_admin
 user     $8$LQ3QLGRu1ERpxB1ifIfvEj6Y6dio8Z1okq2NXZpHWRU=
 password $8$cCd78NeeuGcLnPXLJgV1LH4HaRDPVa/9ZBfK7smIUZA=
!
secure-token oc_admin
 user     $8$+d5cKBUSsyQGWEDiG3mN10Yl0u7b2+ivTaxjRIHnymU=
 password $8$sO0NJU8Bz7nLFn80zkTZKhx3JVJQqnhG74pOnKiJ2b4=
!
secure-token uc_admin
 user     $8$TRLlUlrbO7Y5lgx/i5UksEMhkb9fxKQLy8scQKNjci0=
 password "$8$Pp4gMWUjzsmvpZCPLWTjWhP0xyhM/9P3dnUZrwJCoheUuybXvtiUbh9dj17ef93O5YKgE28w\nZIo1ojut23wffA=="
!
scm scm
 admin    scm-admin
 oper     scm-oper
 security scm-security
!
vnf-packaged usp_5_7
 location           /home/ubuntu/usp-6_0_M0-2896.iso
 validate-signature true
 configuration staros
  external-url /home/ubuntu/system.cfg
 !
!
vnf-packaged usp_5_8
 checksum           7e04ea370775ecedf85debe4f43cd576
 location           /root/usp-5_8_M0-2720.iso
 validate-signature true
 configuration staros
  external-url /root/system.cfg
 !
!
vdu esc
 vdu-type           cisco-esc
 login-credential   esc_login
 netconf-credential esc_netconf
 image vnf-package usp_5_7
 vnf-rack           vnf-rack1
 vnf-package        usp_5_7
 flavor vcpus   2
 flavor ram     4096
 flavor root-disk 40
 flavor ephemeral-disk 0
 flavor swap-disk 0
 flavor host-aggregate rack1
!
vdu em
 vdu-type         element-manager
 login-credential em_login
 scm              scm
 image vnf-package usp_5_7
 vnf-rack         vnf-rack1
 vnf-package      usp_5_7
 flavor vcpus   2
 flavor ram     4096
 flavor root-disk 40
 flavor ephemeral-disk 0
 flavor swap-disk 0
!
vdu cf
 vdu-type         control-function
 login-credential cf_login
 image vnf-package usp_5_7
 vnf-rack         vnf-rack1
 vnf-package      usp_5_7
 flavor vcpus   8
 flavor ram     16384
 flavor root-disk 40
 flavor ephemeral-disk 0
 flavor swap-disk 0
 ned netconf
  ned-id         cisco-staros-nc
  port-number    830
  authentication staros
 !
 configuration staros_config.txt
  apply-at day-zero
  package  staros
 !
 volume boot cf-boot
 volume storage cf-cdr
 !
!
vdu sf
 vdu-type    session-function
 image vnf-package usp_5_7
 vnf-rack    vnf-rack1
 vnf-package usp_5_7
 flavor vcpus   4
 flavor ram     16384
 flavor root-disk 6
 flavor ephemeral-disk 0
 flavor swap-disk 0
 upp cores     10
 upp crypto-cores 0
 upp service-mode vpc
 upp disable-mcdma false
 upp disable-numa false
!
vdu autovnf
 vdu-type         automation-service
 login-credential login
 scm              scm
 image vnf-package usp_5_7
 vnf-rack         vnf-rack1
 vnf-package      usp_5_7
 flavor vcpus   2
 flavor ram     4096
 flavor root-disk 40
 flavor ephemeral-disk 0
 flavor swap-disk 0
 flavor host-aggregate rack1
!
volume cf-boot
 type                LUKS
 size                4
 bus                 ide
 bootable            true
 preserve-on-upgrade false
!
volume cf-cdr
 type                LUKS
 size                16
 bus                 ide
 bootable            false
 preserve-on-upgrade false
!
network orchestration
 ip-prefix 13.11.22.0/24
 type      vlan
 dhcp      true
 gateway   13.11.22.1
 router    main
!
network xyz-fmnt
 ip-prefix 13.22.10.0/24
 type      vlan
 dhcp      true
 gateway   13.22.10.1
!
network xyz-vpc-svc
 ip-prefix 22.12.11.0/24
 type      vlan
 dhcp      true
!
network sjc-orch
 ip-prefix 10.2.3.0/24
 type      vlan
 dhcp      true
 gateway   10.2.3.1
!
network service1
 ip-prefix 15.15.15.0/24
 type      vlan
 dhcp      true
!
network abc-orch1
 ip-prefix 33.33.33.0/24
 type      vlan
 dhcp      true
 gateway   33.33.33.1
!
vnf-rackd vnf-rack1
 host-aggregate rack1
  host tb1ano-compute-0.localdomain
  !
  host tb1ano-compute-1.localdomain
  !
  host tb1ano-compute-10.localdomain
  !
  host tb1ano-compute-11.localdomain
  !
  host tb1ano-compute-12.localdomain
  !
  host tb1ano-compute-13.localdomain
  !
  host tb1ano-compute-14.localdomain
  !
  host tb1ano-compute-15.localdomain
  !
  host tb1ano-compute-2.localdomain
  !
  host tb1ano-compute-3.localdomain
  !
  host tb1ano-compute-4.localdomain
  !
  host tb1ano-compute-5.localdomain
  !
  host tb1ano-compute-6.localdomain
  !
  host tb1ano-compute-7.localdomain
  !
  host tb1ano-compute-8.localdomain
  !
  host tb1ano-compute-9.localdomain
  !
  host tb1ano-osd-compute-0.localdomain
  !
  host tb1ano-osd-compute-1.localdomain
  !
  host tb1ano-osd-compute-2.localdomain
  !
 !
!
vim vim1
 api-version v2
 auth-url    http://172.21.201.218:5000/v2.0
 user        vim-admin-creds
 tenant      test
!
network-instance xyz-autovnfd-uas-management
 ip-prefix 30.30.61.0/24
 type      vlan
 dhcp      true
 gateway   30.30.61.1
!
network-instance autoit-abc-orch1
 ip-prefix 33.33.33.0/24
 type      vlan
 dhcp      true
 gateway   33.33.33.1
!
network-instance abc-mgmt
 ip-prefix 32.32.32.0/24
 type      vlan
 dhcp      true
 gateway   32.32.32.1
!
network-instance abc-mgmt1
 ip-prefix 34.34.34.0/24
 type      vlan
 dhcp      true
 gateway   34.34.34.1
!
network-instance abc-mgmt2
 ip-prefix 35.35.35.0/24
 type      vlan
 dhcp      true
 gateway   35.35.35.1
!
network-instance abc-orch
 ip-prefix 31.31.31.0/24
 type      vlan
 dhcp      true
 gateway   31.31.31.1
!
network-instance di-internal1
 ip-prefix 192.168.1.0/24
 type      sriov-flat
 dhcp      true
 vlan-tag  true
 vlan      2116
!
network-instance di-internal2
 ip-prefix 192.168.2.0/24
 type      sriov-flat
 dhcp      true
 gateway   192.168.2.1
 vlan-tag  true
 vlan      2111
!
vim-artifactd vim_artifact_one
 vnf-rack [ vnf-rack1 ]
!