From c3c3feeeeb42c1894253c3943c5eb8a3ba066dca Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Wed, 12 Jul 2017 14:37:47 +0300 Subject: [PATCH] NSX|v: Fix error on service insertion config Change-Id: I564fa7de87dd6d6a6dd3d101b639f9950659b622 --- vmware_nsx/services/flowclassifier/nsx_v/driver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmware_nsx/services/flowclassifier/nsx_v/driver.py b/vmware_nsx/services/flowclassifier/nsx_v/driver.py index 1319c84e50..027b35e42b 100644 --- a/vmware_nsx/services/flowclassifier/nsx_v/driver.py +++ b/vmware_nsx/services/flowclassifier/nsx_v/driver.py @@ -66,7 +66,8 @@ class NsxvFlowClassifierDriver(fc_driver.FlowClassifierDriverBase): rules from the nsx configuration and verify that it exists on backend. """ if not cfg.CONF.nsxv.service_insertion_profile_id: - raise cfg.RequiredOptError("service_profile_id") + raise cfg.RequiredOptError("service_insertion_profile_id", + group=cfg.OptGroup('nsxv')) self._profile_id = cfg.CONF.nsxv.service_insertion_profile_id # Verify that this moref exists