32 lines
876 B
YAML
32 lines
876 B
YAML
|
applications:
|
||
|
external-advanced-routing:
|
||
|
charm: cs:advanced-routing
|
||
|
options:
|
||
|
enable-advanced-routing: true
|
||
|
advanced-routing-config: |
|
||
|
[ {
|
||
|
"type": "table",
|
||
|
"table": "SF1"
|
||
|
}, {
|
||
|
"type": "route",
|
||
|
"default_route": true,
|
||
|
"gateway": "192.168.1.254",
|
||
|
"table": "SF1"
|
||
|
}, {
|
||
|
"type": "rule",
|
||
|
"from-net": "192.168.1.0/24",
|
||
|
"to-net": "192.168.1.0/24",
|
||
|
"priority": 100
|
||
|
}, {
|
||
|
"type": "rule",
|
||
|
"from-net": "192.168.1.0/24",
|
||
|
"table": "SF1",
|
||
|
"priority": 101
|
||
|
} ]
|
||
|
# See LP #1871856:
|
||
|
# Charm shouldn't "block" if apply-changes action is configured
|
||
|
action-managed-update: False
|
||
|
|
||
|
relations:
|
||
|
- [ "external-advanced-routing:juju-info", "aodh:juju-info" ]
|