From: =Rajesh Velandy Date: Wed, 29 Jun 2016 12:14:32 +0000 (+0200) Subject: Added VyOS Initial support X-Git-Tag: v2.0.2~6^2~55 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1a029a811eba42f4926b9106ed9c8a9885ad42c7;p=osm%2Fdevops.git Added VyOS Initial support --- diff --git a/Makefile b/Makefile index 647ab909..5993ff5d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # BUILD_DIR = build -NSDS := gw_corpa_ns ims_allin1_corpa mwc16_gen_ns mwc16_pe_ns +NSDS := gw_corpa_ns ims_allin1_corpa mwc16_gen_ns mwc16_pe_ns VyOS_ns NSD_SRC_DIR := src/nsd NSD_BUILD_DIR := $(BUILD_DIR)/nsd @@ -27,7 +27,7 @@ NSD_BUILD_DIRS := $(addprefix $(NSD_BUILD_DIR)/, $(NSDS)) NSD_PKGS := $(addsuffix .tar.gz, $(NSDS)) NSD_BUILD_PKGS := $(addprefix $(NSD_BUILD_DIR)_pkgs/, $(NSD_PKGS)) -VNFDS := 6wind_vnf gw_corpa_pe1_vnf gw_corpa_pe2_vnf ims_allin1_2p_vnf tidgen_mwc16_vnf +VNFDS := 6wind_vnf gw_corpa_pe1_vnf gw_corpa_pe2_vnf ims_allin1_2p_vnf tidgen_mwc16_vnf VyOS_vnf VNFD_SRC_DIR := src/vnfd VNFD_BUILD_DIR := $(BUILD_DIR)/vnfd diff --git a/src/nsd/VyOS_ns/VyOS_nsd.yaml b/src/nsd/VyOS_ns/VyOS_nsd.yaml new file mode 100644 index 00000000..21479bad --- /dev/null +++ b/src/nsd/VyOS_ns/VyOS_nsd.yaml @@ -0,0 +1,30 @@ +nsd:nsd-catalog: + nsd: + - id: VyOS + name: VyOS + short-name: VyOS + description: VyOS NS Example NS + logo: osm_2x.png + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: VyOS + vld: + - id: data + name: data + type: ELAN + provider-network: + overlay-type: VLAN + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: eth0 + vnfd-id-ref: VyOS + - id: management + name: management + type: ELAN + provider-network: + overlay-type: VLAN + physical-network: net-mgmtOS + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-connection-point-ref: eth1 + vnfd-id-ref: VyOS diff --git a/src/nsd/VyOS_ns/icons/osm_2x.png b/src/nsd/VyOS_ns/icons/osm_2x.png new file mode 100644 index 00000000..62012d2a Binary files /dev/null and b/src/nsd/VyOS_ns/icons/osm_2x.png differ diff --git a/src/vnfd/VyOS_vnf/VyOS__vnfd.yaml b/src/vnfd/VyOS_vnf/VyOS__vnfd.yaml new file mode 100644 index 00000000..86fc0f3c --- /dev/null +++ b/src/vnfd/VyOS_vnf/VyOS__vnfd.yaml @@ -0,0 +1,99 @@ +vnfd:vnfd-catalog: + vnfd: + - id: VyOS + name: VyOS Router + short-name: VyOS Router + description: VyOS Router + logo: osm_2x.png + mgmt-interface: + vdu-id: VyOS-VM + vnf-configuration: + config-attributes: + config-delay: '0' + config-priority: '1' + config-primitive: + - name: config + parameter: + - name: user + data-type: STRING + mandatory: 'true' + default-value: vyos + - name: password + data-type: string + mandatory: 'true' + name: password + default-value: vyos + - name: ping-test + parameter: + - name: ip-address + data-type: STRING + mandatory: 'true' + - name: count + data-type: INTEGER + mandatory: 'false' + default-value: 5 + juju: + charm: VyOS-proxy + connection-point: + - name: eth0 + type: VPORT + - name: eth1 + type: VPORT + - name: eth2 + type: VPORT + - name: eth3 + type: VPORT + - name: eth4 + type: VPORT + vdu: + - id: VyOS-VM + name: VyOS-VM + description: VyOS-VM + image: /mnt/powervault/virtualization/osm/VyOS/VyOS-1.1.7-signed-disk1.qcow2 + vm-flavor: + memory-mb: '1024' + storage-gb: '2' + vcpu-count: '1' + mgmt-vpci: 0000:00:0a.0 + external-interface: + - name: eth0 + virtual-interface: + bandwidth: '0' + type: OM-MGMT + vpci: 0000:00:0a.0 + vnfd-connection-point-ref: eth0 + - name: eth1 + virtual-interface: + bandwidth: '0' + type: VIRTIO + vpci: 0000:00:0b.0 + vnfd-connection-point-ref: eth1 + - name: eth2 + virtual-interface: + bandwidth: '0' + type: VIRTIO + vpci: 0000:00:0c.0 + vnfd-connection-point-ref: eth2 + - name: eth3 + virtual-interface: + bandwidth: '0' + type: VIRTIO + vpci: 0000:00:0d.0 + vnfd-connection-point-ref: eth3 + - name: eth4 + virtual-interface: + bandwidth: '0' + type: VIRTIO + vpci: 0000:00:0e.0 + vnfd-connection-point-ref: eth4 + guest-epa: + cpu-pinning-policy: DEDICATED + cpu-thread-pinning-policy: PREFER + mempage-size: LARGE + numa-node-policy: + mem-policy: STRICT + node: + - id: '0' + paired-threads: + num-paired-threads: '1' + node-cnt: '1' diff --git a/src/vnfd/VyOS_vnf/icons/osm_2x.png b/src/vnfd/VyOS_vnf/icons/osm_2x.png new file mode 100644 index 00000000..62012d2a Binary files /dev/null and b/src/vnfd/VyOS_vnf/icons/osm_2x.png differ