cfme.networks.network_port module

class cfme.networks.network_port.All(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of NetworkPortView

prerequisite

This is a helper descriptor for destinations which are linked to an attribute of the object.

For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.

step()[source]
class cfme.networks.network_port.Details(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of NetworkPortDetailsView

prerequisite

This is a helper descriptor for destinations which are linked to an attribute of the object.

For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.

step()[source]
class cfme.networks.network_port.EditTags(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of TagPageView

prerequisite

This is a helper descriptor for navigation destinations which are linked to the same class.

For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.

step()[source]
class cfme.networks.network_port.NetworkPort(collection, name, provider=None)[source]

Bases: cfme.common.WidgetasticTaggable, cfme.utils.appliance.BaseEntity

Class representing network ports in sdn

category = 'networks'
db_types = ['CloudNetworkPort']
fixed_ips

Returns fixed ips (string) of the port

floating_ips

Returns floating ips (string) of the port

in_version = ('5.8', Version('master'))
mac_address

Returns mac adress (string) of the port

network_provider

Returns network provider

network_type
page_name = 'network_port'
quad_name = None
string_name = 'NetworkPort'
class cfme.networks.network_port.NetworkPortCollection(appliance, parent_provider=None)[source]

Bases: cfme.utils.appliance.BaseCollection

Collection object for NetworkPort object Note: Network providers object are not implemented in mgmt

all()[source]
instantiate(name)[source]