summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py
diff options
context:
space:
mode:
Diffstat (limited to 'odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py')
-rw-r--r--odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py b/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py
index c7a78c5..655f816 100644
--- a/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py
+++ b/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py
@@ -1,4 +1,13 @@
#!/bin/python
+#
+# Copyright (c) 2017 All rights reserved
+# This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+#
import re
import time
@@ -13,6 +22,7 @@ from utils import utils_yaml
@for_all_methods(log_enter_exit)
class ODLReInstaller(Service):
+
def __init__(self):
self.netvirt_url = "restconf/operational/network-topology:" \
"network-topology/topology/netvirt:1"
@@ -185,6 +195,7 @@ class ODLReInstaller(Service):
class ODLReinstallerException(Exception):
+
def __init__(self, value):
self.value = value