sonata-nfv / tng-tests

5GTANGO Integration tests repository
Apache License 2.0
6 stars 29 forks source link

**test_sp03_test_service_reconfiguration_(k8s)** #212

Open tsoenen opened 5 years ago

tsoenen commented 5 years ago

Short description: Ensure that a service reconfiguration is triggered and executed correctly based on custom metrics from K8s. Tool: monitoring engine, MANO, Policy Manager Collected metric: test execution time, test instantiation time, test scale time Priority: high Complexity: medium Responsible: PANOS K (SYN), Eleni (UBI), Thomas (IMEC)

tsoenen commented 5 years ago
We need to ensure that a service reconfiguration is triggered based on metrics from VIM (k8s)
    * define SP platform (pre-int)
    * clean our specific package
    * upload our specific package (cnf based: NSID1C)
    * create a policy descriptor that defines a scaling event when a threshold for a generic metric is crossed
    * define the policy as default for this specific package / ns
    * deploy the network service
    * wait until the service is deployed
    * check if the serivce is deployed correctly
    * fake the custom metric crossing the threshold by placing it on the pushgateway
    * check if the metric is available from prometheus, associated to the service
    * wait for the policy manager to request a MANO scaling action, and for the MANO to execute this action
    * evaluate the outcome of the MANO action
    * terminate the service
    * deactivate policy
    * delete the policy
    * delete the package
tsoenen commented 5 years ago

@efotopoulou Hi Eleni, how is it going with this? Do you have an idea when you would have a correctly functioning robot testfile?

efotopoulou commented 5 years ago

@tsoenen please check issue https://github.com/sonata-nfv/tng-tests/issues/209 since these two issues have many commonalities

efotopoulou commented 5 years ago

@tsoenen i am creating the current test based on ns-nsid1c . is this service able to scale out? if not, which network service should i use instead?

tsoenen commented 5 years ago

Hi Eleni,

Yes, this one should work

Sent using OWA for iPhone


From: efotopoulou notifications@github.com Sent: Tuesday, July 30, 2019 10:47:00 AM To: sonata-nfv/tng-tests Cc: Thomas Soenen; Mention Subject: Re: [sonata-nfv/tng-tests] test_sp03_test_servicereconfiguration(k8s) (#212)

@tsoenenhttps://github.com/tsoenen i am creating the current test based on ns-nsid1c . is this service able to scale out? if not, which network service should i use?

- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/sonata-nfv/tng-tests/issues/212?email_source=notifications&email_token=ADT6M7N5TPRCNP3NGUIYRVTQB75YJA5CNFSM4H44P3W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DIMCA#issuecomment-516326920, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADT6M7MWQSNXUZCGLEAAME3QB75YJANCNFSM4H44P3WQ.