Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES@Cisco) <mgradzki@...>
toggle quoted message
Show quoted text
From: hc2vppH@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 9 marca 2018 15:20
To: hc2vpp@...
Cc: hc2vpp@...
Subject: Re: [hc2vpp] edit works but commit doesnt.
Just to understand what the end solution looks like once I have finished the “mount”...so just to clarify,what this exercise will allow me to achieve ...is basically talk to my vpp endpoint from postman through odl?so postman will send
(as suggested in your last line)..get requests for example to the odl via restconf and then odl willl translate that to a subsequent be conf message and send it to my end device? Is that what the end solution will look like ?
Is that what I am achieving after the mount?
I thought once mounted I can talk to vpp device directly from odl based apps.i didn’t realize “Mount” was simple bridging postman and vpp device through odl...is there anything equivalent to a postman environment available in odl where
I can do this directly from odl without using postman?
On Fri, Mar 9, 2018 at 3:10 AM Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Please find my replies inline.
Marek
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 9 marca 2018 06:40
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
When mounting vpp on odl I got these following questions..the documentation or mounting instructions are a little bit diff to understand
1)should I run the restconf “put” from postman to my odl controller?
2)the body of the restconf message what does it actually do?mount a netconf server o to the odl?in that case should the parameters of the restconf script be the parameter of my
vpp?i.e IP information..host etc?
3)It said in the instructions that I need to configure my netconf connector.I could not locate that file on the odl folder mentioned?is there anything I need to install before hand?
Marek: not sure what file are you referring to
4)once I have mounted the vpp,which app in the openDlux UI do I connect to the vpp from?YANGUI or some other?
Please ask ODL mailing lists regarding openDlux UI or YANGUI.
The documentation has too many ifs and but scenarios but not really a sequential stepwise instruction
On Tue, Mar 6, 2018 at 6:59 AM Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Hi,
Please find me replies inline.
Marek
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 4 marca 2018 19:04
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
Hi Marek,
Thanks for your advice. 2 questions:
1) How do i get the log is it under /var/log/honeycomb.log?
2)I got another one when configuring a Bridge-domain.... Complete RPC in attachment.. It never quite tells me the exact line no of the error unfortuantely. I guess thats why you
asked for the error.log.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-severity>error</error-severity>
<error-message>Error parsing input: Input is missing some of the keys of (urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)interface</error-message>
M: looks like you don’t have proper key for interface defined.
3)Also attaching the last 300 lines of log from the bridge_domain log right after configuring the bridge-domain and getting the error.
Please attach full log and try single netconf message.
Please add following line to the config/logger.xml:
<logger name="org.opendaylight.netconf" level="TRACE"/>
From the lines you attached it looks like you have malformed netconf message:
org.xml.sax.SAXParseException: The element type "interface" must be terminated by the matching end-tag
"</interface>".
Please try to use some tool to generate netconf messages (e.g ODL).
As you can see it is difficult to write them by hand…
Regards,
Marek
On Thu, Mar 1, 2018 at 1:15 AM, Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Please attach the log…
Regards,
Marek
From:
hc2vpp@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 28 lutego 2018 23:23
To: hc2vpp@...
Subject: [hc2vpp] edit works but commit doesnt.
So I did an edit-config and got an rpc-ok.
But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd,
isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey
[_name=host-vpp2out]]]}</error-message>
|
|
Great thanks again
Just to understand what the end solution looks like once I have finished the “mount”...so just to clarify,what this exercise will allow me to achieve ...is basically talk to my vpp endpoint from postman through odl?so postman will send (as suggested in your last line)..get requests for example to the odl via restconf and then odl willl translate that to a subsequent be conf message and send it to my end device? Is that what the end solution will look like ?
Is that what I am achieving after the mount?
I thought once mounted I can talk to vpp device directly from odl based apps.i didn’t realize “Mount” was simple bridging postman and vpp device through odl...is there anything equivalent to a postman environment available in odl where I can do this directly from odl without using postman?
Thanks On Fri, Mar 9, 2018 at 3:10 AM Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) < mgradzki@...> wrote:
toggle quoted message
Show quoted text
Please find my replies inline.
Marek
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 9 marca 2018 06:40
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
When mounting vpp on odl I got these following questions..the documentation or mounting instructions are a little bit diff to understand
1)should I run the restconf “put” from postman to my odl controller?
2)the body of the restconf message what does it actually do?mount a netconf server o to the odl?in that case should the parameters of the restconf script be the parameter of my vpp?i.e IP information..host etc?
3)It said in the instructions that I need to configure my netconf connector.I could not locate that file on the odl folder mentioned?is there anything I need to install before hand?
Marek: not sure what file are you referring to
4)once I have mounted the vpp,which app in the openDlux UI do I connect to the vpp from?YANGUI or some other?
Please ask ODL mailing lists regarding openDlux UI or YANGUI.
The documentation has too many ifs and but scenarios but not really a sequential stepwise instruction
On Tue, Mar 6, 2018 at 6:59 AM Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Hi,
Please find me replies inline.
Marek
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 4 marca 2018 19:04
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
Hi Marek,
Thanks for your advice. 2 questions:
1) How do i get the log is it under /var/log/honeycomb.log?
2)I got another one when configuring a Bridge-domain.... Complete RPC in attachment.. It never quite tells me the exact line no of the error unfortuantely. I guess thats why you
asked for the error.log.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-severity>error</error-severity>
<error-message>Error parsing input: Input is missing some of the keys of (urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)interface</error-message>
M: looks like you don’t have proper key for interface defined.
3)Also attaching the last 300 lines of log from the bridge_domain log right after configuring the bridge-domain and getting the error.
Please attach full log and try single netconf message.
Please add following line to the config/logger.xml:
<logger name="org.opendaylight.netconf" level="TRACE"/>
From the lines you attached it looks like you have malformed netconf message:
org.xml.sax.SAXParseException: The element type "interface" must be terminated by the matching end-tag
"</interface>".
Please try to use some tool to generate netconf messages (e.g ODL).
As you can see it is difficult to write them by hand…
Regards,
Marek
On Thu, Mar 1, 2018 at 1:15 AM, Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Please attach the log…
Regards,
Marek
From:
hc2vpp@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 28 lutego 2018 23:23
To: hc2vpp@...
Subject: [hc2vpp] edit works but commit doesnt.
So I did an edit-config and got an rpc-ok.
But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd,
isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey
[_name=host-vpp2out]]]}</error-message>
|
|
Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES@Cisco) <mgradzki@...>
Please find my replies inline.
Marek
toggle quoted message
Show quoted text
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 9 marca 2018 06:40
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Cc: hc2vpp@...
Subject: Re: [hc2vpp] edit works but commit doesnt.
When mounting vpp on odl I got these following questions..the documentation or mounting instructions are a little bit diff to understand
1)should I run the restconf “put” from postman to my odl controller?
2)the body of the restconf message what does it actually do?mount a netconf server o to the odl?in that case should the parameters of the restconf script be the parameter of my vpp?i.e IP information..host etc?
Marek: Yes IP + port HC NETCONF (TCP/SSH whatever you choose) is listening on,
See https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Spawning_netconf_connectors_via_topology_configuration
3)It said in the instructions that I need to configure my netconf connector.I could not locate that file on the odl folder mentioned?is there anything I need to install before hand?
Marek: not sure what file are you referring to
4)once I have mounted the vpp,which app in the openDlux UI do I connect to the vpp from?YANGUI or some other?
Marek: not sure what you are trying to achieve, but if you just want to see some netconf requests send from ODL to HC, then you can invoke
RESTCONF from HC postman collections with the following prefix:
http://[ODL IP]:[ODL restconf port]/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/[your netconf device name]/yang-ext:mount/
e.g.
GET http://localhost:8181/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/vpp/yang-ext:mount/ietf-interfaces:interfaces-state
Please ask ODL mailing lists regarding openDlux UI or YANGUI.
The documentation has too many ifs and but scenarios but not really a sequential stepwise instruction
On Tue, Mar 6, 2018 at 6:59 AM Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Hi,
Please find me replies inline.
Marek
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 4 marca 2018 19:04
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
Hi Marek,
Thanks for your advice. 2 questions:
1) How do i get the log is it under /var/log/honeycomb.log?
2)I got another one when configuring a Bridge-domain.... Complete RPC in attachment.. It never quite tells me the exact line no of the error unfortuantely. I guess thats why you
asked for the error.log.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-severity>error</error-severity>
<error-message>Error parsing input: Input is missing some of the keys of (urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)interface</error-message>
M: looks like you don’t have proper key for interface defined.
3)Also attaching the last 300 lines of log from the bridge_domain log right after configuring the bridge-domain and getting the error.
Please attach full log and try single netconf message.
Please add following line to the config/logger.xml:
<logger name="org.opendaylight.netconf" level="TRACE"/>
From the lines you attached it looks like you have malformed netconf message:
org.xml.sax.SAXParseException: The element type "interface" must be terminated by the matching end-tag
"</interface>".
Please try to use some tool to generate netconf messages (e.g ODL).
As you can see it is difficult to write them by hand…
Regards,
Marek
On Thu, Mar 1, 2018 at 1:15 AM, Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Please attach the log…
Regards,
Marek
From:
hc2vpp@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 28 lutego 2018 23:23
To: hc2vpp@...
Subject: [hc2vpp] edit works but commit doesnt.
So I did an edit-config and got an rpc-ok.
But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd,
isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey
[_name=host-vpp2out]]]}</error-message>
|
|
Thanks marek,
When mounting vpp on odl I got these following questions..the documentation or mounting instructions are a little bit diff to understand 1)should I run the restconf “put” from postman to my odl controller?
2)the body of the restconf message what does it actually do?mount a netconf server o to the odl?in that case should the parameters of the restconf script be the parameter of my vpp?i.e IP information..host etc?
3)It said in the instructions that I need to configure my netconf connector.I could not locate that file on the odl folder mentioned?is there anything I need to install before hand?
4)once I have mounted the vpp,which app in the openDlux UI do I connect to the vpp from?YANGUI or some other?
The documentation has too many ifs and but scenarios but not really a sequential stepwise instruction
Thanks again On Tue, Mar 6, 2018 at 6:59 AM Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) < mgradzki@...> wrote:
toggle quoted message
Show quoted text
Hi,
Please find me replies inline.
Marek
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 4 marca 2018 19:04
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
Hi Marek,
Thanks for your advice. 2 questions:
1) How do i get the log is it under /var/log/honeycomb.log?
2)I got another one when configuring a Bridge-domain.... Complete RPC in attachment.. It never quite tells me the exact line no of the error unfortuantely. I guess thats why you asked for the error.log.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-severity>error</error-severity>
<error-message>Error parsing input: Input is missing some of the keys of (urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)interface</error-message>
M: looks like you don’t have proper key for interface defined.
3)Also attaching the last 300 lines of log from the bridge_domain log right after configuring the bridge-domain and getting the error.
Please attach full log and try single netconf message.
Please add following line to the config/logger.xml:
<logger name="org.opendaylight.netconf" level="TRACE"/>
From the lines you attached it looks like you have malformed netconf message:
org.xml.sax.SAXParseException: The element type "interface" must be terminated by the matching end-tag "</interface>".
Please try to use some tool to generate netconf messages (e.g ODL).
As you can see it is difficult to write them by hand…
Regards,
Marek
On Thu, Mar 1, 2018 at 1:15 AM, Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Please attach the log…
Regards,
Marek
From:
hc2vpp@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 28 lutego 2018 23:23
To: hc2vpp@...
Subject: [hc2vpp] edit works but commit doesnt.
So I did an edit-config and got an rpc-ok.
But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd,
isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey
[_name=host-vpp2out]]]}</error-message>
|
|
Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES@Cisco) <mgradzki@...>
Hi,
Please find me replies inline.
Marek
toggle quoted message
Show quoted text
From: Kawshik Sarkar [mailto:kawshikrandom@...]
Sent: 4 marca 2018 19:04
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...>
Subject: Re: [hc2vpp] edit works but commit doesnt.
Hi Marek,
Thanks for your advice. 2 questions:
1) How do i get the log is it under /var/log/honeycomb.log?
M: Yes
2)I got another one when configuring a Bridge-domain.... Complete RPC in attachment.. It never quite tells me the exact line no of the error unfortuantely. I guess thats why you asked for the error.log.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>protocol</error-type>
<error-tag>malformed-message</error-tag>
<error-severity>error</error-severity>
<error-message>Error parsing input: Input is missing some of the keys of (urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)interface</error-message>
M: looks like you don’t have proper key for interface defined.
3)Also attaching the last 300 lines of log from the bridge_domain log right after configuring the bridge-domain and getting the error.
Please attach full log and try single netconf message.
Please add following line to the config/logger.xml:
<logger name="org.opendaylight.netconf" level="TRACE"/>
From the lines you attached it looks like you have malformed netconf message:
org.xml.sax.SAXParseException: The element type "interface" must be terminated by the matching end-tag "</interface>".
Please try to use some tool to generate netconf messages (e.g ODL).
As you can see it is difficult to write them by hand…
Regards,
Marek
On Thu, Mar 1, 2018 at 1:15 AM, Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) <mgradzki@...> wrote:
Please attach the log…
Regards,
Marek
From:
hc2vpp@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 28 lutego 2018 23:23
To: hc2vpp@...
Subject: [hc2vpp] edit works but commit doesnt.
So I did an edit-config and got an rpc-ok.
But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd,
isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey
[_name=host-vpp2out]]]}</error-message>
|
|
Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES@Cisco) <mgradzki@...>
Please attach the log…
Regards,
Marek
toggle quoted message
Show quoted text
From: hc2vpp@... [mailto:hc2vpp@...]
On Behalf Of Kawshik Sarkar
Sent: 28 lutego 2018 23:23
To: hc2vpp@...
Subject: [hc2vpp] edit works but commit doesnt.
So I did an edit-config and got an rpc-ok.
But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd,
isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey
[_name=host-vpp2out]]]}</error-message>
|
|
Hi ,
So I did an edit-config and got an rpc-ok. But when trying to commit it throws this error. I tried doing the same configuration throught the cli it seems to work fine. Pleaes check screenshot attached. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <rpc-reply message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <rpc-error> <error-type>application</error-type> <error-tag>operation-failed</error-tag> <error-severity>error</error-severity> <error-message>Transaction commit failed on Failed to validate DataTreeModification 2 Cause: io.fd.honeycomb.translate.write.WriteFailedException$CreateFailedException: Failed to create data: Interface{getName=host-vpp2out, getType=class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana._if.type.rev140508.EthernetCsmacd, isEnabled=true, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VppInterfaceAugmentation=VppInterfaceAugmentation{getEthernet=Ethernet{getMtu=9216, augmentations={}}}}} at: KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface[key=InterfaceKey [_name=host-vpp2out]]]}</error-message>
|
|