Merge "fix: Fix update ironic node traits"
This commit is contained in:
commit
4d3c172e0d
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { barbicanBase } from '../client/constants';
|
||||
|
||||
class BarbicanClient extends Base {
|
||||
export class BarbicanClient extends Base {
|
||||
get baseUrl() {
|
||||
return barbicanBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { cinderBase, cinderEndpoint } from '../client/constants';
|
||||
|
||||
class CinderClient extends Base {
|
||||
export class CinderClient extends Base {
|
||||
get baseUrl() {
|
||||
return cinderBase();
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ export const endpointVersionMap = {
|
||||
manilav2: 'v2',
|
||||
barbican: 'v1',
|
||||
zun: 'v1',
|
||||
magnum : 'v1',
|
||||
magnum: 'v1',
|
||||
};
|
||||
|
||||
export const endpointsDefault = {
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { glanceBase } from '../client/constants';
|
||||
|
||||
class GlanceClient extends Base {
|
||||
export class GlanceClient extends Base {
|
||||
get baseUrl() {
|
||||
return glanceBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { heatBase } from '../client/constants';
|
||||
|
||||
class HeatClient extends Base {
|
||||
export class HeatClient extends Base {
|
||||
get baseUrl() {
|
||||
return heatBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { ironicBase } from '../client/constants';
|
||||
|
||||
class IronicClient extends Base {
|
||||
export class IronicClient extends Base {
|
||||
get baseUrl() {
|
||||
return ironicBase();
|
||||
}
|
||||
@ -60,7 +60,8 @@ class IronicClient extends Base {
|
||||
key: 'management/boot_device/supported',
|
||||
},
|
||||
{
|
||||
key: 'updateTraits',
|
||||
name: 'updateTraits',
|
||||
key: 'traits',
|
||||
method: 'put',
|
||||
},
|
||||
],
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { keystoneBase } from '../client/constants';
|
||||
|
||||
class KeystoneClient extends Base {
|
||||
export class KeystoneClient extends Base {
|
||||
get baseUrl() {
|
||||
return keystoneBase();
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
import Base from '../client/base';
|
||||
import { magnumBase } from '../client/constants';
|
||||
|
||||
class MagnumClient extends Base {
|
||||
export class MagnumClient extends Base {
|
||||
get baseUrl() {
|
||||
return magnumBase();
|
||||
}
|
||||
@ -30,7 +30,7 @@ class MagnumClient extends Base {
|
||||
key: 'actions/resize',
|
||||
method: 'post',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'clusterTemplates',
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { neutronBase } from '../client/constants';
|
||||
|
||||
class NeutronClient extends Base {
|
||||
export class NeutronClient extends Base {
|
||||
get baseUrl() {
|
||||
return neutronBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { novaBase } from '../client/constants';
|
||||
|
||||
class NovaClient extends Base {
|
||||
export class NovaClient extends Base {
|
||||
get baseUrl() {
|
||||
return novaBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { octaviaBase } from '../client/constants';
|
||||
|
||||
class OctaviaClient extends Base {
|
||||
export class OctaviaClient extends Base {
|
||||
get baseUrl() {
|
||||
return octaviaBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { placementBase } from '../client/constants';
|
||||
|
||||
class PlacementClient extends Base {
|
||||
export class PlacementClient extends Base {
|
||||
get baseUrl() {
|
||||
return placementBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { skylineBase } from '../client/constants';
|
||||
|
||||
class SkylineClient extends Base {
|
||||
export class SkylineClient extends Base {
|
||||
get baseUrl() {
|
||||
return skylineBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { swiftBase } from '../client/constants';
|
||||
|
||||
class SwiftClient extends Base {
|
||||
export class SwiftClient extends Base {
|
||||
get baseUrl() {
|
||||
return swiftBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import Base from '../client/base';
|
||||
import { troveBase } from '../client/constants';
|
||||
|
||||
class TroveClient extends Base {
|
||||
export class TroveClient extends Base {
|
||||
get baseUrl() {
|
||||
return troveBase();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
import { zunBase } from 'client/client/constants';
|
||||
import Base from '../client/base';
|
||||
|
||||
class ZunClient extends Base {
|
||||
export class ZunClient extends Base {
|
||||
get baseUrl() {
|
||||
return zunBase();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user