return false; if (!Objects.equals(_qosConfig, other.getQosConfig())) { return false;
List<Intent> intentList = listIntents(); for (Intent intentValue : intentList) { if (intentValue.getQosConfig() != null) { Qos qosContainer = (Qos) intentValue.getQosConfig().get(0).getQos(); if (((DscpType) qosContainer).getDscpType().getName() != null) { String profileNames = ((DscpType) qosContainer).getDscpType().getName();
this._constraints = base.getConstraints(); this._detailedStatusMessage = base.getDetailedStatusMessage(); this._qosConfig = base.getQosConfig(); this._state = base.getState(); this._status = base.getStatus();
@Override public void pushIntentFlow(final Intent intent, final FlowAction flowAction) { // TODO: Extend to support other actions LOG.info("Intent: {}, FlowAction: {}", intent.toString(), flowAction.getValue()); // Creates QoS configuration and stores profile in the Data Store. if (intent.getQosConfig() != null) { return; } //TODO: Change to use Command Pattern try { if (isMPLS(intent)) { new MPLSExecutor(mplsIntentFlowManager, intentMappingService, graphService).execute(intent, flowAction); } else if (isQoS(intent)) { new QoSExecutor(qosConstraintManager, dataBroker).execute(intent, flowAction); } else if (isRedirect(intent)) { redirectFlowManager.redirectFlowConstruction(intent, flowAction); } else { new DefaultExecutor(intentFlowManager, dataBroker).execute(intent, flowAction); } } catch (IntentInvalidException ie) { //TODO: Implement an action for Exception cases } }