You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
set filter ip address to exclude 10.0.0.1 will end up filtering all ip addresses start with 10.0.0.1, including 10.0.0.1xx.
To Reproduce
Steps to reproduce the behavior:
Create cluster
Install Akri with the Helm command and deploy the Akri Configuration yaml modified from test/yaml/akri-onvif-video-configuration.yaml (see below). In the configuration, only exclude cameras with ip address 10.0.0.1, 10.0.0.2.
My Onvif camera ip is 10.0.0.107, after deploying the Configuration, my camera is not detected.
Describe the bug
A clear and concise description of what the bug is.
set filter ip address to exclude 10.0.0.1 will end up filtering all ip addresses start with 10.0.0.1, including 10.0.0.1xx.
To Reproduce
Steps to reproduce the behavior:
apiVersion: akri.sh/v0
kind: Configuration
metadata:
name: akri-onvif-video
spec:
discoveryHandler:
name: onvif
discoveryDetails: |+
ipAddresses:
action: Exclude
items:
- 10.0.0.1
- 10.0.0.2
macAddresses:
action: Exclude
items: []
scopes:
action: Exclude
items: []
discoveryTimeoutSeconds: 2
brokerSpec:
brokerPodSpec:
containers:
- name: akri-onvif-video-broker
image: "ghcr.io/project-akri/akri/onvif-video-broker:latest-dev"
imagePullPolicy: Always
resources:
limits:
"{{PLACEHOLDER}}" : "1"
instanceServiceSpec:
ports:
- name: grpc
port: 80
targetPort: 8083
configurationServiceSpec:
ports:
- name: grpc
port: 80
targetPort: 8083
brokerProperties: {}
Expected behavior
Onvif camera ip address 10.0.0.107 discovered.
Onvif discovery handler should only filter out 10.0.0.1 and 10.0.0.2, not others.
The text was updated successfully, but these errors were encountered: