Commit 5dcc644f authored by Alicja Reniewicz's avatar Alicja Reniewicz
Browse files

information about sg in cloud def

parent f64f96da
......@@ -21,6 +21,16 @@
<form #singlePropertyFormId="ngForm" [formGroup]="singlePropertyForm">
<mat-card-subtitle>{{singlePropertyFormTitle}}</mat-card-subtitle>
<mat-card-content>
<mat-card>
<mat-icon color="primary">info</mat-icon>
Security group definition
<p> In order to have open specific ports on your instances, please define own security group (with
proper rules) on your cloud provider.
In that form, please add property with key: <strong>{{propertiesNameForSG}}</strong>, as value use id
of this security group.</p>
</mat-card>
<mat-form-field class="wide-input">
<input matInput formControlName="key" placeholder="Key" required>
<mat-error *ngIf="form.key.errors && form.key.errors.invalidKey">
......
......@@ -22,6 +22,7 @@ export class CloudPropertyFormComponent implements OnInit {
singlePropertyFormTitle: string;
data: MatTableDataSource<SingleProperty>;
propertyData: ParentProperty;
propertiesNameForSG = 'sword.default.securityGroup';
editedPropertyKey: string;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment