"""
port_name = Attribute("port_name", "Name of the port",
flags = Flags.Design)
- endpoint_ip = Attribute("endpoint_ip", "IP of the endpoint. This is the attribute "
+ ip = Attribute("ip", "IP of the endpoint. This is the attribute "
"you should use to establish a tunnel or a remote "
"connection between endpoint",
flags = Flags.Design)
flags = Flags.Design)
cls._register_attribute(port_name)
- cls._register_attribute(endpoint_ip)
+ cls._register_attribute(ip)
cls._register_attribute(network)
def __init__(self, ec, guid):
self.create_port()
end_ip = self.ovsswitch.get('virtual_ip_pref').split('/')
- self.set("endpoint_ip", end_ip[0])
+ self.set("ip", end_ip[0])
#Check the status of the OVS Switch
self.ovsswitch.ovs_status()