Only one Active at a time. DGBuilder enforces this as well as the xml loader 
(sdnc .../svclogic/bin/install.sh) 

If you directly use the database you need to deactivate so that only one is 
active at a time.

Sdnc has a loader (install.sh)  in :

/opt/sdnc/svclogic/bin
bash-4.4$ ls
install.sh           setenv.sh            showActiveGraphs.sh  svclogic.sh

For testing the active is ignored if you call a specific version but I havent 
tested that in a while.

/opt/sdnc/svclogic/graphs/generic-resource-api
Has the xml graphs AND the graph.versions that should be loaded and marked as 
active by the "install.sh" 

Does that help ?

Brian


-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of 
Lukasz Rajewski via Lists.Onap.Org
Sent: Thursday, July 18, 2019 9:13 AM
To: [email protected]; SEAUDI Abdelmuhaimen O-EG/HRCS 
<[email protected]>; FREEMAN, BRIAN D <[email protected]>; PLATANIA, 
MARCO <[email protected]>
Cc: Magalski Piotr - Korpo <[email protected]>
Subject: Re: [onap-discuss] vDNS CDS Use Case

So when there are two DGs of the same name active we have an exception?

Dn. 18 lip 2019 14:56, "FREEMAN, BRIAN D" <[email protected]> napisał(-a):
DG calls uses the same logic. The parent DG has the rpc name but typically not 
the version. If the version in the Call Node is blank, then SLI looks for 
Active DG for the rpc name ignoring the version. This is the usual 
configuration. Version is for our tracking and management and so we can do 
upgrades.  The  optional mechanism to specify a specific version is really for 
testing. Setting a version  applies to the SLI Tester northbound API if you 
wanted to test a new parent DG without affecting current transactions.

Brian


[cid:[email protected]]

From: Rajewski Łukasz - Korpo <[email protected]>
Sent: Thursday, July 18, 2019 8:39 AM
To: FREEMAN, BRIAN D <[email protected]>; [email protected]; PLATANIA, 
MARCO <[email protected]>; SEAUDI Abdelmuhaimen O-EG/HRCS 
<[email protected]>
Cc: Magalski Piotr - Korpo <[email protected]>
Subject: RE: [onap-discuss] vDNS CDS Use Case

For the future.

How version number of DG is currently used in ONAP?
When some DG requires another one it looks by DG by name or also by its version?
What happens when there is more than one active version for the DG of 
particular name at the same time?

Regards,

[Logo Orange]

Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Systems Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.orange.pl&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=GBrE5GQ_DLj7_2WjfQodHBMZScNsg7V_NcuJFv0aX2g&s=8bOiKRRqAIbtLLgTg1Y7Hz9PQHxxvDyobJIQ9IyydDE&e=<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.orange.pl_&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=lhZ-WTd4cK2VLpcdbrI_lEMoQiIs0eId-jZPJdAJrEw&s=87o2T_DjXffJmSiMT_BSL-cRgqikkoK93fCiGZKvpPQ&e=>

From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Thursday, July 18, 2019 2:36 PM
To: [email protected]<mailto:[email protected]>; PLATANIA, 
MARCO; Rajewski Łukasz - Korpo; SEAUDI Abdelmuhaimen O-EG/HRCS
Cc: Magalski Piotr - Korpo
Subject: RE: [onap-discuss] vDNS CDS Use Case

I tend to give new version a 1.5.4.a or 1.5.4.20190718 kind of version tag so 
that you can activate/deactivate versions as needed and know how they are 
related.

Brian


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
PLATANIA, MARCO
Sent: Thursday, July 18, 2019 8:27 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; SEAUDI 
Abdelmuhaimen O-EG/HRCS 
<[email protected]<mailto:[email protected]>>
Cc: Magalski Piotr - Korpo 
<[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] vDNS CDS Use Case

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
Deactivate the old one and activate the new one, no need to delete the old one. 
You can use the version that you want I guess, if it’s the only one enabled 
you’re fine. Just don’t use the same version number as the old one.

Marco

From: <[email protected]<mailto:[email protected]>> on 
behalf of "Lukasz Rajewski via Lists.Onap.Org" 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, July 18, 2019 at 5:56 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, SEAUDI 
Abdelmuhaimen O-EG/HRCS 
<[email protected]<mailto:[email protected]>>
Cc: Magalski Piotr - Korpo 
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] vDNS CDS Use Case

Hi,

We follow this instruction
https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D64007706&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=GBrE5GQ_DLj7_2WjfQodHBMZScNsg7V_NcuJFv0aX2g&s=hj8CHNF6bShJeDU4kn-EQFQuGjBKzmyIn6JJCARRDqM&e=<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D64007706&d=DwMFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=TGTg2Oh2WGVSUIGtFzTLRpeUy2GvYM32AuN8_awddsI&s=YULzF4denME6uzmHJmbxzM4vzcyP-9RGX42J1oVpfzo&e=>

In the step: “Unresolved Composite Data” it is mentioned to upload modified 
version of DG for GENERIC-RESOURCE-API. The attached JSON has DG version 
defined as variable which must be replaced with some concrete value. Currently 
in the lab there is 1.5.4. version. What should be the version of uploaded DG? 
Should we deactive or delete afterwards the original DG?

Regards,

[ogo Orange]

Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Systems Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.orange.pl&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=GBrE5GQ_DLj7_2WjfQodHBMZScNsg7V_NcuJFv0aX2g&s=8bOiKRRqAIbtLLgTg1Y7Hz9PQHxxvDyobJIQ9IyydDE&e=<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.orange.pl_&d=DwMFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=TGTg2Oh2WGVSUIGtFzTLRpeUy2GvYM32AuN8_awddsI&s=5Obirsh32oGAzz4vZjfaY8IqX-7PMggSk6jdUBETYdw&e=>








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

View/Reply Online (#18182): https://lists.onap.org/g/onap-discuss/message/18182
Mute This Topic: https://lists.onap.org/mt/32513443/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to