Commit 4ab1dd0a authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

updated pnfd file

parent 07ea6e56
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -738,7 +738,7 @@ Send PUT Request to upload PNFD Content as plain text file
    
    
    Log    Trying to perform a PUT. This method upload the content of a PNFD
    Log    Trying to perform a PUT. This method upload the content of a PNFD
    Create Session      pnfd     ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}      headers={"Accept": "${ACCEPT_PLAIN}", "Content-Type": "${ACCEPT_PLAIN}", "${AUTHORIZATION_HEADER}": "${AUTHORIZATION_TOKEN}"}      verify=False
    Create Session      pnfd     ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}      headers={"Accept": "${ACCEPT_PLAIN}", "Content-Type": "${ACCEPT_PLAIN}", "${AUTHORIZATION_HEADER}": "${AUTHORIZATION_TOKEN}"}      verify=False
    ${body}=  Get Binary File  ${contentZipFile}
    ${body}=  Get Binary File  ${contentFilePnfd}
    ${response}=    Put Request     pnfd     ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoUpld}/pnfd_content     data=${body}
    ${response}=    Put Request     pnfd     ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoUpld}/pnfd_content     data=${body}
    Should Be Empty     ${response.text}
    Should Be Empty     ${response.text}
    ${response}=    Create Dictionary   status=${response.status_code}
    ${response}=    Create Dictionary   status=${response.status_code}