Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

amy's profile - activity

2016-07-11 10:21:27 -0700 received badge  Famous Question (source)
2016-05-09 07:00:59 -0700 received badge  Notable Question (source)
2016-05-09 07:00:00 -0700 received badge  Popular Question (source)
2016-05-09 07:00:00 -0700 received badge  Notable Question (source)
2016-03-30 00:24:19 -0700 received badge  Popular Question (source)
2016-03-23 00:21:37 -0700 commented answer Unavailable capabilities

the log is RemoteDevice{router}: Unable to build schema context, unsatisfied imports {SourceIdentifier [name=ietf-netconf-notifications@2012-02-06]=[ModuleImportImpl [name=ietf-inet-types, revision=2010-09-24], ModuleImportImpl [name=ietf-netconf, revision=2011-06-01]]

2016-03-22 22:36:47 -0700 commented answer Unavailable capabilities

when I remove the 2013-07-15 ietf-inet-types, that doesn't work

2016-03-22 22:35:10 -0700 commented answer Unavailable capabilities

also I check the cache/schema, there are two versions of ietf-inet-types. I don't know how to solve it, any advice will be appreciate!

2016-03-21 06:50:54 -0700 asked a question experiment with netopeer server,and cert-to-name doesn't exist

now I am doing an experiment using netopeer server. I install the Opendaylight with Beryllium in the server , and install netopeer in a router. In the router,I can connect netopeer server using netopeer-cli, but when I register the device to the karaf, there is an error:

2016-03-21 06:41:36,938 | ERROR | sing-executor-18 | NetconfDevice | 182 - org.opendaylight.netconf.sal-netconf-connector - 1.3.0.Beryllium | RemoteDevice{router}: Initialization in sal failed, disconnecting from device

java.lang.IllegalArgumentException: Referenced base identity 'cert-to-name' doesn't exist in given scope (module, imported submodules), source: 'ietf-netconf-server:1000:10'

I don't know how to solve this error. Any help will be appreciated!

2016-03-10 08:11:12 -0700 commented answer Unavailable capabilities

I know for “unable-to-resolve”,we need to import corresponding module. But for "missing-source" I have no idea. I am appreciate for your reply!

2016-03-09 23:41:09 -0700 answered a question Unavailable capabilities

I have the same error, do you know how to solve it?

2016-03-09 22:26:15 -0700 received badge  Editor (source)
2016-03-09 17:22:29 -0700 asked a question using RESTful api to edit the Augment content "Unknown child(ren) node(s) detected"

recently I do some experiment with NETConf connector in ODL, I follow the step from the tutorial "http://sdnhub.org/tutorials/opendaylight-tutorial/experimenting-with-netconf-connector-in-opendaylight/"

I manage the device's information through the RESTful API, but in the YANG models, there are some augment model. I failed editing the augment content, and confused why failed.

so I want to know how to edit augment model with RESTful API, and please give me an example to help me, thanks a lot!

here I list my edit content: '''

curl -u admin:admin -v -X PUT -H "Content-Type: application/xml" -d '

<savi-instances xmlns="urn:ietf:params:xml:ns:yang:ietf-savi">

 <savi-instance>

      <savi-method>savi-dhcpv4</savi-method>

      <enable>true</enable>

      <preference>2</preference>

      <if-attributes>

           <if-attribute>

                <ifname>eth2</ifname>

                <trust-attribute xmlns="urn:ietf:params:xml:ns:yang:ietf-savi-dhcpv4">false</trust-attribute>
                <dhcp-trust xmlns:dhcpv4="urn:ietf:params:xml:ns:yang:ietf-savi-dhcpv4">false</dhcp-trust>
                <dhcp-snooping xmlns:dhcpv4="urn:ietf:params:xml:ns:yang:ietf-savi-dhcpv4">true</dhcp-snooping>
                <data-snooping xmlns:dhcpv4="urn:ietf:params:xml:ns:yang:ietf-savi-dhcpv4">false</data-snooping>
                <validating xmlns:dhcpv4="urn:ietf:params:xml:ns:yang:ietf-savi-dhcpv4">true</validating>
           </if-attribute>              
      </if-attributes>
</savi-instance>

' http://localhost:8181/restconf/config...

the error message is " {"errors":{"error":[{"error-type":"protocol","error-tag":"malformed-message","error-message":"Error parsing input: Unknown child(ren) node(s) detected, identified by: (urn:ietf:params:xml:ns:yang:ietf-savi-dhcpv4)trust-attribute, in: list if-attribute"}]}} "

I beg your help!

2016-03-07 00:39:21 -0700 asked a question key which is of type identityref it should be in format module_name:identity_name

I design a new YANG model about SAVI(Source Address Validation Improvement).The YANG is: "

container savi-instances {

   list savi-instance {
            key savi-method;

            leaf savi-method {
                type string; 
            }

            leaf enable {
                type boolean;
            }
            leaf preference {
                type uint32;
            }
            container if-attributes {
                list if-attribute {
                    key ifname;
                    leaf ifname {
                        type if:interface-ref;
                    }
                }
            }
        }
    }

"

here I want to request the information about savi-instances, the url is : " http://166.111.143.235:8181/restconf/... " The error is responsed as " protocolunknown-element"savi-manual" in URI was not found in parent data node"

and then I change the url as " http://166.111.143.235:8181/restconf/... " then the error changed as " or key which is of type identityref it should be in format module name:identityname. " in the YANG model, the module name is " module ietf-savi {……………}"

so I change the url as" http://166.111.143.235:8181/restconf/... " the error is same as the last one.

so I beg for the answer about the rule of the url, and why the error appear