summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/of_config/of-config-1.0.xsd2
-rw-r--r--ryu/lib/of_config/of-config-1.1.1.xsd6
-rw-r--r--ryu/lib/of_config/of-config-1.1.xsd6
3 files changed, 14 insertions, 0 deletions
diff --git a/ryu/lib/of_config/of-config-1.0.xsd b/ryu/lib/of_config/of-config-1.0.xsd
index baf12587..a30d4d26 100644
--- a/ryu/lib/of_config/of-config-1.0.xsd
+++ b/ryu/lib/of_config/of-config-1.0.xsd
@@ -7,6 +7,8 @@
xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">
<xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-inet-types"
schemaLocation="ietf-inet-types.xsd"/>
+ <xs:import namespace="urn:ietf:params:xml:ns:netconf:base:1.0"
+ schemaLocation="../netconf/netconf.xsd"/>
<xs:element name="capable-switch" type="OFCapableSwitchType">
<xs:annotation>
<xs:documentation>The OpenFlow Capable Switch and its configuration points, logical
diff --git a/ryu/lib/of_config/of-config-1.1.1.xsd b/ryu/lib/of_config/of-config-1.1.1.xsd
index 9f10f703..a31bfe95 100644
--- a/ryu/lib/of_config/of-config-1.1.1.xsd
+++ b/ryu/lib/of_config/of-config-1.1.1.xsd
@@ -11,6 +11,12 @@
xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types"
xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types"
xmlns:of11-config="urn:onf:of111:config:yang">
+ <xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-inet-types"
+ schemaLocation="ietf-inet-types.xsd"/>
+ <xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-yang-types"
+ schemaLocation="ietf-yang-types.xsd"/>
+ <xs:import namespace="urn:ietf:params:xml:ns:netconf:base:1.0"
+ schemaLocation="../netconf/netconf.xsd"/>
<xs:annotation>
<xs:documentation> This schema was generated from the YANG module of-config1.1.1 by pyang
version 1.2. The schema describes an instance document consisting of the entire
diff --git a/ryu/lib/of_config/of-config-1.1.xsd b/ryu/lib/of_config/of-config-1.1.xsd
index f93ec7ec..3448a692 100644
--- a/ryu/lib/of_config/of-config-1.1.xsd
+++ b/ryu/lib/of_config/of-config-1.1.xsd
@@ -6,6 +6,12 @@
xmlns="urn:onf:params:xml:ns:onf:of12:config"
xmlns:of12-config="urn:onf:params:xml:ns:onf:of12:config"
xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
+ schemaLocation="xmldsig-core-schema.xsd"/>
+ <xs:import namespace="urn:ietf:params:xml:ns:yang:ietf-inet-types"
+ schemaLocation="ietf-inet-types.xsd"/>
+ <xs:import namespace="urn:ietf:params:xml:ns:netconf:base:1.0"
+ schemaLocation="../netconf/netconf.xsd"/>
<xs:element name="capable-switch" type="OFCapableSwitchType">
<xs:annotation>
<xs:documentation>The OpenFlow Capable Switch and its configurationpoints, logical