Send homing request to OOF
[vfc/nfvo/lcm.git] / lcm / pub / config / config.py
index b7c1816..9d63b25 100644 (file)
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-import os
 
 # [MSB]
-MSB_SERVICE_IP = '127.0.0.1'
+MSB_SERVICE_IP = '10.0.14.1'
 MSB_SERVICE_PORT = '80'
 
-# [IMAGE LOCAL PATH]
-ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-IMAGE_ROOT_PATH = os.path.join(ROOT_PATH, "/VmNfvo/VnfProduct")
-
 # [REDIS]
 REDIS_HOST = '127.0.0.1'
 REDIS_PORT = '6379'
@@ -33,6 +28,11 @@ DB_NAME = "vfcnfvolcm"
 DB_USER = "vfcnfvolcm"
 DB_PASSWD = "vfcnfvolcm"
 
+# [MDC]
+SERVICE_NAME = "nslcm"
+FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
+                        "HTTP_X_FORWARDED_SERVER"]
+
 # [register]
 REG_TO_MSB_WHEN_START = True
 REG_TO_MSB_REG_URL = "/api/microservices/v1/services"
@@ -49,25 +49,27 @@ REG_TO_MSB_REG_PARAM = {
     }]
 }
 
-# delete image from vim option when delete csar
-IGNORE_DEL_IMG_WEHN_DEL_CSAR = True
-
-# catalog path(values is defined in settings.py)
-CATALOG_ROOT_PATH = None
-CATALOG_URL_PATH = None
-
 # [aai config]
-AAI_BASE_URL = "https://127.0.0.1:8443/aai/v11"
+AAI_BASE_URL = "http://10.0.14.1:80/aai/v11"
 AAI_USER = "AAI"
 AAI_PASSWD = "AAI"
 REPORT_TO_AAI = True
 
 # [sdc config]
-SDC_BASE_URL = "https://127.0.0.1:8443/api/sdc/v1"
+SDC_BASE_URL = "http://10.0.14.1:80/api"
 SDC_USER = "SDC"
 SDC_PASSWD = "SDC"
 
+# [DMaaP]
+MR_IP = '127.0.0.1'
+MR_PORT = '3904'
+
 # [workflow]
 DEPLOY_WORKFLOW_WHEN_START = False
 # Support option: activiti/wso2/buildin
 WORKFLOW_OPTION = "buildin"
+
+# [OOF config]
+OOF_BASE_URL = "http://oof.api.simpledemo.onap.org:8698"
+OOF_USER = "vfc_test"
+OOF_PASSWD = "vfc_testpwd"