Skip to content

SONiC Yang model support for IPv6 link local#14757

Merged
qiluo-msft merged 5 commits intosonic-net:masterfrom
AkhileshSamineni:link-local-yang
May 4, 2023
Merged

SONiC Yang model support for IPv6 link local#14757
qiluo-msft merged 5 commits intosonic-net:masterfrom
AkhileshSamineni:link-local-yang

Conversation

@AkhileshSamineni
Copy link
Copy Markdown
Contributor

SONiC Yang model support for IPv6 link local

What I did
Created SONiC Yang model for IPv6 link local

How I did it
Defined Yang models for IPv6 link local based on https://github.com/sonic-net/SONiC/blob/master/doc/ipv6/ipv6_link_local.md

How to verify it
Added enable test case.

Signed-off-by: Akhilesh Samineni [email protected]

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 20, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: AkhileshSamineni / name: Akhilesh Samineni (0e58069)

@AkhileshSamineni
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft requested review from ganglyu and removed request for dgsudharsan April 20, 2023 17:56
@qiluo-msft qiluo-msft added the YANG YANG model related changes label Apr 20, 2023

leaf ipv6_use_link_local_only {
description "Enable/Disable IPv6 link local address on vlan interface";
type enumeration {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


leaf ipv6_use_link_local_only {
description "Enable/Disable IPv6 link local address on interface";
type enumeration {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


leaf ipv6_use_link_local_only {
description "Enable/Disable IPv6 link local address on portchannel interface";
type enumeration {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Copy Markdown
Collaborator

@dgsudharsan dgsudharsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update sample_config_db.json as well as Configuration guide.

]
}
}
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try to cover one negative scenario (e.g. "ipv6_use_link_local_only": "true") where yang validation should fail

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Signed-off-by: Akhilesh Samineni <[email protected]>
Signed-off-by: Akhilesh Samineni <[email protected]>
Signed-off-by: Akhilesh Samineni <[email protected]>
ganglyu
ganglyu previously approved these changes Apr 23, 2023
@dgsudharsan
Copy link
Copy Markdown
Collaborator

@AkhileshSamineni Can you please update sample_config_db.json and Configuration schema?

@AkhileshSamineni
Copy link
Copy Markdown
Contributor Author

@AkhileshSamineni Can you please update sample_config_db.json and Configuration schema?

Done.

@AkhileshSamineni
Copy link
Copy Markdown
Contributor Author

@qiluo-msft Test failure is not related to code changes. Trying the re-build again.

@AkhileshSamineni
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

@AkhileshSamineni PR conflicts with 202205 branch

@mssonicbld
Copy link
Copy Markdown
Collaborator

@AkhileshSamineni PR conflicts with 202111 branch

@moshemos
Copy link
Copy Markdown

@AkhileshSamineni can you fix the conflict both for 202205 as well as 202211? please priorities

@mssonicbld
Copy link
Copy Markdown
Collaborator

@AkhileshSamineni PR conflicts with 202211 branch

StormLiangMS pushed a commit that referenced this pull request May 12, 2023
This is backport of #14757

SONiC Yang model support for IPv6 link local

What I did
Created SONiC Yang model for IPv6 link local

How I did it
Defined Yang models for IPv6 link local based on https://github.com/sonic-net/SONiC/blob/master/doc/ipv6/ipv6_link_local.md

How to verify it
Added enable test case.

Signed-off-by: Akhilesh Samineni [email protected]
keboliu added a commit to keboliu/sonic-buildimage that referenced this pull request May 12, 2023
@dgsudharsan
Copy link
Copy Markdown
Collaborator

@AkhileshSamineni Can you please create cherry-pick PR for 202205 as well?

yxieca pushed a commit that referenced this pull request May 26, 2023
This is backport of #14757

SONiC Yang model support for IPv6 link local

What I did
Created SONiC Yang model for IPv6 link local

How I did it
Defined Yang models for IPv6 link local based on https://github.com/sonic-net/SONiC/blob/master/doc/ipv6/ipv6_link_local.md

How to verify it
Added enable test case.

Signed-off-by: Akhilesh Samineni <[email protected]>
@keboliu
Copy link
Copy Markdown
Collaborator

keboliu commented Jun 13, 2023

update the label since it has been included in 202211 through PR #15021

mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jun 5, 2024
This is backport of sonic-net#14757

SONiC Yang model support for IPv6 link local

What I did
Created SONiC Yang model for IPv6 link local

How I did it
Defined Yang models for IPv6 link local based on https://github.com/sonic-net/SONiC/blob/master/doc/ipv6/ipv6_link_local.md

How to verify it
Added enable test case.

Signed-off-by: Akhilesh Samineni <[email protected]>
@wen587
Copy link
Copy Markdown
Contributor

wen587 commented Feb 24, 2025

Hi @AkhileshSamineni , could you check if it is miss that not consider sub interface case?
#21631

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants