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

AUTOCLI edit modes + uses/grouping + grouping-treeref=true does not work #494

Open
olofhagsand opened this issue Feb 17, 2024 · 0 comments
Labels

Comments

@olofhagsand
Copy link
Member

When using the autocli "edit modes" together with the memory optimization grouping-treeref, completion does not work.
Example YANG:

    grouping g {
        leaf value{
            type string;
        }
    }
    /* Generic config data */
    container table{
        list parameter{
            key name;
            leaf name{
                type string;
            }
            uses g;
        }
    }

Config:

<clixon-config xmlns="http://clicon.org/config">
  <autocli>
     ...
     <grouping-treeref>true</grouping-treeref> <---

Example run:

olof@totila /> edit table parameter a
olof@totila parameter=a/> set value2 ?
Feb 17 13:35:13: expand_dbvar: 318: Netconf error: Expand datastore symbol: application invalid-value api-path element 'value', expected prefix:name 
CLI command error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant