fix: Fix for network topology

Fix for network topology

Change-Id: I32d19f9491544283023b2d0721b219990c71992b
This commit is contained in:
zhuyue 2021-10-09 14:46:34 +08:00
parent 64eccc8001
commit de20284129

View File

@ -40,6 +40,10 @@ export class NetworkStore extends Base {
return client.neutron.subnets; return client.neutron.subnets;
} }
get skylineExtensionClient() {
return client.skyline.extension;
}
get extensionClient() { get extensionClient() {
return client.neutron.extensions; return client.neutron.extensions;
} }
@ -222,7 +226,7 @@ export class NetworkStore extends Base {
}; };
await Promise.all([ await Promise.all([
this.routerClient.list(params), this.routerClient.list(params),
this.extensionClient.servers(), this.skylineExtensionClient.servers(),
this.portClient.list(params), this.portClient.list(params),
]).then(([routersRes, serversRes, portRes]) => { ]).then(([routersRes, serversRes, portRes]) => {
const resData = this.topology; const resData = this.topology;