Title: leafref path and node · Issue #52 · CESNET/libyang-python · GitHub
Open Graph Title: leafref path and node · Issue #52 · CESNET/libyang-python
X Title: leafref path and node · Issue #52 · CESNET/libyang-python
Description: Is there a nAPI to get the SNode the leafref points to? Or the schema xpath of what the leafref points to? For example: leaf vlanid { type leafref { path ../../../VLAN/VLAN_LIST/vlanid; } } the existing leafref_path() will get "../../../...
Open Graph Description: Is there a nAPI to get the SNode the leafref points to? Or the schema xpath of what the leafref points to? For example: leaf vlanid { type leafref { path ../../../VLAN/VLAN_LIST/vlanid; } } the exi...
X Description: Is there a nAPI to get the SNode the leafref points to? Or the schema xpath of what the leafref points to? For example: leaf vlanid { type leafref { path ../../../VLAN/VLAN_LIST/vlanid; } } the exi...
Opengraph URL: https://github.com/CESNET/libyang-python/issues/52
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"leafref path and node","articleBody":"Is there a nAPI to get the SNode the leafref points to? Or the schema xpath of what the leafref points to? \r\n\r\nFor example:\r\n leaf vlanid {\r\n type leafref {\r\n path ../../../VLAN/VLAN_LIST/vlanid;\r\n }\r\n }\r\n\r\nthe existing leafref_path() will get \"../../../VLAN/VLAN_LIST/vlanid\", \r\ncan we have APIs:\r\n1) returns the real xpath of this leafref path, so we can use the returned path to get the SNode\r\n2) an API to return the SNode this leafref points to?","author":{"url":"https://github.com/li-pingmao","@type":"Person","name":"li-pingmao"},"datePublished":"2022-09-30T19:19:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/52/libyang-python/issues/52"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fcf82007-8106-20a3-ae70-2851604798fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E71A:15468B:C2B58D:1132FD3:696A6367 |
| html-safe-nonce | cd750e0ce2fdede7f6d86d9fb7721c6086439efdb994e2a418963dba163aac7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzFBOjE1NDY4QjpDMkI1OEQ6MTEzMkZEMzo2OTZBNjM2NyIsInZpc2l0b3JfaWQiOiI2NjEwNDYxNzA4MzgxNzQxOTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 95f725781771f9c810d571e906e1cc8b548611d90580fd7b806f1bc2c56f0787 |
| hovercard-subject-tag | issue:1392886835 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CESNET/libyang-python/52/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4db73514fc8b3112ff2d04defb51e544a572910db8402bd4b19866193843386b/CESNET/libyang-python/issues/52 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4db73514fc8b3112ff2d04defb51e544a572910db8402bd4b19866193843386b/CESNET/libyang-python/issues/52 |
| og:image:alt | Is there a nAPI to get the SNode the leafref points to? Or the schema xpath of what the leafref points to? For example: leaf vlanid { type leafref { path ../../../VLAN/VLAN_LIST/vlanid; } } the exi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | li-pingmao |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| turbo-cache-control | no-preview |
| go-import | github.com/CESNET/libyang-python git https://github.com/CESNET/libyang-python.git |
| octolytics-dimension-user_id | 1116469 |
| octolytics-dimension-user_login | CESNET |
| octolytics-dimension-repository_id | 275748507 |
| octolytics-dimension-repository_nwo | CESNET/libyang-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275748507 |
| octolytics-dimension-repository_network_root_nwo | CESNET/libyang-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width