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

Tab completion mounted devices with lists #72

Closed
denniswa opened this issue Dec 5, 2023 · 1 comment
Closed

Tab completion mounted devices with lists #72

denniswa opened this issue Dec 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working fixed: plz verify Bug/feature is fixed by developer, need verification

Comments

@denniswa
Copy link

denniswa commented Dec 5, 2023

Tab completion does not work on elements in for example prefix-lists and policy-options, tab completion works all the way down to the actual lists, see example:

dennis@zoomie[/]# show compare
               junos-conf-policy-options:policy-options {
+                 prefix-list jadda-jadda {
+                    prefix-list-item 1.1.1.1/32 {
+                    }
+                 }
               }

dennis@zoomie[/]# commit diff
ptx1:
ptx1:
      <policy-options xmlns="http://yang.juniper.net/junos/conf/policy-options">
+        <prefix-list>
+           <name>jadda-jadda</name>
+           <prefix-list-item>
+              <name>1.1.1.1/32</name>
+           </prefix-list-item>
+        </prefix-list>
      </policy-options>
OK
dennis@zoomie[/]# commit
OK
dennis@zoomie[/]# show devices device ptx1 config configuration policy-options prefix-list jadd
 <name>
dennis@zoomie[/]# show devices device ptx1 config configuration policy-options prefix-list
  <cr>
  <name>                Prefix list name
  |
dennis@zoomie[/]# show devices device ptx1 config configuration policy-options prefix-list jadda-jadda
<!-- ptx1: -->
<devices xmlns="http://clicon.org/controller">
   <device>
      <name>ptx1</name>
      <config>
         <configuration xmlns="http://yang.juniper.net/junos/conf/root">
            <policy-options xmlns="http://yang.juniper.net/junos/conf/policy-options">
               <prefix-list>
                  <name>jadda-jadda</name>
                  <prefix-list-item>
                     <name>1.1.1.1/32</name>
                  </prefix-list-item>
               </prefix-list>
            </policy-options>
         </configuration>
      </config>
   </device>
</devices>
dennis@zoomie[/]#
@olofhagsand olofhagsand added the bug Something isn't working label Dec 5, 2023
@krihal krihal added the prio label Dec 20, 2023
@olofhagsand olofhagsand changed the title Tab completion Juniper devices Tab completion mounted devices with lists Jan 1, 2024
olofhagsand added a commit to clicon/clixon that referenced this issue Jan 2, 2024
Fixed: [Tab completion mounted devices with lists](clicon/clixon-controller#72)
@olofhagsand olofhagsand added the fixed: plz verify Bug/feature is fixed by developer, need verification label Jan 2, 2024
@denniswa
Copy link
Author

denniswa commented Jan 2, 2024

Fix confirmed!

@denniswa denniswa closed this as completed Jan 2, 2024
@olofhagsand olofhagsand removed the prio label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed: plz verify Bug/feature is fixed by developer, need verification
Projects
None yet
Development

No branches or pull requests

3 participants