Skip to content

Commit

Permalink
Merge pull request #1 from gercom-ufpa/iqos-xapp-dev
Browse files Browse the repository at this point in the history
Iqos xapp dev merge
  • Loading branch information
muriloAvlis authored Mar 1, 2024
2 parents b8acf2b + 062010e commit 86ec502
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ docker-build: ## Build the iqos-xapp docker image
docker-push: docker-build ## Push image to Docker Hub
@docker image push ${IQOS_DOCKER_REPO}:${IQOS_VERSION}

helm-install:
helm-install: ## Install iqos-xapp on Kubernetes
@helm upgrade --install -n riab iqos-xapp ./deploy/helm-chart/iqos-chart

helm-uninstall:
helm-uninstall: ## Uninstall iqos-xapp on Kubernetes
@helm uninstall -n riab iqos-xapp

k8s-logs: ## Gets logs from iqos-xapp pod
@kubectl logs -n riab $$(kubectl get pods -n riab --no-headers -o custom-columns=":metadata.name" | grep iqos-xapp) iqos-xapp -f

clean: ## Remove all the build artifacts
rm -rf ./build/_output
10 changes: 5 additions & 5 deletions cmd/iqos-xapp/iqos-xapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ func main() {

// set manager configuration
cfg := manager.Config{
AppID: "qmai",
CAPath: "/etc/qmai/certs/tls.cacrt",
KeyPath: "/etc/qmai/certs/tls.key",
CertPath: "/etc/qmai/certs/tls.crt",
AppID: "iqos-xapp",
CAPath: "/etc/iqos-xapp/certs/tls.cacrt",
KeyPath: "/etc/iqos-xapp/certs/tls.key",
CertPath: "/etc/iqos-xapp/certs/tls.crt",
E2tEndpoint: "onos-e2t",
E2tPort: 5150,
TopoEndpoint: "onos-topo",
TopoPort: 5150,
ConfigPath: "/etc/qmai/config/config.json",
ConfigPath: "/etc/iqos-xapp/config/config.json",
KpmSM: manager.KpmSM{
Name: "oran-e2sm-kpm",
Version: "v2",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 86ec502

Please sign in to comment.