Re: [onap-discuss] [APPC][app-c] Publishing configuration with Audit action

2018-07-24 Thread Niedziela, Mateusz (Nokia - PL/Wroclaw)
Thank you for your answer!
I have, however, another question regarding the case mentioned. The document 
mentioned by me earlier (APPC LCM API guide) in a version for the Amsterdam 
release states that publishing configuration in audit action "sends the running 
configuration from the VNF using the Data Router". However, in Beijing release 
documentation the mentioned statement got replaced by "sends the running 
configuration from the VNF using the message bus". We've got a Beijing release 
running, but the only thing in the output payload that can be found when 
listening to the appc write topic on the message router is the 
"upload_config_id". My new question is then: What is the standard/recommended 
way to access this configuration by an external system? Are the contents of the 
CVaaS file sent anywhere further, or can be somehow easily accessed by an 
external system?

Regards
Mateusz

From: CHO, TAKAMUNE [mailto:tc0...@att.com]
Sent: Friday, July 20, 2018 7:22 PM
To: onap-discuss@lists.onap.org; Niedziela, Mateusz (Nokia - PL/Wroclaw) 

Subject: RE: [APPC][app-c] Publishing configuration with Audit action

Hi Mateusz,

Thanks for your interest and your contribution for APPC.

CVaaS - Configuration Validation as a Service

Basically CVaaS is used as a repository for all configuration, it maintains the 
configuration versions. The publish config flag is used to pass the 
configuration details to CVaaS in case of an audit.

If Audit is successful i.e both current and running config matches and if the 
publish flag is Y then only the configuration data will be passed to CVaaS.
If the publish flag is N even if Audit is successful it will not pass the 
configuration data to CVaaS.

If the Audit is failed irrespective of publish flag Y or N it will go and 
update CVaaS.

Hope that would answer your question

Taka

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
[mailto:onap-discuss@lists.onap.org] On Behalf Of Niedziela, Mateusz (Nokia - 
PL/Wroclaw)
Sent: Friday, July 20, 2018 6:00 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: [onap-discuss] [APPC][app-c] Publishing configuration with Audit action

Hello APPC team,

Together with my team we've managed to succesfully run Configure and Audit 
actions on our VNF using the Netconf protocol.
The question I have concerns the "Publish_Config" parameter given to the audit 
action in the payload. The documentation 
(https://onap.readthedocs.io/en/latest/submodules/appc.git/docs/APPC%20LCM%20API%20Guide/APPC%20LCM%20API%20Guide.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_latest_submodules_appc.git_docs_APPC-2520LCM-2520API-2520Guide_APPC-2520LCM-2520API-2520Guide.html=DwMFAg=LFYZ-o9_HUMeMTSQicvjIg=i5VHNTZ3SDPgIii87sudZA=AqLgFo5Vp5L5UhpiB1sL5QVn8aAMVsoVYrzb5MgTSaA=kjVfU578E-_sU6uq64FPxoWSOP55qG6qZaeqThFR6ZU=>)
 mentions that setting the parameter to value "Y" sends the running 
configuration using the message bus. However, looking at the Generic_Audit DG, 
the only action executed with mentioned parameter given that differs it from 
not choosing not to publish the configuration is the creation of a cvaas file 
containing the details of the action and configuration.
My questions are then:
1. What does exactly the term "cvaas" stand for and what is the role of this 
file?
2. Does publishing the configuration in the audit action only mean creating the 
mentioned file?
3. What about the message bus mentioned in the configuration? If the cvaas file 
is in fact important for the process of publishing configuration, the file bus 
would seem more adequate for such action.
To sum up: I'd like someone to clarify what does it exactly mean for audit 
action to "publish the configuration".

Best Regards
Mateusz


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11383): https://lists.onap.org/g/onap-discuss/message/11383
Mute This Topic: https://lists.onap.org/mt/23752670/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[onap-discuss] [APPC][app-c] Publishing configuration with Audit action

2018-07-20 Thread Niedziela, Mateusz (Nokia - PL/Wroclaw)
Hello APPC team,

Together with my team we've managed to succesfully run Configure and Audit 
actions on our VNF using the Netconf protocol.
The question I have concerns the "Publish_Config" parameter given to the audit 
action in the payload. The documentation 
(https://onap.readthedocs.io/en/latest/submodules/appc.git/docs/APPC%20LCM%20API%20Guide/APPC%20LCM%20API%20Guide.html)
 mentions that setting the parameter to value "Y" sends the running 
configuration using the message bus. However, looking at the Generic_Audit DG, 
the only action executed with mentioned parameter given that differs it from 
not choosing not to publish the configuration is the creation of a cvaas file 
containing the details of the action and configuration.
My questions are then:
1. What does exactly the term "cvaas" stand for and what is the role of this 
file?
2. Does publishing the configuration in the audit action only mean creating the 
mentioned file?
3. What about the message bus mentioned in the configuration? If the cvaas file 
is in fact important for the process of publishing configuration, the file bus 
would seem more adequate for such action.
To sum up: I'd like someone to clarify what does it exactly mean for audit 
action to "publish the configuration".

Best Regards
Mateusz

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11305): https://lists.onap.org/g/onap-discuss/message/11305
Mute This Topic: https://lists.onap.org/mt/23752670/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-