diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2018-08-21 06:34:49 +0800 |
---|---|---|
committer | ramki krishnan <ramkri123@gmail.com> | 2018-08-21 17:10:54 +0000 |
commit | 591f278130ac54d136fad0c0256d2f50bdfb5f47 (patch) | |
tree | 87f4279289562cfcd45a458219e81f390ef4bc74 | |
parent | ceae24f79c17537cf71727dd81b782bfd84df067 (diff) |
Fixing the typo of application/json
Issue-ID: OPTFRA-310
Change-Id: I74a50f1e19d2f6f3e10b31c4c2b89d6dc32f5421
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
-rw-r--r-- | osdf/optimizers/routeopt/simple_route_opt.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/osdf/optimizers/routeopt/simple_route_opt.py b/osdf/optimizers/routeopt/simple_route_opt.py index 762ccea..f7524d4 100644 --- a/osdf/optimizers/routeopt/simple_route_opt.py +++ b/osdf/optimizers/routeopt/simple_route_opt.py @@ -22,15 +22,15 @@ from requests.auth import HTTPBasicAuth class RouteOpt: - """ - This values will need to deleted.. - only added for the debug purpose - """ + """ + This values will need to deleted.. + only added for the debug purpose + """ aai_host = "https:\\192.168.17.26:8443" aai_headers = { "X-TransactionId": "9999", "X-FromAppId": "OOF", - "Content-Type": "applicatoin/json", + "Content-Type": "application/json", "Real-Time": "true" } @@ -52,16 +52,16 @@ class RouteOpt: logical_links = self.get_logical_links() - """ - TODO: Logic to be extended for the repose filling - """ + """ + TODO: Logic to be extended for the repose filling + """ - def get_logical_links(self): + def get_logical_links(self): """ - This method returns list of all cross ONAP links - from /aai/v14/network/logical-links?operation-status="Up" - :return: logical-links[] + This method returns list of all cross ONAP links + from /aai/v14/network/logical-links?operation-status="Up" + :return: logical-links[] """ logical_link_url = "/aai/v14/network/logical-links?operation-status=\"Up\"" aai_req_url = self.aai_host + logical_link_url |