diff options
author | 2022-06-24 10:32:28 +0000 | |
---|---|---|
committer | 2022-06-28 11:37:16 +0000 | |
commit | ff54e2ebd940f8ad6b49be6480e6a3b6887c7f45 (patch) | |
tree | dab1f3c7017d1300bc48d820a9497f2c85cd74f1 /resources/libraries/python/ContainerUtils.py | |
parent | 86d584d86c6f37efb5c74921f51cf01dcb30cc37 (diff) |
feat(telemetry): Rework
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I0a84ce88b318c488ba2d519b20237c88b9f9f1e6
(cherry picked from commit b33b1461fe815b1a09267118644538a5b9351c60)
Diffstat (limited to 'resources/libraries/python/ContainerUtils.py')
-rw-r--r-- | resources/libraries/python/ContainerUtils.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py index 633144e35f..7ec8258686 100644 --- a/resources/libraries/python/ContainerUtils.py +++ b/resources/libraries/python/ContainerUtils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -589,6 +589,12 @@ class ContainerEngine: ) topo_instance.add_new_socket( self.container.node, + SocketType.CLI, + self.container.name, + self.container.cli_socket, + ) + topo_instance.add_new_socket( + self.container.node, SocketType.PAPI, self.container.name, self.container.api_socket, @@ -1277,6 +1283,7 @@ class Container: path = f"/tmp/vpp_sockets/{value}" self.__dict__[u"socket_dir"] = path self.__dict__[u"api_socket"] = f"{path}/api.sock" + self.__dict__[u"cli_socket"] = f"{path}/cli.sock" self.__dict__[u"stats_socket"] = f"{path}/stats.sock" self.__dict__[attr] = value else: |