From d40b12191bdfa64b5f1046de6de885cd887ec69f Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Thu, 7 Mar 2013 18:00:43 +0900 Subject: [PATCH] netconf: improve schema for netconf RFC6241 defines only message layer, doesn't operation layer. So adds definitions for operation layer. Note: notification layer is still missing yet. Plus indentation fix. Signed-off-by: Isaku Yamahata Signed-off-by: FUJITA Tomonori --- ryu/lib/netconf/netconf.xsd | 399 +++++++++++++++++++++++++++++++++--- 1 file changed, 368 insertions(+), 31 deletions(-) diff --git a/ryu/lib/netconf/netconf.xsd b/ryu/lib/netconf/netconf.xsd index 77853eb5..581e1fff 100644 --- a/ryu/lib/netconf/netconf.xsd +++ b/ryu/lib/netconf/netconf.xsd @@ -15,10 +15,14 @@ + import standard XML definitions + --> + + This import accesses the xml: attribute groups for the @@ -26,17 +30,19 @@ + + message-id attribute + --> + + Types used for session-id + --> @@ -45,9 +51,10 @@ + + element + --> @@ -55,14 +62,15 @@ + Arbitrary attributes can be supplied with element. + --> + + data types and elements used to construct rpc-errors + --> @@ -149,9 +157,10 @@ minOccurs="0"/> + + operation attribute used in + --> @@ -161,10 +170,23 @@ - + + + default-operation element + --> + + + + + + + + + + @@ -174,37 +196,49 @@ + + Any attributes supplied with element must be returned + on . + --> + + + + + + + + + element + --> + + rpcOperationType: used as a base type for all + NETCONF operations + --> + + rpcResponseType: used as a base type for all + NETCONF responses + --> + + element + --> @@ -221,5 +255,308 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +