Added support for pm configuration and reporting to ponsim.

Change-Id: I047627253f60beb624d38bde1e5da31adc42312e
diff --git a/voltha/core/adapter_agent.py b/voltha/core/adapter_agent.py
index e926d9d..c822c42 100644
--- a/voltha/core/adapter_agent.py
+++ b/voltha/core/adapter_agent.py
@@ -218,7 +218,8 @@
         device_agent = self.core.get_device_agent(device_pm_config.id)
         device_agent.update_device_pm_config(device_pm_config,init)
 
-    def update_adapter_pm_config(self, device, device_pm_config):
+    def update_adapter_pm_config(self, device_id, device_pm_config):
+        device = self.get_device(device_id)
         self.adapter.update_pm_config(device, device_pm_config)
 
     def _add_peer_reference(self, device_id, port):