X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Fpython%2Frift%2Fmano%2Fyang_translator%2Frwmano%2Fyang%2Fyang_vnfd.py;h=9ff53e2f66e0998899cb9d7f947162ee1d025264;hb=bc183dcd09255cbe61afe64f8543824f2270634c;hp=7449c5a1c6bbaaf1834a887bcec8b59ac6f15dde;hpb=49868d2c71eb364cee9707515be6841a568dad40;p=osm%2FSO.git diff --git a/common/python/rift/mano/yang_translator/rwmano/yang/yang_vnfd.py b/common/python/rift/mano/yang_translator/rwmano/yang/yang_vnfd.py index 7449c5a1..9ff53e2f 100644 --- a/common/python/rift/mano/yang_translator/rwmano/yang/yang_vnfd.py +++ b/common/python/rift/mano/yang_translator/rwmano/yang/yang_vnfd.py @@ -117,7 +117,8 @@ class YangVnfd(ToscaResource): http_ep = {'protocol': 'http'} # Required for TOSCA http_ep[self.PATH] = ep.pop(self.PATH) http_ep[self.PORT] = ep.pop(self.PORT) - http_ep[self.POLL_INTVL] = ep.pop(self.POLL_INTVL_SECS) + if self.POLL_INTVL in http_ep: + http_ep[self.POLL_INTVL] = ep.pop(self.POLL_INTVL_SECS) if len(ep): self.log.warn(_("{0}, Did not process the following for " "http ep {1}").format(self, ep))