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

Add configDB table names to schema.h #146

Merged
merged 1 commit into from
Oct 23, 2017

Conversation

jipanyang
Copy link
Contributor

Signed-off-by: Jipan Yang [email protected]

@lguohan
Copy link
Contributor

lguohan commented Oct 23, 2017

@taoyl-ms to review.

@lguohan lguohan requested a review from taoyl-ms October 23, 2017 17:33
@lguohan lguohan merged commit 3fe7e17 into sonic-net:master Oct 23, 2017
/***** CONFIGUATION DATABASE *****/
#define CFG_PORT_TABLE_NAME "PORT"
#define CFG_INTF_TABLE_NAME "INTERFACE"
#define CFG_LAG_INTF_TABLE_NAME "PORTCHANNEL_INTERFACE"
Copy link
Contributor

Choose a reason for hiding this comment

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

why we're using LAG in the TABLE name but PORTCHANNEL in the actual string?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using LAG in the TABLE name macro to be consistent with app and state DB, it is less confusing when writing code.

Real table name PORTCHANNEL_INTERFACE is from minigraph, would like to keep it as it is at least for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok

@jipanyang jipanyang deleted the schema_update branch June 7, 2018 02:11
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.

4 participants