Adding option to specify headers in Utils
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp2-multitenant / 001_set_odl.robot
index 3ec1c83b2e90009e1b907b3206bc4847cf0222fa..7ce20cee2b64e61ba338ab327c2c608f94054122 100644 (file)
@@ -25,7 +25,7 @@ Register Endpoints
     [Documentation]    Endpoints registration
     @{endpoint_files} =    OperatingSystem.List Files In Directory    ${ENDPOINTS_GBP2_DIR}    vethl*.*json    absolute
     : FOR    ${endpoint_file}    IN    @{endpoint_files}
-    \    Post Elements To URI From File    ${ENDPOINT_REG_PATH}    ${endpoint_file}
+    \    Post Elements To URI From File    ${ENDPOINT_REG_PATH}    ${endpoint_file}    ${HEADERS_YANG_JSON}
 
 Put Tenants
     [Documentation]    Send GBP policy to ODL