name: cirros_2vnf_nsd_vld1
short-name: cirros_2vnf_nsd_vld1
type: ELAN
+ mgmt-network: 'true'
# vim-network-name: <update>
# provider-network:
# overlay-type: VLAN
name: cirros_2vnf_nsd_vld1
short-name: cirros_2vnf_nsd_vld1
type: ELAN
+ mgmt-network: 'true'
# vim-network-name: <update>
# provider-network:
# overlay-type: VLAN
- id: cirros_nsd_vld1
name: cirros_nsd_vld1
type: ELAN
+ mgmt-network: 'true'
# vim-network-name: <update>
# provider-network:
# overlay-type: VLAN
+++ /dev/null
-#
-# Copyright 2017 Sandvine
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-DESCRIPTORS_TOPDIR ?= ../..
-include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
-
-all: $(BUILD_DIR)/$(PKG_NAME)
+++ /dev/null
-#cloud-config
-
-password: c0mpl3xp4ssw0rd
-chpasswd: { expire: False }
-ssh_pwauth: True
-
-write_files:
-- content: |
- # My new helloworld file
- sudo apt update
- sudo apt install dnsmasq -y
- sudo bash -c 'cat << EOF > /etc/dnsmasq.conf
- strict-order
- interface=eth0
- no-dhcp-interface=eth0
- EOF'
- owner: root:root
- permissions: '0774'
- path: /tmp/configure_dns
-
-runcmd:
- - /tmp/configure_dns
-
+++ /dev/null
-vnfd:vnfd-catalog:
- vnfd:vnfd:
- - rw-vnfd:meta: '{"containerPositionMap":{"dns_forwarder":{"top":30,"left":260,"right":510,"bottom":85,"width":250,"height":55},"dns_forwarder/dns_forwarder-VM":{"top":130,"left":260,"right":510,"bottom":185,"width":250,"height":55}}}'
- vnfd:connection-point:
- - vnfd:name: eth0
- vnfd:type: VPORT
- vnfd:description: Simple VNF example with a DNS forwarder
- vnfd:id: dns_forwarder
- vnfd:logo: dns.jpg
- vnfd:mgmt-interface:
- vnfd:vdu-id: dns_forwarder-VM
- vnfd:name: dns_forwarder
- vnfd:service-function-chain: UNAWARE
- vnfd:short-name: dns_forwarder
- vnfd:vdu:
- - vnfd:count: '1'
- vnfd:description: dns_forwarder-VM
- vnfd:interface:
- - vnfd:name: eth0
- vnfd:virtual-interface:
- vnfd:bandwidth: '0'
- vnfd:type: OM-MGMT
- vnfd:vpci: 0000:00:0a.0
- vnfd:external-connection-point-ref: eth0
- vnfd:guest-epa:
- vnfd:cpu-pinning-policy: ANY
- vnfd:id: dns_forwarder-VM
- vnfd:image: ubuntu/images/hvm-ssd/ubuntu-zesty-17.04-amd64-server-20170619.1
- vnfd:cloud-init-file: cloud_init.cfg
- vnfd:name: dns_forwarder-VM
- vnfd:supplemental-boot-data:
- vnfd:boot-data-drive: 'false'
- vnfd:vm-flavor:
- vnfd:memory-mb: '1024'
- vnfd:storage-gb: '1'
- vnfd:vcpu-count: '1'
- vnfd:vendor: OSM
- vnfd:version: '1.0'
name: management
short-name: management
type: ELAN
+ mgmt-network: 'true'
vnfd-connection-point-ref:
# Specify the constituent VNFs
- member-vnf-index-ref: 1
nsd:mgmt-network: 'false'
nsd:name: mgmt
nsd:short-name: mgmt
+ mgmt-network: 'true'
nsd:vnfd-connection-point-ref:
- nsd:member-vnf-index-ref: '1'
nsd:vnfd-connection-point-ref: eth0
name: mgmt
short-name: mgmt
type: ELAN
+ mgmt-network: 'true'
vnfd-connection-point-ref:
- member-vnf-index-ref: 1
vnfd-id-ref: ubuntu_epa_virtio_vnf
--- /dev/null
+#
+# Copyright 2017 Sandvine
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+DESCRIPTORS_TOPDIR ?= ../..
+include $(DESCRIPTORS_TOPDIR)/mk/pkg.mk
+
+all: $(BUILD_DIR)/$(PKG_NAME)
--- /dev/null
+#cloud-config
+
+password: c0mpl3xp4ssw0rd
+chpasswd: { expire: False }
+ssh_pwauth: True
+
+write_files:
+- content: |
+ # My new helloworld file
+ sudo apt update
+ sudo apt install dnsmasq -y
+ sudo bash -c 'cat << EOF > /etc/dnsmasq.conf
+ strict-order
+ interface=eth0
+ no-dhcp-interface=eth0
+ EOF'
+ owner: root:root
+ permissions: '0774'
+ path: /tmp/configure_dns
+
+runcmd:
+ - /tmp/configure_dns
+
--- /dev/null
+vnfd:vnfd-catalog:
+ vnfd:vnfd:
+ - rw-vnfd:meta: '{"containerPositionMap":{"dns_forwarder":{"top":30,"left":260,"right":510,"bottom":85,"width":250,"height":55},"dns_forwarder/dns_forwarder-VM":{"top":130,"left":260,"right":510,"bottom":185,"width":250,"height":55}}}'
+ vnfd:connection-point:
+ - vnfd:name: eth0
+ vnfd:type: VPORT
+ vnfd:description: Simple VNF example with a DNS forwarder
+ vnfd:id: dns_forwarder
+ vnfd:logo: dns.jpg
+ vnfd:mgmt-interface:
+ vnfd:vdu-id: dns_forwarder-VM
+ vnfd:name: dns_forwarder
+ vnfd:service-function-chain: UNAWARE
+ vnfd:short-name: dns_forwarder
+ vnfd:vdu:
+ - vnfd:count: '1'
+ vnfd:description: dns_forwarder-VM
+ vnfd:interface:
+ - vnfd:name: eth0
+ vnfd:virtual-interface:
+ vnfd:bandwidth: '0'
+ vnfd:type: OM-MGMT
+ vnfd:vpci: 0000:00:0a.0
+ vnfd:external-connection-point-ref: eth0
+ vnfd:guest-epa:
+ vnfd:cpu-pinning-policy: ANY
+ vnfd:id: dns_forwarder-VM
+ vnfd:image: ubuntu/images/hvm-ssd/ubuntu-zesty-17.04-amd64-server-20170619.1
+ vnfd:cloud-init-file: cloud_init.cfg
+ vnfd:name: dns_forwarder-VM
+ vnfd:supplemental-boot-data:
+ vnfd:boot-data-drive: 'false'
+ vnfd:vm-flavor:
+ vnfd:memory-mb: '1024'
+ vnfd:storage-gb: '1'
+ vnfd:vcpu-count: '1'
+ vnfd:vendor: OSM
+ vnfd:version: '1.0'