diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2017-02-12 20:40:16 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2017-02-12 20:40:16 +0100 |
commit | 9df7d7439732d113a74605ad1bae9c130dee0bd4 (patch) | |
tree | 949ca602d1903176ce798944b2b851d7cedcc0b8 /odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py | |
parent | 9febe28877a96d6b46bea17b40d421fd3002f693 (diff) |
Add and update license headers
Change-Id: I8ccb23c9ffa0d511427ad089b033973ffe96360f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py')
-rw-r--r-- | odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py | 11 |
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 |