Skip to content
Snippets Groups Projects
Commit b12c1afa authored by Mark Beierl's avatar Mark Beierl
Browse files

Adding vyos packages


Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
parent e7c4871d
No related branches found
No related tags found
1 merge request!1Adding vyos packages
nsd:nsd-catalog:
nsd:
- id: hackfest_vyos-ns
name: hackfest_vyos-ns
short-name: hackfest_vyos-ns
description: Simple NS with a single VyOS Router VNF
version: '1.0'
logo: osm.png
constituent-vnfd:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index: '1'
vld:
- id: mgmtnet
name: mgmtnet
short-name: mgmtnet
type: ELAN
mgmt-network: 'true'
vim-network-name: osm-ext
vnfd-connection-point-ref:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-mgmt
ip-address: 172.21.250.200
- id: internal
name: internal
short-name: internal
type: ELAN
mgmt-network: 'true'
vnfd-connection-point-ref:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-internal
- id: external
name: external
short-name: external
type: ELAN
mgmt-network: 'true'
vnfd-connection-point-ref:
- vnfd-id-ref: hackfest_vyos-vnf
member-vnf-index-ref: '1'
vnfd-connection-point-ref: vnf-external
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
# Interface Config eth0
set interfaces ethernet eth0 address 172.21.250.200/22
set interfaces ethernet eth0 description VyOS-eth0
# Interface Config eth1
set interfaces ethernet eth1 address 10.0.0.1/24
set interfaces ethernet eth1 description VyOS-eth1
# Interface Config eth2
set interfaces ethernet eth2 address 10.1.0.1/24
set interfaces ethernet eth2 description VyOS-eth2
# System config
set system host-name vyos-osmTest
set service ssh listen-address 0.0.0.0
set service ssh port 22
set system login user osm authentication plaintext-password osm2020
# SNMP
set service snmp community public authorization ro
set service snmp location "OSM Labs"
set service snmp contact "glavado@whitestack.com"
# Save
commit
save
vnfd:vnfd-catalog:
vnfd:
- id: hackfest_vyos-vnf
name: hackfest_vyos-vnf
short-name: hackfest_vyos-vnf
version: '1.0'
description: A basic virtual router
connection-point:
- name: vnf-mgmt
type: VPORT
- name: vnf-internal
type: VPORT
port-security-enabled: 'false'
- name: vnf-external
type: VPORT
port-security-enabled: 'false'
vdu:
- id: vyos-VM
name: vyos-VM
cloud-init-file: vyos-userdata
image: vyos-1.1.7
count: '1'
vm-flavor:
vcpu-count: '1'
memory-mb: '2048'
storage-gb: '10'
interface:
- name: vdu-eth0
type: EXTERNAL
position: 0
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-mgmt
- name: vdu-eth1
type: EXTERNAL
position: 1
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-internal
- name: vdu-eth2
type: EXTERNAL
position: 2
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-external
supplemental-boot-data:
boot-data-drive: true
mgmt-interface:
cp: vnf-mgmt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment