This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input xmlns="urn:mef:yang:TapiConnectivity"> | |
<end-point> | |
<service-interface-point>endpoint:a:uuid</service-interface-point> | |
<direction>bidirectional</direction> | |
<layer-protocol-name>eth</layer-protocol-name> | |
<nrp-cg-eth-frame-flow-cpa-aspec | |
xmlns="urn:mef:yang:NRP_Interface"> | |
<ce-vlan-id-list> | |
<type>all</type> | |
</ce-vlan-id-list> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+--rw tapi-connectivity:connectivity-service* [uuid] | |
| +--ro tapi-connectivity:connection* -> /tapi-common:context/tapi-connectivity:connection/uuid | |
| +--rw tapi-connectivity:service-end-point* [local-id] | |
| | +--rw nrp-interface:nrp-cg-eth-frame-fow-cpa-aspec | |
| | +--rw nrp-interface:cos-mapping-type? cos-or-eec-mapping-type | |
| | +--rw nrp-interface:source-mac-address-limit | |
| | | +--rw nrp-interface:limit? natural-number | |
| | | +--rw nrp-interface:time-interval? natural-number | |
| | +--rw nrp-interface:eec-mapping-type? cos-or-eec-mapping-type | |
| | +--rw nrp-interface:agg-link-depth |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
udp { | |
port => 514 | |
type => "syslog" | |
} | |
} | |
filter { | |
if [type] == "syslog" { | |
grok { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'json) | |
(with-current-buffer "*HTTP Response*" | |
(save-excursion | |
(goto-char (point-min)) | |
(car (nth 1 (car (json-read)))))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module net-client { | |
namespace "urn:test:net-client"; | |
prefix tc; | |
import ietf-network { | |
prefix net; | |
} | |
list net-user { | |
key 'id'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
topo-client.yang:5: warning: imported module ietf-network not used | |
topo-client.yang:15 (at topo-client.yang:23): error: the key "net:network-ref" does not reference an existing leaf | |
[email protected]:78: error: ietf-network:network-ref in the path for tp-ref at topo-client.yang:15 (at [email protected]:74) is not found | |
[email protected]:42: error: topo-client:network in the path for network-ref at topo-client.yang:15 (at [email protected]:40) is not found | |
[email protected]:56: error: topo-client:network in the path for node-ref at topo-client.yang:15 (at [email protected]:53) is not found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javax.xml.transform.TransformerFactory transfac = javax.xml.transform.TransformerFactory.newInstance(); | |
javax.xml.transform.Transformer trans = transfac.newTransformer(); | |
trans.setOutputProperty(javax.xml.transform.OutputKeys.OMIT_XML_DECLARATION, "yes"); | |
trans.setOutputProperty(javax.xml.transform.OutputKeys.INDENT, "yes"); | |
java.io.StringWriter sw = new java.io.StringWriter(); | |
javax.xml.transform.stream.StreamResult result = new javax.xml.transform.stream.StreamResult(sw); | |
trans.transform(this, result); | |
String xmlString = sw.toString(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IllegalStateException: Error - getInstance() failed for ModuleIdentifier{factoryName='rest-connector-impl', instanceName='rest-connector-default-impl'} in transaction TransactionIdentifier{name='ConfigTransaction-61-63'} | |
Caused by: java.lang.NullPointerException: A null service reference is not allowed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/gen/impl/DataNodeContainerSerializerSource.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/gen/impl/DataNodeContainerSerializerSource.java | |
index 8fc57dc..35d152f 100644 | |
--- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/gen/impl/DataNodeContainerSerializerSource.java | |
+++ b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/gen/impl/DataNodeContainerSerializerSource.java | |
@@ -125,7 +125,8 @@ abstract class DataNodeContainerSerializerSource extends DataObjectSerializerSou | |
} | |
} | |
- return prefix + BindingMapping.getClassName(node.getQName().getLocalName()); | |
+ final String potential = BindingMapping.getClassName(node.getQName().getLocalName()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn archetype:generate \ | |
-DarchetypeGroupId=org.opendaylight.controller \ | |
-DarchetypeArtifactId=opendaylight-startup-archetype \ | |
-DarchetypeVersion=1.0.0-Lithium \ | |
-DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.release/ \ | |
-DarchetypeCatalog=http://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml |