diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2013-03-07 18:00:46 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-03-08 07:21:03 +0900 |
commit | 281c8134b9b8300cf554df775a644354e6e46098 (patch) | |
tree | abf4f2765fd362b79e8738ad6a014f330c806ff6 | |
parent | df5de86b1f53cb9170c0982444b6f573d3211819 (diff) |
of_config/schema: add missing import
Otherwise lxml.etree.XMLSchema complains.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/of_config/of-config-1.0.xsd | 2 | ||||
-rw-r--r-- | ryu/lib/of_config/of-config-1.1.1.xsd | 6 | ||||
-rw-r--r-- | ryu/lib/of_config/of-config-1.1.xsd | 6 |
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 |