Skip to content

Commit

Permalink
[contrail] add another container regex
Browse files Browse the repository at this point in the history
In a contrail environment, the container name could also start with vrouter,
this then ensures that the relevant details are also collected from any host
that has the containers running

Signed-off-by: Arif Ali <[email protected]>
  • Loading branch information
arif-ali authored and TurboTurtle committed Sep 7, 2023
1 parent 28ae202 commit d5915df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sos/report/plugins/opencontrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ class OpenContrail(Plugin, IndependentPlugin):
plugin_name = 'opencontrail'
profiles = ("network",)
packages = ('opencontrail',)
containers = ('opencontrail.*',)
containers = (
'opencontrail.*',
'vrouter.*',
)

def setup(self):
# assuming the container names will start with "opencontrail"
Expand Down

0 comments on commit d5915df

Please sign in to comment.