Add support for SocketAttributes interface

Tested:

1) Network services bmcweb and phosphor-ipmi-net implement the interface
   xyz.openbmc_project.Control.Service.SocketAttributes and property Port
   is populated correctly.
2) Verified services like VUART does not implement the SocketAttributes interface.
3) Modified the Port of phosphor-ipmi-net and verified.
3a) Network IPMI works on the new port.
3b) The new port is reflected when quering the IPMI protocol details via Redfish.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I4511ce9e5426d99895f8074617cdb41d6085fd13
diff --git a/inc/srvcfg_manager.hpp b/inc/srvcfg_manager.hpp
index adfa89a..023b1d8 100644
--- a/inc/srvcfg_manager.hpp
+++ b/inc/srvcfg_manager.hpp
@@ -27,9 +27,11 @@
     "xyz.openbmc_project.Control.Service.Manager";

 static constexpr const char* serviceConfigIntfName =

     "xyz.openbmc_project.Control.Service.Attributes";

+static constexpr const char* sockAttrIntfName =

+    "xyz.openbmc_project.Control.Service.SocketAttributes";

 static constexpr const char* srcCfgMgrBasePath =

     "/xyz/openbmc_project/control/service";

-static constexpr const char* srvCfgPropPort = "Port";

+static constexpr const char* sockAttrPropPort = "Port";

 static constexpr const char* srvCfgPropMasked = "Masked";

 static constexpr const char* srvCfgPropEnabled = "Enabled";

 static constexpr const char* srvCfgPropRunning = "Running";

@@ -67,7 +69,9 @@
 

   private:

     sdbusplus::asio::object_server& server;

-    std::shared_ptr<sdbusplus::asio::dbus_interface> iface;

+    std::shared_ptr<sdbusplus::asio::dbus_interface> srvCfgIface;

+    std::shared_ptr<sdbusplus::asio::dbus_interface> sockAttrIface;

+

     bool internalSet = false;

     std::string objPath;

     std::string baseUnitName;