Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
5fedfaf3
Commit
5fedfaf3
authored
Jul 26, 2022
by
lavado
Browse files
Merge branch 'oai-helm' into 'master'
new oai-helm procedure created See merge request
!197
parents
cdedaae5
aff698f2
Pipeline
#6541
failed with stage
in 9 seconds
Changes
84
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
222 additions
and
0 deletions
+222
-0
oai-helm/vyos_pnf/helm-charts/eechart/templates/statefulset.yaml
...m/vyos_pnf/helm-charts/eechart/templates/statefulset.yaml
+65
-0
oai-helm/vyos_pnf/helm-charts/eechart/templates/tests/test-connection.yaml
.../helm-charts/eechart/templates/tests/test-connection.yaml
+15
-0
oai-helm/vyos_pnf/helm-charts/eechart/values.yaml
oai-helm/vyos_pnf/helm-charts/eechart/values.yaml
+77
-0
oai-helm/vyos_pnf/vyos_pnfd.yaml
oai-helm/vyos_pnf/vyos_pnfd.yaml
+65
-0
No files found.
oai-helm/vyos_pnf/helm-charts/eechart/templates/statefulset.yaml
0 → 100755
View file @
5fedfaf3
apiVersion
:
apps/v1
kind
:
StatefulSet
metadata
:
name
:
{{
include "eechart.fullname" .
}}
labels
:
{{
include "eechart.labels" . | indent 4
}}
spec
:
serviceName
:
{{
include "eechart.fullname" .
}}
replicas
:
{{
.Values.replicaCount
}}
selector
:
matchLabels
:
app.kubernetes.io/name
:
{{
include "eechart.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
template
:
metadata
:
labels
:
app.kubernetes.io/name
:
{{
include "eechart.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
vnf
:
{{
.Values.global.osm.vnf_id | lower
}}
spec
:
imagePullSecrets
:
-
name
:
regcred
serviceAccountName
:
{{
template "eechart.serviceAccountName" .
}}
securityContext
:
runAsUser
:
0
containers
:
-
name
:
{{
.Chart.Name
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
envFrom
:
-
secretRef
:
name
:
{{
include "eechart.fullname" .
}}
ports
:
-
name
:
grpc
containerPort
:
50051
protocol
:
TCP
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
volumeMounts
:
-
name
:
osm-ee
mountPath
:
/app/storage
-
name
:
osm-ee-source
mountPath
:
/app/EE/osm_ee/vnf
-
name
:
snmp-config-volume
mountPath
:
/etc/snmp_exporter
-
name
:
vnf-mibs
mountPath
:
/root/.snmp/mibs
-
name
:
vnf-generator
mountPath
:
/app/vnf/generator
volumes
:
-
name
:
osm-ee-source
configMap
:
name
:
{{
include "eechart.fullname" .
}}
-
name
:
snmp-config-volume
hostPath
:
path
:
"
/var/lib/osm/snmp_exporter/{{
.Values.global.osm.vnf_id
|
lower
}}/"
-
name
:
vnf-mibs
configMap
:
name
:
"
vnf-snmp-mibs-{{
.Values.global.osm.vnf_id
|
lower}}"
-
name
:
vnf-generator
configMap
:
name
:
"
vnf-snmp-generator-{{
.Values.global.osm.vnf_id
|
lower}}"
-
name
:
osm-ee
hostPath
:
path
:
/var/lib/osm/osm/osm_osm_packages/_data
oai-helm/vyos_pnf/helm-charts/eechart/templates/tests/test-connection.yaml
0 → 100755
View file @
5fedfaf3
apiVersion
:
v1
kind
:
Pod
metadata
:
name
:
"
{{
include
"eechart.fullname" . }}-test-connection"
labels
:
{{
include "eechart.labels" . | indent 4
}}
annotations
:
"
helm.sh/hook"
:
test-success
spec
:
containers
:
-
name
:
wget
image
:
busybox
command
:
[
'
wget'
]
args
:
[
'
{{
include
"eechart.fullname"
.
}}:{{
.Values.service.port
}}'
]
restartPolicy
:
Never
oai-helm/vyos_pnf/helm-charts/eechart/values.yaml
0 → 100644
View file @
5fedfaf3
global
:
osm
:
vnf_id
:
AVNFId
# Default values for eechart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount
:
1
image
:
repository
:
opensourcemano/api-fe
tag
:
latest
pullPolicy
:
IfNotPresent
imagePullSecrets
:
[]
nameOverride
:
"
"
fullnameOverride
:
"
"
serviceAccount
:
# Specifies whether a service account should be created
create
:
false
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name
:
podSecurityContext
:
{}
# fsGroup: 2000
securityContext
:
{}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service
:
type
:
ClusterIP
port
:
50050
ingress
:
enabled
:
false
annotations
:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts
:
-
host
:
chart-example.local
paths
:
[]
tls
:
[]
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources
:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector
:
{}
tolerations
:
[]
affinity
:
{}
mysql
:
auth
:
rootPassword
:
"
123456"
fullnameOverride
:
"
eechart-mysql"
oai-helm/vyos_pnf/vyos_pnfd.yaml
0 → 100644
View file @
5fedfaf3
vnfd
:
description
:
VyOS Router PNF
df
:
-
id
:
default-df
instantiation-level
:
-
id
:
default-instantiation-level
vdu-level
:
-
number-of-instances
:
1
vdu-id
:
gateway_pdu
vdu-profile
:
-
id
:
gateway_pdu
min-number-of-instances
:
1
lcm-operations-configuration
:
operate-vnf-op-config
:
day1-2
:
-
config-primitive
:
# - execution-environment-primitive: ansible_playbook
# execution-environment-ref: vyos-config-ee
# name: ansible_playbook
# parameter:
# - data-type: STRING
# name: playbook-name
config-access
:
ssh-access
:
default-user
:
vyos
required
:
true
execution-environment-list
:
-
id
:
vyos-config-ee
helm-chart
:
eechart
id
:
vyos_pnf
initial-config-primitive
:
-
execution-environment-ref
:
vyos-config-ee
name
:
config
parameter
:
-
name
:
ssh-hostname
value
:
<rw_mgmt_ip>
-
name
:
ssh-username
value
:
vyos
-
name
:
ssh-password
value
:
vyos
seq
:
1
-
execution-environment-ref
:
vyos-config-ee
name
:
ansible_playbook
parameter
:
-
name
:
playbook-name
value
:
configure-remote.yaml
seq
:
2
ext-cpd
:
-
id
:
gateway_public-ext
int-cpd
:
cpd
:
eth0-int
vdu-id
:
gateway_pdu
id
:
vyos_pnf
mgmt-cp
:
gateway_public-ext
product-name
:
vyos_pnf
vdu
:
-
description
:
gateway_pdu
name
:
gateway_pdu
id
:
gateway_pdu
int-cpd
:
-
id
:
eth0-int
virtual-network-interface-requirement
:
-
name
:
eth0
pdu-type
:
gateway
version
:
1.0
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment