Skip to content

Commit

Permalink
gNOI Cold Reboot - Integrated Docker and Makefile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkavitha-hcl authored and KAVITHA RAMALINGAM committed Dec 13, 2024
1 parent e2450dd commit 2a61fcb
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions src/sonic-framework/rebootbackend/gnoi_reboot_dbus.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@

/*
* This file was automatically generated by dbusxx-xml2cpp; DO NOT EDIT!
*/

#ifndef __dbusxx__rebootbackend_gnoi_reboot_dbus_h__PROXY_MARSHAL_H
#define __dbusxx__rebootbackend_gnoi_reboot_dbus_h__PROXY_MARSHAL_H

#include <dbus-c++/dbus.h>
#include <cassert>

namespace org {
namespace SONiC {
namespace HostService {

class gnoi_reboot_proxy
: public ::DBus::InterfaceProxy
{
public:

gnoi_reboot_proxy()
: ::DBus::InterfaceProxy("org.SONiC.HostService.gnoi_reboot")
{
}

public:

/* properties exported by this interface */
public:

/* methods exported by this interface,
* this functions will invoke the corresponding methods on the remote objects
*/
void issue_reboot(const std::vector< std::string >& options, int32_t& argout0, std::string& argout1)
{
::DBus::CallMessage call;
::DBus::MessageIter wi = call.writer();

wi << options;
call.member("issue_reboot");
::DBus::Message ret = invoke_method (call);
::DBus::MessageIter ri = ret.reader();

ri >> argout0;
ri >> argout1;
}

void get_reboot_status(int32_t& argout0, std::string& argout1)
{
::DBus::CallMessage call;
call.member("get_reboot_status");
::DBus::Message ret = invoke_method (call);
::DBus::MessageIter ri = ret.reader();

ri >> argout0;
ri >> argout1;
}


public:

/* signal handlers for this interface
*/

private:

/* unmarshalers (to unpack the DBus message before calling the actual signal handler)
*/
};

} } }
#endif //__dbusxx__rebootbackend_gnoi_reboot_dbus_h__PROXY_MARSHAL_H

0 comments on commit 2a61fcb

Please sign in to comment.