Commit 2b52a895 authored by Maria Ruiz's avatar Maria Ruiz
Browse files

COMMENTS

parent fbdf8b0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ IXIA_IP = ips.get('IXIA_IP')


#####SATNMS#####
# SAT NMS IP
# SAT NMS and SDN IP
SATNMS_IP = ips.get('SATNMS_IP')
SATSDN_IP = ips.get('SATSDN_IP')

+21 −0
Original line number Diff line number Diff line
@@ -860,6 +860,7 @@ class NSController:
                - "IXIA": IXIA NEII for network testing
                - "TFS": TeraFlow Service for network slice management
                - "SAT": SAT NMS for network slice creation
                - "SDN": SDN controller for satellite transport segment
            way (str): The type of technology to use.
                Supported values:
                - "L2VPN": Layer 2 Virtual Private Network
@@ -1445,6 +1446,26 @@ class NSController:

    def __sdn(self,ietf_intent):

         """
        Prepare an SDN sat controller service request based on the IETF intent

        This method configures an Satellite NMS service request by:
        (L2 bridge)

        1. Defining endpoint: HUB-STATION
        2. Loading a service template
        3. Generating a unique service UUID
        4. Configuring service 
        5. Adding QoS constraints

        Args:
            ietf_intent (dict): IETF-formatted network slice intent.

        Returns:
            dict: An Satellite NMS service request for configuration.

        """

        self.answer[self.subnet]["QoS Requirements"] = []
                # Add service constraints
        for i, constraint in enumerate(ietf_intent["ietf-network-slice-service:network-slice-services"]["slo-sle-templates"]["slo-sle-template"][0]["slo-policy"]["metric-bound"]):