Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.36 KB

File metadata and controls

34 lines (25 loc) · 1.36 KB

BgpIPv4Prefix

The BGP IPv4 Prefix. Deprecated in favour of generic BgpIpPrefix.

Properties

Name Type Description Notes
ipv4_allocation_id str IPv4 allocation ID.
cidr str The IP block in CIDR format.
status str The BGP IPv4 Prefix status. Can have one of the following values: `PENDING`, `BUSY`, `READY`, `ERROR` and `DELETING`.
is_bring_your_own_ip bool Identifies IP as a `bring your own` IP block.
in_use bool The Boolean value of the BGP IPv4 Prefix is in use.

Example

from pnap_network_api.models.bgp_ipv4_prefix import BgpIPv4Prefix

# TODO update the JSON string below
json = "{}"
# create an instance of BgpIPv4Prefix from a JSON string
bgp_ipv4_prefix_instance = BgpIPv4Prefix.from_json(json)
# print the JSON string representation of the object
print(BgpIPv4Prefix.to_json())

# convert the object into a dict
bgp_ipv4_prefix_dict = bgp_ipv4_prefix_instance.to_dict()
# create an instance of BgpIPv4Prefix from a dict
bgp_ipv4_prefix_from_dict = BgpIPv4Prefix.from_dict(bgp_ipv4_prefix_dict)

[Back to Model list] [Back to API list] [Back to README]