Corvil: import-decoder-config cleanup
After old CNEs decommissioning we needed to cleanup an obsolete configuration, such as sessions, sites, other dependencies. It was…
Corvil: import-decoder-config cleanup
After old CNEs decommissioning we needed to cleanup an obsolete configuration, such as sessions, sites, other dependencies. It was impossible to remove the whole obsolete site due to the decoder-config dependency:
cne1.fqdn.com(config)$ no site LSE
Error: cne cne1.fqdn.com is referenced by decoder-config BATS-BinaryOderEntry
We had a management-mode-override command under several decoders, it’s easy to remove it but not when you use it under the ‘variant’ option like:
decoder-config BATS-BinaryOrderEntry
variant BATS-Europe-BOE
management-mode-override cne cne1fqdn.com full-config
Trying to remove it from cne1.fqdn.com(config-decoder-variant)$ was just impossible, I receive this:
Error: ‘no’ is not a vaild operation on the ‘management-mode-override’ command.
A workaround— removing the whole variant under the decoder-config also didn’t work:
cne1.fqdn.com(config-decoder)$ no variant BATS-Europe-BOE
Error: ‘no’ is not a vaild operation on the ‘variant’ command.
There’s no obvious solution in the administration guide, but after all there’s easy one with just unapparent syntax:
cne1.fqdn.com(confg)$ no import-decoder-config BATS-BinaryOrderEntry variant BATS-Europe-BOE cne cne1-fqdn.com
Finally all the rest CNE related config may be removed now without any errors:
cne1.fqdn.com(config)$ no site LSE
More details on this command here:
https://portal.pico.net/s/article/import-decoder-config-001e2d6c
메타데이터
- post_id
- b63b9501807d
- slug
- import-decoder-config-cleanup-b63b9501807d
- url
- https://medium.com/@vadimmorozov/import-decoder-config-cleanup-b63b9501807d
- canonical_url
- https://medium.com/@vadimmorozov/import-decoder-config-cleanup-b63b9501807d
- author_url
- https://medium.com/@vadimmorozov
- status
- ok
- fetched_at
- 2026-07-20 18:16:01