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

GNOI Cold Reboot #20243

Closed
wants to merge 2 commits into from
Closed

Conversation

rkavitha-hcl
Copy link

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

.gitmodules Outdated
path = src/sonic-framework/gnoi
url = https://github.com/openconfig/gnoi
[submodule "gnoi"]
path = gnoi

Choose a reason for hiding this comment

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

Remove this

Makefile.work Outdated
@@ -193,7 +193,7 @@ SONIC_OVERRIDE_BUILD_VARS += SONIC_VERSION_CACHE=$(SONIC_VERSION_CACHE)
SONIC_OVERRIDE_BUILD_VARS += SONIC_VERSION_CACHE_SOURCE=$(SONIC_VERSION_CACHE_SOURCE)
export SONIC_VERSION_CACHE SONIC_VERSION_CACHE_SOURCE
$(shell test -d $(SONIC_VERSION_CACHE_SOURCE) || \
mkdir -p $(SONIC_VERSION_CACHE_SOURCE) && chmod -f 777 $(SONIC_VERSION_CACHE_SOURCE) 2>/dev/null )
sudo mkdir -p $(SONIC_VERSION_CACHE_SOURCE) && chmod -f 777 $(SONIC_VERSION_CACHE_SOURCE) 2>/dev/null )

Choose a reason for hiding this comment

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

This may not be required.

@@ -17,9 +17,10 @@ libicu67==67.1-7
libipt2==2.0.3-1
libmpfr6==4.1.0-3
libnsl-dev==1.3.0-2
libprotobuf-dev==3.12.4-1+deb11u1

Choose a reason for hiding this comment

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

I am not sure if gbsyncd-broncos and syncd-pensando changes are really required. Pls try to remove these 2 file changes and build a sonic-vs to see if build can go thru.

@@ -6,12 +6,12 @@ libgrpc++1==1.30.2-3
libgrpc-dev==1.30.2-3
libgrpc10==1.30.2-3
libkmod2==28-1
libprotobuf-dev==3.12.4-1+deb11u1

Choose a reason for hiding this comment

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

See prev comment.

@@ -11,7 +11,8 @@ $(DOCKER_SONIC_VS)_DEPENDS += $(SYNCD_VS) \
$(LIBYANG_CPP) \

Choose a reason for hiding this comment

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

gnoi sub module at root level should not exist.


int main(int argc, char** argv) {
HostServiceDbus dbus_interface;
//CriticalState critical_interface;

Choose a reason for hiding this comment

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

Rmove commented lines

std::copy(m_missing_registrations.begin(), m_missing_registrations.end(),
std::ostream_iterator<std::string>(stream, ","));
return stream.str();
}

Choose a reason for hiding this comment

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

Remove all wam reboot code


friend class RedisTest;
};

Choose a reason for hiding this comment

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

Remove all warm reboot code

}
} */

} // namespace rebootbackend

Choose a reason for hiding this comment

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

John: Is Telemetry interface required ?

Choose a reason for hiding this comment

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

Can you be more specific? I don't know what you mean by Telemetry interface.

@@ -0,0 +1,60 @@
INCLUDES = -I $(top_srcdir) -I $(top_srcdir)/rebootbackend -I $(top_srcdir)/rebootbackend/system

Choose a reason for hiding this comment

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

Have we run the tests ?

@rkavitha-hcl
Copy link
Author

'/azpw ms_conflict'

@rkavitha-hcl
Copy link
Author

/azpw ms_conflict

@rkavitha-hcl rkavitha-hcl force-pushed the patch1_branch branch 5 times, most recently from 6e56b56 to 1b4823f Compare October 3, 2024 17:53
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.

3 participants