powerscale.Networkpool
Explore with Pulumi AI
This resource is used to manage the network pool entity of PowerScale Array. We can Create, Update and Delete the network pool using this resource. We can also import an existing network pool from PowerScale array.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
// PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
const poolTest = new powerscale.Networkpool("poolTest", {
groupnet: "groupnet0",
subnet: "subnet0",
});
import pulumi
import pulumi_powerscale as powerscale
# PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
pool_test = powerscale.Networkpool("poolTest",
groupnet="groupnet0",
subnet="subnet0")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
_, err := powerscale.NewNetworkpool(ctx, "poolTest", &powerscale.NetworkpoolArgs{
Groupnet: pulumi.String("groupnet0"),
Subnet: pulumi.String("subnet0"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
// PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
var poolTest = new Powerscale.Networkpool("poolTest", new()
{
Groupnet = "groupnet0",
Subnet = "subnet0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.Networkpool;
import com.pulumi.powerscale.NetworkpoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
var poolTest = new Networkpool("poolTest", NetworkpoolArgs.builder()
.groupnet("groupnet0")
.subnet("subnet0")
.build());
}
}
resources:
# PowerScale network pool allows you to add network interfaces to network pools to associate address ranges with a node or a group of nodes.
poolTest:
type: powerscale:Networkpool
properties:
groupnet: groupnet0
subnet: subnet0
Create Networkpool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Networkpool(name: string, args: NetworkpoolArgs, opts?: CustomResourceOptions);
@overload
def Networkpool(resource_name: str,
args: NetworkpoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Networkpool(resource_name: str,
opts: Optional[ResourceOptions] = None,
groupnet: Optional[str] = None,
subnet: Optional[str] = None,
ranges: Optional[Sequence[NetworkpoolRangeArgs]] = None,
sc_connect_policy: Optional[str] = None,
alloc_method: Optional[str] = None,
ifaces: Optional[Sequence[NetworkpoolIfaceArgs]] = None,
name: Optional[str] = None,
nfsv3_rroce_only: Optional[bool] = None,
access_zone: Optional[str] = None,
rebalance_policy: Optional[str] = None,
sc_auto_unsuspend_delay: Optional[float] = None,
description: Optional[str] = None,
sc_dns_zone: Optional[str] = None,
sc_dns_zone_aliases: Optional[Sequence[str]] = None,
sc_failover_policy: Optional[str] = None,
sc_subnet: Optional[str] = None,
sc_ttl: Optional[float] = None,
static_routes: Optional[Sequence[NetworkpoolStaticRouteArgs]] = None,
aggregation_mode: Optional[str] = None)
func NewNetworkpool(ctx *Context, name string, args NetworkpoolArgs, opts ...ResourceOption) (*Networkpool, error)
public Networkpool(string name, NetworkpoolArgs args, CustomResourceOptions? opts = null)
public Networkpool(String name, NetworkpoolArgs args)
public Networkpool(String name, NetworkpoolArgs args, CustomResourceOptions options)
type: powerscale:Networkpool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NetworkpoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NetworkpoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkpoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkpoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkpoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkpoolResource = new Powerscale.Networkpool("networkpoolResource", new()
{
Groupnet = "string",
Subnet = "string",
Ranges = new[]
{
new Powerscale.Inputs.NetworkpoolRangeArgs
{
High = "string",
Low = "string",
},
},
ScConnectPolicy = "string",
AllocMethod = "string",
Ifaces = new[]
{
new Powerscale.Inputs.NetworkpoolIfaceArgs
{
Iface = "string",
Lnn = 0,
},
},
Name = "string",
Nfsv3RroceOnly = false,
AccessZone = "string",
RebalancePolicy = "string",
ScAutoUnsuspendDelay = 0,
Description = "string",
ScDnsZone = "string",
ScDnsZoneAliases = new[]
{
"string",
},
ScFailoverPolicy = "string",
ScSubnet = "string",
ScTtl = 0,
StaticRoutes = new[]
{
new Powerscale.Inputs.NetworkpoolStaticRouteArgs
{
Gateway = "string",
Prefixlen = 0,
Subnet = "string",
},
},
AggregationMode = "string",
});
example, err := powerscale.NewNetworkpool(ctx, "networkpoolResource", &powerscale.NetworkpoolArgs{
Groupnet: pulumi.String("string"),
Subnet: pulumi.String("string"),
Ranges: powerscale.NetworkpoolRangeArray{
&powerscale.NetworkpoolRangeArgs{
High: pulumi.String("string"),
Low: pulumi.String("string"),
},
},
ScConnectPolicy: pulumi.String("string"),
AllocMethod: pulumi.String("string"),
Ifaces: powerscale.NetworkpoolIfaceArray{
&powerscale.NetworkpoolIfaceArgs{
Iface: pulumi.String("string"),
Lnn: pulumi.Float64(0),
},
},
Name: pulumi.String("string"),
Nfsv3RroceOnly: pulumi.Bool(false),
AccessZone: pulumi.String("string"),
RebalancePolicy: pulumi.String("string"),
ScAutoUnsuspendDelay: pulumi.Float64(0),
Description: pulumi.String("string"),
ScDnsZone: pulumi.String("string"),
ScDnsZoneAliases: pulumi.StringArray{
pulumi.String("string"),
},
ScFailoverPolicy: pulumi.String("string"),
ScSubnet: pulumi.String("string"),
ScTtl: pulumi.Float64(0),
StaticRoutes: powerscale.NetworkpoolStaticRouteArray{
&powerscale.NetworkpoolStaticRouteArgs{
Gateway: pulumi.String("string"),
Prefixlen: pulumi.Float64(0),
Subnet: pulumi.String("string"),
},
},
AggregationMode: pulumi.String("string"),
})
var networkpoolResource = new Networkpool("networkpoolResource", NetworkpoolArgs.builder()
.groupnet("string")
.subnet("string")
.ranges(NetworkpoolRangeArgs.builder()
.high("string")
.low("string")
.build())
.scConnectPolicy("string")
.allocMethod("string")
.ifaces(NetworkpoolIfaceArgs.builder()
.iface("string")
.lnn(0)
.build())
.name("string")
.nfsv3RroceOnly(false)
.accessZone("string")
.rebalancePolicy("string")
.scAutoUnsuspendDelay(0)
.description("string")
.scDnsZone("string")
.scDnsZoneAliases("string")
.scFailoverPolicy("string")
.scSubnet("string")
.scTtl(0)
.staticRoutes(NetworkpoolStaticRouteArgs.builder()
.gateway("string")
.prefixlen(0)
.subnet("string")
.build())
.aggregationMode("string")
.build());
networkpool_resource = powerscale.Networkpool("networkpoolResource",
groupnet="string",
subnet="string",
ranges=[{
"high": "string",
"low": "string",
}],
sc_connect_policy="string",
alloc_method="string",
ifaces=[{
"iface": "string",
"lnn": 0,
}],
name="string",
nfsv3_rroce_only=False,
access_zone="string",
rebalance_policy="string",
sc_auto_unsuspend_delay=0,
description="string",
sc_dns_zone="string",
sc_dns_zone_aliases=["string"],
sc_failover_policy="string",
sc_subnet="string",
sc_ttl=0,
static_routes=[{
"gateway": "string",
"prefixlen": 0,
"subnet": "string",
}],
aggregation_mode="string")
const networkpoolResource = new powerscale.Networkpool("networkpoolResource", {
groupnet: "string",
subnet: "string",
ranges: [{
high: "string",
low: "string",
}],
scConnectPolicy: "string",
allocMethod: "string",
ifaces: [{
iface: "string",
lnn: 0,
}],
name: "string",
nfsv3RroceOnly: false,
accessZone: "string",
rebalancePolicy: "string",
scAutoUnsuspendDelay: 0,
description: "string",
scDnsZone: "string",
scDnsZoneAliases: ["string"],
scFailoverPolicy: "string",
scSubnet: "string",
scTtl: 0,
staticRoutes: [{
gateway: "string",
prefixlen: 0,
subnet: "string",
}],
aggregationMode: "string",
});
type: powerscale:Networkpool
properties:
accessZone: string
aggregationMode: string
allocMethod: string
description: string
groupnet: string
ifaces:
- iface: string
lnn: 0
name: string
nfsv3RroceOnly: false
ranges:
- high: string
low: string
rebalancePolicy: string
scAutoUnsuspendDelay: 0
scConnectPolicy: string
scDnsZone: string
scDnsZoneAliases:
- string
scFailoverPolicy: string
scSubnet: string
scTtl: 0
staticRoutes:
- gateway: string
prefixlen: 0
subnet: string
subnet: string
Networkpool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Networkpool resource accepts the following input properties:
- Groupnet string
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- Subnet string
- The name of the subnet. Cannot be modified once designated
- Access
Zone string - Name of a valid access zone to map IP address pool to the zone.
- Aggregation
Mode string - OneFS supports the following NIC aggregation modes.
- Alloc
Method string - Specifies how IP address allocation is done among pool members.
- Description string
- A description of the pool.
- Ifaces
List<Networkpool
Iface> - List of interface members in this pool.
- Name string
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- Nfsv3Rroce
Only bool - Indicates that pool contains only RDMA RRoCE capable interfaces.
- Ranges
List<Networkpool
Range> - List of IP address ranges in this pool.
- Rebalance
Policy string - Rebalance policy..
- Sc
Auto doubleUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- Sc
Connect stringPolicy - SmartConnect client connection balancing policy.
- Sc
Dns stringZone - SmartConnect zone name for the pool.
- Sc
Dns List<string>Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- Sc
Failover stringPolicy - SmartConnect IP failover policy.
- Sc
Subnet string - Name of SmartConnect service subnet for this pool.
- Sc
Ttl double - Time to live value for SmartConnect DNS query responses in seconds.
- Static
Routes List<NetworkpoolStatic Route> - List of interface members in this pool.
- Groupnet string
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- Subnet string
- The name of the subnet. Cannot be modified once designated
- Access
Zone string - Name of a valid access zone to map IP address pool to the zone.
- Aggregation
Mode string - OneFS supports the following NIC aggregation modes.
- Alloc
Method string - Specifies how IP address allocation is done among pool members.
- Description string
- A description of the pool.
- Ifaces
[]Networkpool
Iface Args - List of interface members in this pool.
- Name string
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- Nfsv3Rroce
Only bool - Indicates that pool contains only RDMA RRoCE capable interfaces.
- Ranges
[]Networkpool
Range Args - List of IP address ranges in this pool.
- Rebalance
Policy string - Rebalance policy..
- Sc
Auto float64Unsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- Sc
Connect stringPolicy - SmartConnect client connection balancing policy.
- Sc
Dns stringZone - SmartConnect zone name for the pool.
- Sc
Dns []stringZone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- Sc
Failover stringPolicy - SmartConnect IP failover policy.
- Sc
Subnet string - Name of SmartConnect service subnet for this pool.
- Sc
Ttl float64 - Time to live value for SmartConnect DNS query responses in seconds.
- Static
Routes []NetworkpoolStatic Route Args - List of interface members in this pool.
- groupnet String
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- subnet String
- The name of the subnet. Cannot be modified once designated
- access
Zone String - Name of a valid access zone to map IP address pool to the zone.
- aggregation
Mode String - OneFS supports the following NIC aggregation modes.
- alloc
Method String - Specifies how IP address allocation is done among pool members.
- description String
- A description of the pool.
- ifaces
List<Networkpool
Iface> - List of interface members in this pool.
- name String
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3Rroce
Only Boolean - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges
List<Networkpool
Range> - List of IP address ranges in this pool.
- rebalance
Policy String - Rebalance policy..
- sc
Auto DoubleUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc
Connect StringPolicy - SmartConnect client connection balancing policy.
- sc
Dns StringZone - SmartConnect zone name for the pool.
- sc
Dns List<String>Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc
Failover StringPolicy - SmartConnect IP failover policy.
- sc
Subnet String - Name of SmartConnect service subnet for this pool.
- sc
Ttl Double - Time to live value for SmartConnect DNS query responses in seconds.
- static
Routes List<NetworkpoolStatic Route> - List of interface members in this pool.
- groupnet string
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- subnet string
- The name of the subnet. Cannot be modified once designated
- access
Zone string - Name of a valid access zone to map IP address pool to the zone.
- aggregation
Mode string - OneFS supports the following NIC aggregation modes.
- alloc
Method string - Specifies how IP address allocation is done among pool members.
- description string
- A description of the pool.
- ifaces
Networkpool
Iface[] - List of interface members in this pool.
- name string
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3Rroce
Only boolean - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges
Networkpool
Range[] - List of IP address ranges in this pool.
- rebalance
Policy string - Rebalance policy..
- sc
Auto numberUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc
Connect stringPolicy - SmartConnect client connection balancing policy.
- sc
Dns stringZone - SmartConnect zone name for the pool.
- sc
Dns string[]Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc
Failover stringPolicy - SmartConnect IP failover policy.
- sc
Subnet string - Name of SmartConnect service subnet for this pool.
- sc
Ttl number - Time to live value for SmartConnect DNS query responses in seconds.
- static
Routes NetworkpoolStatic Route[] - List of interface members in this pool.
- groupnet str
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- subnet str
- The name of the subnet. Cannot be modified once designated
- access_
zone str - Name of a valid access zone to map IP address pool to the zone.
- aggregation_
mode str - OneFS supports the following NIC aggregation modes.
- alloc_
method str - Specifies how IP address allocation is done among pool members.
- description str
- A description of the pool.
- ifaces
Sequence[Networkpool
Iface Args] - List of interface members in this pool.
- name str
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3_
rroce_ boolonly - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges
Sequence[Networkpool
Range Args] - List of IP address ranges in this pool.
- rebalance_
policy str - Rebalance policy..
- sc_
auto_ floatunsuspend_ delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc_
connect_ strpolicy - SmartConnect client connection balancing policy.
- sc_
dns_ strzone - SmartConnect zone name for the pool.
- sc_
dns_ Sequence[str]zone_ aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc_
failover_ strpolicy - SmartConnect IP failover policy.
- sc_
subnet str - Name of SmartConnect service subnet for this pool.
- sc_
ttl float - Time to live value for SmartConnect DNS query responses in seconds.
- static_
routes Sequence[NetworkpoolStatic Route Args] - List of interface members in this pool.
- groupnet String
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- subnet String
- The name of the subnet. Cannot be modified once designated
- access
Zone String - Name of a valid access zone to map IP address pool to the zone.
- aggregation
Mode String - OneFS supports the following NIC aggregation modes.
- alloc
Method String - Specifies how IP address allocation is done among pool members.
- description String
- A description of the pool.
- ifaces List<Property Map>
- List of interface members in this pool.
- name String
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3Rroce
Only Boolean - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges List<Property Map>
- List of IP address ranges in this pool.
- rebalance
Policy String - Rebalance policy..
- sc
Auto NumberUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc
Connect StringPolicy - SmartConnect client connection balancing policy.
- sc
Dns StringZone - SmartConnect zone name for the pool.
- sc
Dns List<String>Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc
Failover StringPolicy - SmartConnect IP failover policy.
- sc
Subnet String - Name of SmartConnect service subnet for this pool.
- sc
Ttl Number - Time to live value for SmartConnect DNS query responses in seconds.
- static
Routes List<Property Map> - List of interface members in this pool.
Outputs
All input properties are implicitly available as output properties. Additionally, the Networkpool resource produces the following output properties:
- Addr
Family string - IP address format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules List<string>
- Names of the rules in this pool.
- Sc
Suspended List<double>Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- Addr
Family string - IP address format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules []string
- Names of the rules in this pool.
- Sc
Suspended []float64Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- addr
Family String - IP address format.
- id String
- The provider-assigned unique ID for this managed resource.
- rules List<String>
- Names of the rules in this pool.
- sc
Suspended List<Double>Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- addr
Family string - IP address format.
- id string
- The provider-assigned unique ID for this managed resource.
- rules string[]
- Names of the rules in this pool.
- sc
Suspended number[]Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- addr_
family str - IP address format.
- id str
- The provider-assigned unique ID for this managed resource.
- rules Sequence[str]
- Names of the rules in this pool.
- sc_
suspended_ Sequence[float]nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- addr
Family String - IP address format.
- id String
- The provider-assigned unique ID for this managed resource.
- rules List<String>
- Names of the rules in this pool.
- sc
Suspended List<Number>Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
Look up Existing Networkpool Resource
Get an existing Networkpool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NetworkpoolState, opts?: CustomResourceOptions): Networkpool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_zone: Optional[str] = None,
addr_family: Optional[str] = None,
aggregation_mode: Optional[str] = None,
alloc_method: Optional[str] = None,
description: Optional[str] = None,
groupnet: Optional[str] = None,
ifaces: Optional[Sequence[NetworkpoolIfaceArgs]] = None,
name: Optional[str] = None,
nfsv3_rroce_only: Optional[bool] = None,
ranges: Optional[Sequence[NetworkpoolRangeArgs]] = None,
rebalance_policy: Optional[str] = None,
rules: Optional[Sequence[str]] = None,
sc_auto_unsuspend_delay: Optional[float] = None,
sc_connect_policy: Optional[str] = None,
sc_dns_zone: Optional[str] = None,
sc_dns_zone_aliases: Optional[Sequence[str]] = None,
sc_failover_policy: Optional[str] = None,
sc_subnet: Optional[str] = None,
sc_suspended_nodes: Optional[Sequence[float]] = None,
sc_ttl: Optional[float] = None,
static_routes: Optional[Sequence[NetworkpoolStaticRouteArgs]] = None,
subnet: Optional[str] = None) -> Networkpool
func GetNetworkpool(ctx *Context, name string, id IDInput, state *NetworkpoolState, opts ...ResourceOption) (*Networkpool, error)
public static Networkpool Get(string name, Input<string> id, NetworkpoolState? state, CustomResourceOptions? opts = null)
public static Networkpool get(String name, Output<String> id, NetworkpoolState state, CustomResourceOptions options)
resources: _: type: powerscale:Networkpool get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Zone string - Name of a valid access zone to map IP address pool to the zone.
- Addr
Family string - IP address format.
- Aggregation
Mode string - OneFS supports the following NIC aggregation modes.
- Alloc
Method string - Specifies how IP address allocation is done among pool members.
- Description string
- A description of the pool.
- Groupnet string
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- Ifaces
List<Networkpool
Iface> - List of interface members in this pool.
- Name string
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- Nfsv3Rroce
Only bool - Indicates that pool contains only RDMA RRoCE capable interfaces.
- Ranges
List<Networkpool
Range> - List of IP address ranges in this pool.
- Rebalance
Policy string - Rebalance policy..
- Rules List<string>
- Names of the rules in this pool.
- Sc
Auto doubleUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- Sc
Connect stringPolicy - SmartConnect client connection balancing policy.
- Sc
Dns stringZone - SmartConnect zone name for the pool.
- Sc
Dns List<string>Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- Sc
Failover stringPolicy - SmartConnect IP failover policy.
- Sc
Subnet string - Name of SmartConnect service subnet for this pool.
- Sc
Suspended List<double>Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- Sc
Ttl double - Time to live value for SmartConnect DNS query responses in seconds.
- Static
Routes List<NetworkpoolStatic Route> - List of interface members in this pool.
- Subnet string
- The name of the subnet. Cannot be modified once designated
- Access
Zone string - Name of a valid access zone to map IP address pool to the zone.
- Addr
Family string - IP address format.
- Aggregation
Mode string - OneFS supports the following NIC aggregation modes.
- Alloc
Method string - Specifies how IP address allocation is done among pool members.
- Description string
- A description of the pool.
- Groupnet string
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- Ifaces
[]Networkpool
Iface Args - List of interface members in this pool.
- Name string
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- Nfsv3Rroce
Only bool - Indicates that pool contains only RDMA RRoCE capable interfaces.
- Ranges
[]Networkpool
Range Args - List of IP address ranges in this pool.
- Rebalance
Policy string - Rebalance policy..
- Rules []string
- Names of the rules in this pool.
- Sc
Auto float64Unsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- Sc
Connect stringPolicy - SmartConnect client connection balancing policy.
- Sc
Dns stringZone - SmartConnect zone name for the pool.
- Sc
Dns []stringZone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- Sc
Failover stringPolicy - SmartConnect IP failover policy.
- Sc
Subnet string - Name of SmartConnect service subnet for this pool.
- Sc
Suspended []float64Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- Sc
Ttl float64 - Time to live value for SmartConnect DNS query responses in seconds.
- Static
Routes []NetworkpoolStatic Route Args - List of interface members in this pool.
- Subnet string
- The name of the subnet. Cannot be modified once designated
- access
Zone String - Name of a valid access zone to map IP address pool to the zone.
- addr
Family String - IP address format.
- aggregation
Mode String - OneFS supports the following NIC aggregation modes.
- alloc
Method String - Specifies how IP address allocation is done among pool members.
- description String
- A description of the pool.
- groupnet String
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- ifaces
List<Networkpool
Iface> - List of interface members in this pool.
- name String
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3Rroce
Only Boolean - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges
List<Networkpool
Range> - List of IP address ranges in this pool.
- rebalance
Policy String - Rebalance policy..
- rules List<String>
- Names of the rules in this pool.
- sc
Auto DoubleUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc
Connect StringPolicy - SmartConnect client connection balancing policy.
- sc
Dns StringZone - SmartConnect zone name for the pool.
- sc
Dns List<String>Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc
Failover StringPolicy - SmartConnect IP failover policy.
- sc
Subnet String - Name of SmartConnect service subnet for this pool.
- sc
Suspended List<Double>Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- sc
Ttl Double - Time to live value for SmartConnect DNS query responses in seconds.
- static
Routes List<NetworkpoolStatic Route> - List of interface members in this pool.
- subnet String
- The name of the subnet. Cannot be modified once designated
- access
Zone string - Name of a valid access zone to map IP address pool to the zone.
- addr
Family string - IP address format.
- aggregation
Mode string - OneFS supports the following NIC aggregation modes.
- alloc
Method string - Specifies how IP address allocation is done among pool members.
- description string
- A description of the pool.
- groupnet string
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- ifaces
Networkpool
Iface[] - List of interface members in this pool.
- name string
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3Rroce
Only boolean - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges
Networkpool
Range[] - List of IP address ranges in this pool.
- rebalance
Policy string - Rebalance policy..
- rules string[]
- Names of the rules in this pool.
- sc
Auto numberUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc
Connect stringPolicy - SmartConnect client connection balancing policy.
- sc
Dns stringZone - SmartConnect zone name for the pool.
- sc
Dns string[]Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc
Failover stringPolicy - SmartConnect IP failover policy.
- sc
Subnet string - Name of SmartConnect service subnet for this pool.
- sc
Suspended number[]Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- sc
Ttl number - Time to live value for SmartConnect DNS query responses in seconds.
- static
Routes NetworkpoolStatic Route[] - List of interface members in this pool.
- subnet string
- The name of the subnet. Cannot be modified once designated
- access_
zone str - Name of a valid access zone to map IP address pool to the zone.
- addr_
family str - IP address format.
- aggregation_
mode str - OneFS supports the following NIC aggregation modes.
- alloc_
method str - Specifies how IP address allocation is done among pool members.
- description str
- A description of the pool.
- groupnet str
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- ifaces
Sequence[Networkpool
Iface Args] - List of interface members in this pool.
- name str
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3_
rroce_ boolonly - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges
Sequence[Networkpool
Range Args] - List of IP address ranges in this pool.
- rebalance_
policy str - Rebalance policy..
- rules Sequence[str]
- Names of the rules in this pool.
- sc_
auto_ floatunsuspend_ delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc_
connect_ strpolicy - SmartConnect client connection balancing policy.
- sc_
dns_ strzone - SmartConnect zone name for the pool.
- sc_
dns_ Sequence[str]zone_ aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc_
failover_ strpolicy - SmartConnect IP failover policy.
- sc_
subnet str - Name of SmartConnect service subnet for this pool.
- sc_
suspended_ Sequence[float]nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- sc_
ttl float - Time to live value for SmartConnect DNS query responses in seconds.
- static_
routes Sequence[NetworkpoolStatic Route Args] - List of interface members in this pool.
- subnet str
- The name of the subnet. Cannot be modified once designated
- access
Zone String - Name of a valid access zone to map IP address pool to the zone.
- addr
Family String - IP address format.
- aggregation
Mode String - OneFS supports the following NIC aggregation modes.
- alloc
Method String - Specifies how IP address allocation is done among pool members.
- description String
- A description of the pool.
- groupnet String
- Name of the groupnet this pool belongs to. Cannot be modified once designated
- ifaces List<Property Map>
- List of interface members in this pool.
- name String
- The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
- nfsv3Rroce
Only Boolean - Indicates that pool contains only RDMA RRoCE capable interfaces.
- ranges List<Property Map>
- List of IP address ranges in this pool.
- rebalance
Policy String - Rebalance policy..
- rules List<String>
- Names of the rules in this pool.
- sc
Auto NumberUnsuspend Delay - Time delay in seconds before a node which has been automatically unsuspended becomes usable in SmartConnect responses for pool zones.
- sc
Connect StringPolicy - SmartConnect client connection balancing policy.
- sc
Dns StringZone - SmartConnect zone name for the pool.
- sc
Dns List<String>Zone Aliases - List of SmartConnect zone aliases (DNS names) to the pool.
- sc
Failover StringPolicy - SmartConnect IP failover policy.
- sc
Subnet String - Name of SmartConnect service subnet for this pool.
- sc
Suspended List<Number>Nodes - List of LNNs showing currently suspended nodes in SmartConnect.
- sc
Ttl Number - Time to live value for SmartConnect DNS query responses in seconds.
- static
Routes List<Property Map> - List of interface members in this pool.
- subnet String
- The name of the subnet. Cannot be modified once designated
Supporting Types
NetworkpoolIface, NetworkpoolIfaceArgs
NetworkpoolRange, NetworkpoolRangeArgs
NetworkpoolStaticRoute, NetworkpoolStaticRouteArgs
Import
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The command is
$ pulumi import powerscale:index/networkpool:Networkpool pool_test groupnet_name.subnet_name.pool_name
Example:
$ pulumi import powerscale:index/networkpool:Networkpool pool_test groupnet0.subnet0.pool_test
after running this command, populate the name field and other required parameters in the config file to start managing this resource.
Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.