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.
17 <div class="service-path-creator">
18 <form class="w-sdc-form">
19 <div class="i-sdc-form-item" >
20 <label class="i-sdc-form-label required">Flow Name</label>
21 <input type="text" data-tests-id="pathName" name="pathName" [(ngModel)]="forwardingPath.name" [attr.maxLength]="200" />
24 <div class="side-by-side">
25 <div class="i-sdc-form-item" >
26 <label class="i-sdc-form-label">Protocol</label>
27 <input type="text" data-tests-id="pathProtocol" name="protocol" [(ngModel)]="forwardingPath.protocol" [attr.maxLength]="200" />
29 <div class="i-sdc-form-item" >
30 <label class="i-sdc-form-label">Destination Port Numbers</label>
31 <input type="text" data-tests-id="pathPortNumbers" name="portNumbers" [(ngModel)]="forwardingPath.destinationPortNumber" pattern="[0-9,]*" />
35 <div class="separator-buttons">
36 <span class="based-on-title">Based On</span>
37 <a (click)="addRow()" [ngClass]="{'disabled':!isExtendAllowed()}" data-tests-id="extendPathlnk">Extend Flow</a>
40 <div class="generic-table">
41 <div class="header-row">
42 <div class="cell header-cell" *ngFor="let header of headers">
46 <div *ngIf="links && links.length === 0" class="no-row-text" >
47 There is no data to display
50 <link-row *ngFor="let link of links" [data]="linksMap" [link]="link" [removeRow]="removeRow" class="data-row" ></link-row>