module hybrid-mw-structure-2-0 { yang-version 1.1; namespace "urn:onf:yang:hybrid-mw-structure-2-0"; prefix hybrid-mw-structure; import ietf-yang-types { prefix yang; } import core-model-1-4 { prefix core-model; } organization "openBackhaul.com proposal to Open Networking Foundation (ONF)"; contact "WG Web : https://github.com/openBackhaul/Overview WG List: HybridMwStructure@openBackhaul.com Editor : Thorsten Heinze Email : Thorsten.Heinze@openBackhaul.com"; description "Technology specific interface definition for a hybrid microwave structure on a physical media Copyright 2019 openBackhaul.com Licensed under the Apache License, Version 2.0 (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."; revision 2020-01-22 { description "Model for the Transport SDN Pilot at Telefonica Germany. Please view https://github.com/openBackhaul/hybridMwStructure/issues for changes."; reference "https://github.com/openBackhaul/hybridMwStructure/tree/tsp: Model definition https://github.com/openBackhaul/onfCoreIm/tree/tsp: ONF TR-512 Core IM incl. Profile and enhanced Equipment definition"; } revision 2019-11-23 { description "Model for the Transport SDN Pilot at Telefonica Germany. Please view https://github.com/openBackhaul/hybridMwStructure/issues for changes."; reference "https://github.com/openBackhaul/hybridMwStructure/tree/tsp: Model definition https://github.com/openBackhaul/onfCoreIm/tree/tsp: ONF TR-512 Core IM incl. Profile and enhanced Equipment definition"; } revision 2019-07-08 { description "Model for the Transport SDN Pilot at Telefonica Germany. Please view https://github.com/openBackhaul/hybridMwStructure/issues for changes."; reference "https://github.com/openBackhaul/hybridMwStructure/tree/tsp: Model definition https://github.com/openBackhaul/onfCoreIm/tree/tsp: ONF TR-512 Core IM incl. Profile and enhanced Equipment definition"; } identity LAYER_PROTOCOL_NAME_TYPE_HYBRID_MW_STRUCTURE_LAYER { base core-model:LAYER_PROTOCOL_NAME_TYPE; description "none"; } augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol" { when "derived-from-or-self(./core-model:layer-protocol-name, 'hybrid-mw-structure:LAYER_PROTOCOL_NAME_TYPE_HYBRID_MW_STRUCTURE_LAYER')"; uses hybrid-mw-structure-lp-spec; description "none"; } /**************************************** * package notifications **************************************/ notification object-creation-notification { uses object-creation-notification; description "none"; } grouping object-creation-notification { leaf counter { type int32; default "-1"; config false; description "Counts object creation notifications."; } leaf timestamp { type yang:date-and-time; default "2010-11-20T14:00:00+01:00"; config false; description "none"; } leaf object-id-ref { type leafref { path "/core-model:control-construct/core-model:logical-termination-point/core-model:uuid"; require-instance false; } config false; description "none"; } leaf object-type { type string; default "Type of created object not specified."; config false; description "none"; } description "none"; } notification object-deletion-notification { uses object-deletion-notification; description "none"; } grouping object-deletion-notification { leaf counter { type int32; default "-1"; config false; description "Counts object deletion notifications."; } leaf timestamp { type yang:date-and-time; default "2010-11-20T14:00:00+01:00"; config false; description "none"; } leaf object-id-ref { type leafref { path "/core-model:control-construct/core-model:logical-termination-point/core-model:uuid"; require-instance false; } config false; description "none"; } description "none"; } notification attribute-value-changed-notification { uses attribute-value-changed-notification; description "none"; } grouping attribute-value-changed-notification { leaf counter { type int32; default "-1"; config false; description "Counts attribute value changed notifications."; } leaf timestamp { type yang:date-and-time; default "2010-11-20T14:00:00+01:00"; config false; description "none"; } leaf object-id-ref { type leafref { path "/core-model:control-construct/core-model:logical-termination-point/core-model:uuid"; require-instance false; } config false; description "none"; } leaf attribute-name { type string; default "Attribute name not specified."; config false; description "Name of the attribute that has been changed."; } leaf new-value { type string; default "New value not specified."; config false; description "Attribute value converted to a string (xml, json, ...)"; } description "none"; } notification problem-notification { uses problem-notification; description "none"; } grouping problem-notification { leaf counter { type int32; default "-1"; config false; description "Counts problem notifications"; } leaf timestamp { type yang:date-and-time; default "2010-11-20T14:00:00+01:00"; config false; description "none"; } leaf object-id-ref { type leafref { path "/core-model:control-construct/core-model:logical-termination-point/core-model:uuid"; require-instance false; } config false; description "none"; } leaf problem { type string; default "Problem name not specified."; config false; description "Name of the problem according to supportedAlarmList"; } leaf severity { type severity-type; default "SEVERITY_TYPE_WARNING"; config false; description "Severity of the problem according to problemKindSeverity"; } description "none"; } /**************************************** * grouping statements for object classes **************************************/ /**************************************** * package super-classes **************************************/ grouping current-problem { leaf sequence-number { type int16; config false; description "Unique sequence number of the current problem object."; } leaf timestamp { type yang:date-and-time; default "2010-11-20T14:00:00+01:00"; config false; description "Time when the alarm was raised."; } leaf problem-severity { type severity-type; default "SEVERITY_TYPE_NOT_YET_DEFINED"; config false; description "Severity of the alarm."; } description "none"; } grouping current-performance { leaf timestamp { type yang:date-and-time; default "2010-11-20T14:00:00+01:00"; config false; description "The timestamp associated with when the current data was collected."; } leaf suspect-interval-flag { type boolean; default "false"; config false; description "This attribute is used to indicate that the performance dat
/**
 * ============LICENSE_START========================================================================
 * ONAP : ccsdk feature sdnr wt odlux
 * =================================================================================================
 * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property. All rights reserved.
 * =================================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 * ============LICENSE_END==========================================================================
 */

import { Action } from "../../../../framework/src/flux/action";
import { Dispatch } from "../../../../framework/src/flux/store";
import { IApplicationStoreState } from "../../../../framework/src/store/applicationStore";


export class UpdateLinkIdAction extends Action{
    constructor(public linkId: string){
        super();
    }
}

export class UpdateFrequencyAction extends Action{
    constructor(public frequency: number){
        super();
    }
}
export class UpdateSiteAction extends Action{
    constructor(
        public siteA?: any,
        public siteB?: any
         ){
        super();
    }
}
export class UpdateRainAttAction extends Action{
    
    constructor(public rainAtt: number){
        super();
    }
}
export class UpdateRainValAction extends Action{
    constructor(public rainVal: number){
        super();
    }
}

export class updateHideForm extends Action{
    constructor(public formView: boolean){
        super();
    }
}
export class UpdateDistanceAction extends Action{
    constructor(public distance: number){
        super();
    }
}

export class UpdateFslCalculation extends Action{
    constructor(public fsl: number){
        super();
    }
}


export class UpdateLatLonAction extends Action{
    constructor(
        public Lat1: number,
        public Lon1:number,
        public Lat2: number, 
        public Lon2: number
        ){
        super();
        
    }
}
export class UpdatePolAction extends Action{
    constructor(public polarization: string){
        super();
    }
}
export class isCalculationServerReachableAction extends Action{
    constructor(public reachable: boolean){
        super();
    }
}
export class updateAltitudeAction extends Action{
    constructor(
        public amslA:number,
        public aglA:number,
        public amslB:number,
        public aglB:number
        ){
        super();
    }
}
1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."; } description "Consolidated performance information of the Structure."; } grouping structure-current-performance-type { container performance-data { config false; uses structure-performance-type; description "none"; } uses current-performance; description "Turns performance information into current performance information by inheriting from OTN_CurrentData."; } grouping structure-historical-performance-type { container performance-data { config false; uses structure-performance-type; description "none"; } uses historical-performance; description "Turns performance information into historical performance information by inheriting from OTN_HistoryData."; } }