2 ~ Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
8 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
16 <div class="service-path-creator">
17 <form class="w-sdc-form">
18 <div class="i-sdc-form-item" >
19 <label class="i-sdc-form-label required">Flow Name</label>
20 <input type="text" data-tests-id="pathName" name="pathName" [(ngModel)]="forwardingPath.name" [attr.maxLength]="200" />
23 <div class="side-by-side">
24 <div class="i-sdc-form-item" >
25 <label class="i-sdc-form-label">Protocol</label>
26 <input type="text" data-tests-id="pathProtocol" name="protocol" [(ngModel)]="forwardingPath.protocol" [attr.maxLength]="200" />
28 <div class="i-sdc-form-item" >
29 <label class="i-sdc-form-label">Destination Port Numbers</label>
30 <input type="text" data-tests-id="pathPortNumbers" name="portNumbers" [(ngModel)]="forwardingPath.destinationPortNumber" pattern="[0-9,]*" />
34 <div class="separator-buttons">
35 <span class="based-on-title">Based On</span>
36 <a (click)="addRow()" [ngClass]="{'disabled':!isExtendAllowed()}" data-tests-id="extendPathlnk">Extend Flow</a>
39 <div class="generic-table">
40 <div class="header-row">
41 <div class="cell header-cell" *ngFor="let header of headers">
45 <div *ngIf="links && links.length === 0" class="no-row-text" >
46 There is no data to display
49 <link-row *ngFor="let link of links" [data]="linksMap" [link]="link" [removeRow]="removeRow" class="data-row" ></link-row>