add server
This commit is contained in:
parent
c5015c8bb7
commit
caaf3ae634
|
@ -61,6 +61,15 @@ export class DiscoveryResult extends React.Component<any, any> {
|
|||
console.log(target);
|
||||
}
|
||||
|
||||
let os: OFRest = new OFRest("Target", "CreateAll", this.list);
|
||||
|
||||
os.Call().then(function (res) {
|
||||
return res.json();
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
}).catch(function (err) {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
@ -137,7 +146,7 @@ export class DiscoveryResult extends React.Component<any, any> {
|
|||
</div>
|
||||
|
||||
<div>
|
||||
Iface : {this.state.result.zone.iface}
|
||||
Iface : {this.state.result.zone.iface}
|
||||
</div>
|
||||
<div>
|
||||
IP : {Utils.int2ip(this.state.result.zone.ip)}/{this.state.result.zone.mask}
|
||||
|
|
Loading…
Reference in New Issue
Block a user