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

leafref and augment xpath serialization issue #225

Closed
RimShao opened this issue Nov 3, 2022 · 2 comments
Closed

leafref and augment xpath serialization issue #225

RimShao opened this issue Nov 3, 2022 · 2 comments
Assignees

Comments

@RimShao
Copy link

RimShao commented Nov 3, 2022

Hi

After fix #224 , it seems new problem introduced in leafref and augment xpath serialization, reproducible code and yang modules are sent by email as security reason. Thanks.

leafref before serialization:

 161         leaf zone {
 162             type leafref

163                 path "/abc:cfw/abc:zone/abc:name";

 810         leaf zone {
 811             type leafref

812                 path "/abc:cfw/abc:zone/abc:name";

leafref after serialization:

 161         leaf zone {
 162             type leafref

163                path "/abc:cfw/abc:abc:zone/abc:abc:name";

 810         leaf zone {
 811             type leafref

812                path "/abc:cfw/abc:abc:zone/abc:abc:name";

Augment before serialization:

<     augment "/abc:cfw/rule-sets/rule-set" {
<     augment "/abc:cfw/rule-sets/rule-set/rules/rule" {

<     augment "/abc:cfw/firewall/servers/server" {
<     augment "/abc:cfw/firewall/servers/server/port" {
<     augment "/abc:cfw/firewall/service-groups/service-group" {
<     augment "/abc:cfw/firewall/service-groups/service-group/member" {

Augment after serialization:

>     augment "//abc:cfw/rule-sets/rule-set" {
>     augment "//abc:cfw/firewall/servers/server" {
>     augment "//abc:cfw/rule-sets/rule-set/rules/rule" {
>     augment "//abc:cfw/firewall/servers/server/port" {
>     augment "//abc:cfw/firewall/service-groups/service-group" {
>     augment "//abc:cfw/firewall/service-groups/service-group/member" {
@dhuebner dhuebner self-assigned this Nov 3, 2022
@dhuebner
Copy link
Member

@RimShao
I published a 0.7.2-SNAPSHOT build, could you please check?
If the issue is fixed, we can prepare a 0.7.2 release.

@dhuebner
Copy link
Member

Released with v0.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants