summaryrefslogtreecommitdiff
path: root/data/schemata/interface_definition.rnc
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-12-30 23:23:16 +0700
committerDaniil Baturin <daniil@baturin.org>2016-12-30 23:23:16 +0700
commit766a2cb172eb2bce67f05350c9712e7a7f3adb9c (patch)
tree6dd541cdc1813ff598eed75dc4daf62221be1820 /data/schemata/interface_definition.rnc
parent4f69b2c58a53e405eb23d5763de774e9526420a0 (diff)
downloadvyconf-766a2cb172eb2bce67f05350c9712e7a7f3adb9c.tar.gz
vyconf-766a2cb172eb2bce67f05350c9712e7a7f3adb9c.zip
Remove the extends attribute from <interfaceDefinition>
It's problematic for multiple reasons: 1. It's plaintext and is hard to verify 2. If it's wrong, it may have a very "interesting" effect on the resulting reference tree, such as lots of misplaced nodes 3. It's hardly ever needed as most nodes only go one or two levels deep in VyOS, such as "service $something" or "interfaces $something", and I think it's unlikely that other appliances will differ much.
Diffstat (limited to 'data/schemata/interface_definition.rnc')
-rw-r--r--data/schemata/interface_definition.rnc9
1 files changed, 1 insertions, 8 deletions
diff --git a/data/schemata/interface_definition.rnc b/data/schemata/interface_definition.rnc
index 913123c..fc063ac 100644
--- a/data/schemata/interface_definition.rnc
+++ b/data/schemata/interface_definition.rnc
@@ -24,14 +24,7 @@
# Interface definition starts with interfaceDefinition tag that may contain node tags
start = element interfaceDefinition
{
- extendsAttr?, node*
-}
-
-# Interface definitions may extend other definitions
-# In this case you specify a whitespace-separated path
-extendsAttr = attribute extends
-{
- text
+ node*
}
# node tag may contain node, leafNode, or tagNode tags