Skip to content

Commit 0ceb02b

Browse files
committed
updating bgp object
1 parent d65dea2 commit 0ceb02b

File tree

5 files changed

+114
-111
lines changed

5 files changed

+114
-111
lines changed

client/contivModel.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var BgpSummaryView = React.createClass({
208208
<ModalTrigger modal={<BgpModalView Bgp={ Bgp }/>}>
209209
<tr key={ Bgp.key } className="info">
210210

211-
211+
212212
</tr>
213213
</ModalTrigger>
214214
);
@@ -220,7 +220,7 @@ var BgpSummaryView = React.createClass({
220220
<thead>
221221
<tr>
222222

223-
223+
224224
</tr>
225225
</thead>
226226
<tbody>
@@ -240,12 +240,16 @@ var BgpModalView = React.createClass({
240240
<div className='modal-body' style={ {margin: '5%',} }>
241241

242242

243-
<Input type='text' label='AS id' ref='AS' defaultValue={obj.AS} placeholder='AS id' />
243+
<Input type='text' label='AS id' ref='as' defaultValue={obj.as} placeholder='AS id' />
244244

245245
<Input type='text' label='host name' ref='hostname' defaultValue={obj.hostname} placeholder='host name' />
246246

247247
<Input type='text' label='Bgp neighbor' ref='neighbor' defaultValue={obj.neighbor} placeholder='Bgp neighbor' />
248248

249+
<Input type='text' label='AS id' ref='neighbor-as' defaultValue={obj.neighbor-as} placeholder='AS id' />
250+
251+
<Input type='text' label='Bgp neighbor' ref='routerip' defaultValue={obj.routerip} placeholder='Bgp neighbor' />
252+
249253
</div>
250254
<div className='modal-footer'>
251255
<Button onClick={this.props.onRequestHide}>Close</Button>

0 commit comments

Comments
 (0)