python-libmaas icon indicating copy to clipboard operation
python-libmaas copied to clipboard

Unofficial python client library for MAAS

Results 46 python-libmaas issues
Sort by recently updated
recently updated
newest added

This new property allows the client to know in which pod a virtual machine was commissioned (if any). Very useful for building dependency trees between machines.

The problem I'm trying to solve is that I would like to configure the default storage layout for a machine as part of a wider python script. I can see...

The code ``` fabric_10 = client.fabrics.get('1') int_bond1 = machine.interfaces.get_by_name('bond1') int_bond2 = machine.interfaces.get_by_name('bond2') for vlan in fabric_10.vlans: if vlan.vid == 452 or vlan.vid == 453 or vlan.vid == 455: print("Add vlan...

Hi guys! Is it possible to create DNS resources in MAAS with this library? The equivalent of, for example, from the MAAS CLI: maas local dnsresources create fqdn=node.example.org ip_addresses=192.0.2.1 I...

Analgous to the maas CLI maas partition add-tag ) tag=foo When is this useful? When you need to tag a partition to refer to it later, like for creating a...

The python-libmaas API is missing the ability to query by anyting other than system_id in client.machines.list The CLI distributed with maas allows you to read a machine's details with its...

Hi, I was about to implement --pool on maas allocate, when I discovered --zone, --disk, .. is not getting passed to the MAAS API. I've seen this using wireshark. --dry-run...

I'm trying to get information on machines and have found that I can't find a way via libmaas to determine which Pod a machine is on or even which Machines...

The following code fails to work. Package versions: maas 2.6 and python3-libmaas 0.6.4-0ubuntu1~18.04.1. python3-bson 3.6.1+dfsg1-1 ``` maas_client = client.connect(SERVER, apikey=API_KEY) mach_list = maas_client.machines.list() for idx, mach in enumerate(mach_list): print(mach.get_details()) ```...

On maas 2.5.2 It took 40 seconds to load on localhost (for about 100 nodes) The performance is way too bad, I can imagine the total nodes could easily go...

bug
server-side