Skip to content

Commit

Permalink
Test envcheck.
Browse files Browse the repository at this point in the history
Signed-off-by: Arpad Kiss <arpad.a.kiss@est.tech>
  • Loading branch information
arp-est committed Apr 16, 2024
1 parent 15749c9 commit 50d661e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
shellcheck:
uses: networkservicemesh/.github/.github/workflows/shellcheck.yaml@main

check-env:
uses: networkservicemesh/.github/.github/workflows/env-check.yaml@main
with:
prefix: "NSM_"

golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main

Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This README will provide directions for building, testing, and debugging that co
* NSM_MAX_TOKEN_LIFETIME - A token lifetime duration (default 24h)
* NSM_LABELS - A list of client labels with format key1=val1,key2=val2, will be used a primary list for network services
* NSM_MECHANISM - Default Mechanism to use, supported values "kernel", "vfio"
* NSM_NETWORK_SERVICES - A list of Network Service Requests URLs with inner format
* NSM_NETWORK_SERVICES - A list of Network Service Requests URLs with inner format
- \[kernel://]nsName\[@domainName]/interfaceName?\[label1=value1\*(&labelN=valueN)]
- \[vfio://]nsName\[@domainName]?\[label1=value1\*(&labelN=valueN)]
- nsName - a Network service name requested
Expand All @@ -37,7 +37,15 @@ This README will provide directions for building, testing, and debugging that co
- **vfio** mechanism
- **l2-controller** network service
- **{ sriovToken: "l2.domain/1G" }** request parameters

* NSM_AWARENESS_GROUPS - Awareness groups for mutually aware NSEs
* NSM_LIVENESSCHECKENABLED - Dataplane liveness check enabled/disabled
* NSM_LIVENESSCHECKINTERVAL - Dataplane liveness check interval
* NSM_LIVENESSCHECKTIMEOUT - Dataplane liveness check timeout
* NSM_LOCALDNSSERVERADDRESS - Default address for local DNS server
* NSM_LOCALDNSSERVERENABLED - Local DNS Server enabled/disabled
* NSM_LOG_LEVEL - Log level
* NSM_METRICS_EXPORT_INTERVAL - Interval between mertics exports
* NSM_OPENTELEMETRYENDPOINT - OpenTelemetry Collector Endpoint

# Build

Expand Down

0 comments on commit 50d661e

Please sign in to comment.