summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-05-23 13:16:24 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-06-23 20:05:47 -0500
commit31553283aaa929da63147082e85513e8d4dacf0e (patch)
tree969126c2f556626ef4dec8de344c38c481c398ee /python
parent591b8bcadd8b6bbd46c61484193d2bf7e16bd1ae (diff)
downloadvyos-1x-31553283aaa929da63147082e85513e8d4dacf0e.tar.gz
vyos-1x-31553283aaa929da63147082e85513e8d4dacf0e.zip
T3574: do not add constraintGroup property to xml cache
Diffstat (limited to 'python')
-rw-r--r--python/vyos/xml/load.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/xml/load.py b/python/vyos/xml/load.py
index 0965d4220..37479c6e1 100644
--- a/python/vyos/xml/load.py
+++ b/python/vyos/xml/load.py
@@ -225,6 +225,9 @@ def _format_node(inside, conf, xml):
else:
_fatal(constraint)
+ elif 'constraintGroup' in properties:
+ properties.pop('constraintGroup')
+
elif 'constraintErrorMessage' in properties:
r[kw.error] = properties.pop('constraintErrorMessage')