Skip to content

How to delete running configuration for a single module? #1934

@matth65

Description

@matth65

Have have a couple of questions related to deleting configuration for a specific module.

  1. Does Sysrepo have a method to delete/remove all running configuration for a specific module? For example, is there a way to reinitialize /dev/shm/sr_mymod.running back to a clean, default state?

$ ls -lha /dev/shm/sr_mymod*
-rw-rw-rw- 1 root root 7 Apr 21 18:05 /dev/shm/sr_mymod.operational
-rw-rw-rw- 1 root root 211K Apr 21 18:05 /dev/shm/sr_mymod.running

  1. Does Sysrepo have any shortcuts for deleting all elements of a list?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions