Skip to content

[POC] POC code for show default value with yang model#10575

Closed
liuh-80 wants to merge 27 commits intosonic-net:masterfrom
liuh-80:dev/liuh/swss_default_value
Closed

[POC] POC code for show default value with yang model#10575
liuh-80 wants to merge 27 commits intosonic-net:masterfrom
liuh-80:dev/liuh/swss_default_value

Conversation

@liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Apr 14, 2022

Why I did it

Add default value and profile support to swss-swss-common.

How I did it

Add DefaultValueProvider and ProfileProvider.

How to verify it

Add new UT.
Pass all existing UT and E2E test.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Add default value and profile support to swss-swss-common.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@liuh-80
Copy link
Contributor Author

liuh-80 commented Apr 14, 2022

Create this POC to test if swss-common change can pass all E2E test

@liuh-80 liuh-80 force-pushed the dev/liuh/swss_default_value branch 3 times, most recently from 734fd0a to 7bdf636 Compare July 28, 2022 09:01
@liuh-80 liuh-80 force-pushed the dev/liuh/swss_default_value branch from 2f86aaa to 8f72e52 Compare September 8, 2022 07:31
@liuh-80
Copy link
Contributor Author

liuh-80 commented Sep 9, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liuh-80
Copy link
Contributor Author

liuh-80 commented Oct 23, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Pull request contains merge conflicts.

from sonic_py_common.multi_asic import get_asic_id_from_name, get_asic_device_id, is_multi_asic
from sonic_py_common import device_info
from swsscommon.swsscommon import ConfigDBConnector, SonicDBConfig, ConfigDBPipeConnector
from swsscommon.swsscommon import SonicV2Connector, ConfigDBConnector, SonicDBConfig, ConfigDBPipeConnector

Check notice

Code scanning / CodeQL

Unused import

Import of 'SonicV2Connector' is not used.
@liuh-80
Copy link
Contributor Author

liuh-80 commented Oct 31, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@liuh-80
Copy link
Contributor Author

liuh-80 commented Jan 4, 2023

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 10575 in repo sonic-net/sonic-buildimage

@liuh-80
Copy link
Contributor Author

liuh-80 commented Jan 20, 2023

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 10575 in repo sonic-net/sonic-buildimage

@liuh-80
Copy link
Contributor Author

liuh-80 commented Jan 20, 2023

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 10575 in repo sonic-net/sonic-buildimage

@liuh-80 liuh-80 closed this Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant