}
rpc create-ots-oms {
- input {
- leaf node-id {
- type string;
- }
- leaf logical-connection-point {
- type string;
- }
- }
- output {
- leaf success {
- type boolean;
- }
- leaf result {
- type string;
- }
- }
- }
+ input {
+ leaf node-id {
+ type string;
+ }
+ leaf logical-connection-point {
+ type string;
+ }
+ }
+ output {
+ leaf success {
+ type boolean;
+ }
+ leaf result {
+ type string;
+ }
+ }
+ }
}
}
import transportpce-common-service-path-types {
prefix transportpce-common-service-path-types;
- revision-date 2017-10-16;
+ revision-date 2017-10-16;
}
organization
description
"Version 1.6";
}
-
+
revision 2017-09-30 {
description
"Version 1.2";
}
-
-
+
+
notification service-rpc-result-sh{
description
"This Notification indicates result of service RPC";
# you can adapt it to your needs, some examples have been commented.
my %regex_hash=(
# replace oo-device v1.2 by v1.2.1
-# 'module=org-openroadm-device&revision=2016-10-14.*<\/capability>'=>'s/&revision=2016-10-14/&revision=2017-02-06/',
+# 'module=org-openroadm-device&revision=2016-10-14.*<\/capability>'=>'s/&revision=2016-10-14/&revision=2017-02-06/',
# '<schema><identifier>org-openroadm-device<\/identifier><version>2016-10-14'=>'s@<schema><identifier>org-openroadm-device</identifier><version>2016-10-14@<schema><identifier>org-openroadm-device</identifier><version>2017-02-06@',
# remove all deviations found
-# '&deviations=.*<\/capability>'=>'s@&deviations=.*</capability>@</capability>@',
+# '&deviations=.*<\/capability>'=>'s@&deviations=.*</capability>@</capability>@',
# add the ietf-netconf capability to the hello handshake - without it, ODL netconf mountpoints can not work
# '<\/capabilities>'=>'s@</capabilities>@\n<capability>urn:ietf:params:xml:ns:yang:ietf-netconf?module=ietf-netconf&revision=2011-06-01</capability>\n</capabilities>@',
# add the right notifications capabilities to the hello handshake + provide another solution for the ietf-netconf capability
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
-<!-- Copyright © 2016 Orange and others. All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
+<!-- Copyright © 2016 Orange and others. All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html -->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
odl:use-default-for-reference-types="true">
}
import org-openroadm-wavelength-map {
prefix org-openroadm-wavelength-map;
- revision-date 2016-10-14;
+ revision-date 2016-10-14;
}
import org-openroadm-physical-types {
prefix org-openroadm-physical-types;
}
} // list edit
} // notification change-notification
-}
\ No newline at end of file
+}
else
echo "initial config file doesn't exist !"
fi
-else
+else
echo "honeycomb-tpce port initial-config-xml "
echo "Eg : honeycomb-tpce 17830 sample-config-ROADM.xml"
fi