Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit of policy filter demo wf #116

Merged
merged 2 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composefiles/swarm-fm-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ x-logging: &logging_loki

services:
demo-workflows:
image: frinx/demo-workflows:1.9
image: frinx/demo-workflows:latest
logging: *logging_loki
environment:
- UNICONFIG_URL_BASE=https://uniconfig:8181/rests
Expand All @@ -37,7 +37,7 @@ services:
replicas: 1

sample-topology:
image: frinx/sample-topology:1.9
image: frinx/sample-topology:latest
logging: *logging_loki
environment:
- DOCKER_GWBRIDGE_IP=${DOCKER_GWBRIDGE_IP}
Expand Down
6 changes: 4 additions & 2 deletions demo-workflows/workflows/Uniconfig_policy_filter_XR.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"taskReferenceName": "UNICONFIG_read_structured_device_dataRefName_8xGO",
"inputParameters": {
"device_id": "${workflow.input.device_id}",
"uri": "${workflow.input.URI}"
"uri": "${workflow.input.uri}"
},
"type": "SIMPLE",
"decisionCases": {},
Expand Down Expand Up @@ -133,7 +133,9 @@
"loopOver": []
}
],
"inputParameters": [],
"inputParameters": [
"{\"device_id\":{\"value\":\"IOSXR\",\"description\":\"Device/node to be configured\",\"type\":\"string\"},\"uri\":{\"value\":\"\",\"description\":\"URI that will be searched. Leave blank unless specifically needed\",\"type\":\"string\"},\"Description\":{\"value\":\"test map description\",\"description\":\"Description of interface that will be filtered. Policy-map will be applied to interface with matching description.\",\"type\":\"string\"},\"Policy_map_name\":{\"value\":\"test_map\",\"description\":\"Policy map that should be applied to interface that fits the criteria\",\"type\":\"string\"}}"
],
"outputParameters": {},
"schemaVersion": 2,
"restartable": true,
Expand Down